LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Baudrate Custom Devices

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

 

Antoine_6800_0-1708355232547.png

 

0 Kudos
Message 1 of 4
(408 Views)

@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

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 2 of 4
(364 Views)

Thank you for yoiur answer. My question is : can the dbc baudrate attribute be modified dynamically in a custom device ?

0 Kudos
Message 3 of 4
(350 Views)

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.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 4 of 4
(320 Views)