LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-Xnet: start / stop trace recording automatically

Hi!

 

I have a setup where LV communicates with devices via a NI XNet LIN interface, and would like to record a trace of the entire communication.

The XNet Busmonitor would be the correct tool, but... it can't be started and stopped automatically.

 

The point is, there is a strange behavior for a few of about 1000 devices per day, which I want to track down. Therefore, I want to start a trace when a new device is connected, stop it when it's disconnected, and then decide to keep or delete the trace.

 

I don't want to write my own trace tool for this. Is there anything ready to use, so I just have to start/stop it?

0 Kudos
Message 1 of 3
(1,391 Views)

Hi,  You need to write your own trace tool for it. 

0 Kudos
Message 2 of 3
(1,301 Views)

If you search the NI Example Finder in Help >> Find Examples, there is a couple of examples used as a starting point.  I found one named CAN Input Stream to TDMS Logfile.vi

0 Kudos
Message 3 of 3
(1,293 Views)