06-10-2021 02:33 AM
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?
07-06-2021 12:35 AM
Hi, You need to write your own trace tool for it.
07-07-2021 03:22 PM
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
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord