Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

System Status

I am designing a system which has an element that requires continual monitoring via a RS232 comms line.  The equipment will send an error message whenever a fault occurs.  The testand design of the system utilizes several difference sequences which require this monitoring.  The monitoring is not required by all sequences.  Is there a known way of running the monitoring vi and terminating the appropriate sequence should a fault be detected.
 
I guess that this would be via a connection to the abort line and setting the error message appropriately?
 
Is it possible to setup a parallel thread to a sequence to achieve this.
0 Kudos
Message 1 of 5
(2,907 Views)
Hi

are you using LabVIEW or pure teststand?
In LabVIEW you can run this paralell thread and use the errorline (not abort) to tell the other programs that something is wrong.
greetings from the Netherlands
0 Kudos
Message 2 of 5
(2,896 Views)
Hi sma,
 
You could create a new sequence and call it in a new thread. 
 
Or if you are using LV to execute the code then you can call it asynchronously.  To do this use the Run VI Asynchronously step: Insert Step>>LabVIEW Utility>>Run VI Asynchronously.
 
Regards,
jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 3 of 5
(2,880 Views)
The system employs low level VIs to perform individual tasks (individual tests) and Teststand is used to sequence the implementation of these viis.  Can some provide an example of implementing the asynchronous vi as suggested.
0 Kudos
Message 4 of 5
(2,874 Views)

Here is an example in TS 3.5 and LV 8.2.

Basically you just open the sequence file in TS and click Execute>>Single Pass.  You should see a front panel of the VI running and as well as a message popup.

Regards,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 5 of 5
(2,857 Views)