10-29-2008 10:48 AM
Hi.I´m kind of a newbie on Teststand,and i wonder if its possible to run a CAN Communication Labview VI that I made, in the background of a teststand application.
I´m testing a ECU/mobil controller, with CAN open communication,I must be abel to watch some pdo bits at all time during the test (I/O alarms short/open circuit).
During the test I planing to send some commands via the CAN interface ,and also read various pdo´s and evaluate the result (pass/fail or numeric and more).
I have tryed to place my CANCom vi in a sequence that i call att the begin of the main seq. But the there it hangs ,probably becuse of the while loop in the vi. that reads
the communication.I wonder if it my help to make the vi.a func.global variabel but i do not know if this will help me read the can com at all time during the test..
Is there any closely related exampels available out there..? Our have you made some test seq that seems to be close to what i want to do.?
Please tell me... I´m starting to get a bit frustrated!
My Config is LabView8.5 and Teststand 4.1
CAN hardware is a Kvaser leaf semipro USB dongel.
10-29-2008
06:48 PM
- last edited on
10-20-2024
02:21 PM
by
Content Cleaner
Hi Niny,
It sounds like you need to run your CAN Communication VI in a subsequence its own thread. This will allow execution to continue past your sequence without the VI finishing execution.
For information on running a sequence in a new thread check out the TestStand Help: Sequence Call Module Tab (see the Execution Options bullet).
Hope this helps!
Evan Prothro
RF Systems Engineer | NI