Hey Tim,
I have written a small example that demonstrates how to use NI-CAN with
TestStand. The main thing I would recommend is have one
step that opens the CAN connection and pass the connection reference (I
believe it's called an object handle in LabVIEW) back to TestStand and
store it in a local variable. You can then create several
different steps that read or write using that same connection
reference. Then when you are done, make a step that closes the
connection. The example below demonstrates this. It is
built from the CAN receive.vi and the CAN Transmit - Event Based.vi
from the LabVIEW example finder. Let me know if you still have
more questions.
Pat P.
Software Engineer
National Instruments