Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I pause an executable to run a vi that uses the same equipment?

I have multiple projects going on with limited equipment (don't we all). I have a continuous project going on and a few projects that I only run occasionally. If I pause the continuous project (its an executable) can I run a separate vi without consequences? All my projects use the same equipment. This is an instrument sharing issue.
0 Kudos
Message 1 of 2
(3,005 Views)
Yes you can use, but you've got to be carefull not to reuse a refnum that was open by the paused program. If you are using intruments drivers, when you pause the program, the same will have to run the "close" function of the instrument, and when it returns from that paused state, you will have to open the automation refnum (initialize command) again.
0 Kudos
Message 2 of 2
(3,005 Views)