07-23-2014 09:28 AM
Hi,
I want to run self-test (or measurement) of 2 separate LXI instruments (Agilent) concurrently. When I use parallel model or "Use a new thread" (or use new execution) option for sequence call, it performs sequently self-test of first instrument and then self-test of second instrument. It seems like one driver blocks another. Common for all instruments are LXI and VISA. However I tried to use 2 threads in CVI (using CmtScheduleThreadPoolFunction function) and it worked fine and also I launched two instances of Teststand and it worked as well. Any ideas where the problem is?
Thanks in advance,
Ondrej
07-23-2014 09:35 AM
Ondrej,
Are you using a LabVIEW VI to communicate with the devices? If so, is it possible that the VI is set to be non-reentrant? If you are using the same VI for both instrument calls, and executing the VI with the LabVIEW Run-Time Engine adapter, and the VI is set to non-reentrant execution, it would explain the behavior you are seeing.
07-23-2014 09:47 AM - edited 07-23-2014 09:48 AM
Daniel,
I am using IVI-C drivers written in CVI, no LabView VI's.
Ondrej
08-07-2014 05:55 AM - edited 08-07-2014 05:55 AM
Hi Ondrej, since this is quite an unusual request let us please continue discussion over e-mail and close this forum post, not to duplicate work.
08-07-2014 06:53 AM
Ok, close this post, please. I don't see any option how to do that.
Thank you,
Ondrej