02-19-2024 09:08 AM
I have actually a VI which allows me to modify dynamically the baudrate of an XNET-Session (see capture)
I try to implement this VI in a Veristand Custom Devices, but i can't recover the ref of the xnet session to stop/start the session with anther baudarte.
In fact, I simply don't know if it's possible to obtain the reference of an xnet session in use on Veristand.
Sincerely
02-19-2024 05:41 PM
@Antoine_6800 wrote:
In fact, I simply don't know if it's possible to obtain the reference of an xnet session in use on Veristand.
Unfortunately, it is not possible to retrieve the session of native XNET implementation on VeriStand.
You would need to implement the entire XNET custom device on your own. You can refer to GitHub - NIVeriStandAdd-Ons/CAN-Frame-Protection-Custom-Device or GitHub - NIVeriStandAdd-Ons/CAN-Gateway-Custom-Device
02-20-2024 01:45 AM
Thank you for yoiur answer. My question is : can the dbc baudrate attribute be modified dynamically in a custom device ?
02-20-2024 06:05 PM
You need to stop and restart the interface to change the baud rate, even if it is from dbc file. The native XNET implementation does not allow you to change the baud rate after deployment.