NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand: Running Multiple LabView vi's simultaneously

I am looking for a way to run multiple VIs simultaneously.. One will serve as an interface, one will log data to a database, and several others will interface with a number of hardware components.
0 Kudos
Message 1 of 7
(4,709 Views)
Hi,

One way would be to run your VI's in seperate executions from a sequence file.
I've attached an example (TS 2.0.1f1 and labview 6.1 ).

The sequences are set so as the MainSequence will not complete until all three sequences are closed.

I have also added in the database.vi addition code encase the user pressed the terminate.

There are additional example on the NI website if you want to set the sequences to 'Do not wait'.



Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 2 of 7
(4,710 Views)
Alright, so then how do I trigger a sequence from within a VI?

Also, when I run the main sequence, it pauses almost immediately.. I have to hit resume to get the 3 vi's to pop up.

--Jordan
0 Kudos
Message 3 of 7
(4,709 Views)
Btw, I had "break at first step" enabled.. Thats why the sequence was pausing.

As for getting a VI to run a sequence, I'm still in the dark.

--Jordan
0 Kudos
Message 4 of 7
(4,709 Views)
Hi,

Not sure if this is what you mean by a VI running a sequence!

You can look at this example for a VI to run a sequence file

http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B45EACE3F08956A4E034080020E74861&p_node=DZ52205&p_submitted=N&p_rank=&p_answer=&p_source=External

Hope this helps
Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 5 of 7
(4,709 Views)
I have tried to run your Vi but it doesn t run. He doesn t found the ctl file
his name is testdata.ctl
0 Kudos
Message 6 of 7
(4,679 Views)
Hi,

You probably find it in TestStand\AdapterSupport\LabVIEW\TestStand.llb

Regards
Ray Farmer
Regards
Ray Farmer
0 Kudos
Message 7 of 7
(4,675 Views)