11-13-2020 03:23 AM
Hi all
I'm a newbie for teststand and build a simple parallel demo as snippet,why can't both show four interfaces and finished has issue with it,It's appreciated for you help,thanks!!
Solved! Go to Solution.
11-17-2020 03:10 PM
I guess it's not exactly clear what your goal here is.
I looked at your code and it looks like you never actually "lock" your lock.
You need to lock it. You are creating it but not locking it. I recommend changing that step to a lock and then check the create lock if does not exist box.
What four interfaces do you expect to see? If you are locking then you would only see one at a time.
11-19-2020 01:28 AM
Hi Jigg
Thanks for your reply,I have modified it, it still can't both run four vi in windows,where need to change and if wrong in this code,my purposed is both show four vi in same time,thanks!!
11-19-2020 10:10 AM
You need to change your VI to be re-entrant. If it's not re-entrant (which is what you have it set to now) only one instance can exist in memory.
To change this, on your VI go to the VI Properties (Ctl-i)
Then select the Execution category
Then select the "Shared clone reentrant execution" option
Also, I noticed you need to connect your sequence context. Just set it to ThisContext.
Hope this helps,