10-29-2013 11:10 AM
Hi,
I am using NI cDAQ 9178 with one of the modules being NI XNET 9862 for CAN. In my application, I need to know exactly when CAN stopped sending frames/signals after the 'wake up' and 12 volts supply to the module were turned off. On the front panel of the VI, the indicators for CAN data freeze as soon as CAN is off. But when I log all the data acquired to a CSV file with timestamps, there is no way to tell. When the communication if off, the last value acquired for all the signals get 'latched' and that's what is logged in the file. Is there a way to get some sort of flag for this?
I have attached images of my CAN related VIs to give an idea about the application.
Any help is greatly appreciated.
10-30-2013 02:19 PM
I don't see any error handing in the Main.VI. Are you performing any error handling that might be able to provide information about communications or update failures?