From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Subsequence in New thread blocks Main thread

I have a async VI that runs parallel with TS program in a subseq. I'm calling the subsequnce in a New thread from the Main sequence. I also have a DMM subsequence that runs without any problem following that. But If I were to place a break point in any of the steps in DMM subseq, the program no longer runs and the resume and step icons are disabled. The program resumes when I stop the VI  running parallely.  Is this is a problem with the VI?NoResume.JPG

Sequences.JPG

 

 

 

The same situation does not occur if I call the parallel VI in an action step in main sequence using Start Asynchronous Call node. 

0 Kudos
Message 1 of 2
(2,284 Views)

Please post your code instead of a screenshot. Without seeing what you are doing, we can only wildly speculate on what is going on.

One question: Do you use the same VIs in the both threads?

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 2
(2,257 Views)