11-27-2025 10:53 PM
Hello everyone,
I am transmitting data over CAN using LabVIEW. My requirement is to configure the transmission in cyclic mode, so that even if the LabVIEW code is stopped, the CAN bus continues sending data.
Currently, I am using Frame Out Stream, and I have also tried Frame Out Single‑Point. However, when I stop the CAN code and power cycle my UUT, I no longer see CAN data being transmitted.
Could you please suggest what can be done to achieve this requirement? Any guidance or examples would be greatly appreciated.
Thanks in advance!
11-28-2025 12:06 AM
Which model of NI-XNET hardware are you using?
What is the purpose of continue sending the frames after stopping the LabVIEW?
11-28-2025 12:18 AM
Hi,
I am working with the NI USB‑8502 XNET CAN interface.
The reason I need the frames to continue transmitting even after LabVIEW has stopped is because we are performing a Loss of CAN test, which requires CAN data to be sent continuously.
11-28-2025 02:38 AM
I don't understand how a loss of CAN test requires a continuous transmission instead of stopping the transmission.
Anyway, the moment you stop the LabVIEW code, all XNET sessions are cleared automatically. Any specific reason you must stop the LabVIEW code and can't design a state machine such that you can pause other operation but keep CAN going?