Re: Time Shareing One GPIB Spectrum Analyzer (HP6562A) Between Two VI's.

2004-02-10 Thread albert geven
An easier method than locking is to build a higher level vi that handles complete commands (writing and reading) to the analyzer. In this way labview will automatically schedule the first caller and put the second (or more) caller on wait. This synchronisation is perfect for such an application.

Time Shareing One GPIB Spectrum Analyzer (HP6562A) Between Two VI's.

2004-02-09 Thread Kandrew
I have two test stations that need to share a Spectrum Analyzer. I've set up a boolean flag to indicate when one VI is accessing the equipment and the Second VI waits until the flag goes false. My problem occurs evey once in a while when both VI's try to Accress the test equipment at exactly the

Re: Time Shareing One GPIB Spectrum Analyzer (HP6562A) Between Two VI's.

2004-02-09 Thread Dennis Knutson
I would suggest that you look at the shipping example called Locking.vi. It uses the VISA Lock and VISA Unlock functions to control access to a single resource. The example shows how it works in a single VI but as the text mentions, it would typically be used in two separate ones.