NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Multithreading

I have created a project in CVI to control my application (apps.dll & apps.lib) which in turn calls the third party comport drivers(comport.dll). I need to run this application in the TestStand with 8 threads in parallel. My question is when I do the multithreading in the TestStand I will be calling the apps.dll functions which in turn calls comport.dll.
 
Can I run it just like that in the TestStand? Will the TestStand create the distinct application space for each thread?
 
Thank you,
Hiren
Hiren Patel
0 Kudos
Message 1 of 3
(4,236 Views)
Any comments on this from anybody???
Hiren Patel
0 Kudos
Message 2 of 3
(4,164 Views)

It isn't completely clear what you are asking. If you are asking if TestStand threads are actually separate operating system processes, the answer is no. They are standard operating system threads that exist within the same process.

One thing to note is that if you use the LabWindow/CVI adapter to call a code module and you have the Configure>>Adapters>>LabWindows/CVI Configuration>>Execute Steps in an External Instance of CVI option checked, then the CVI code you call runs in a separate process CVI process (to facilitate debugging), no matter what TestStand thread calls it. If it is important that this does not happen, make sure this option is not selected.

 

 

0 Kudos
Message 3 of 3
(4,159 Views)