10-01-2012 12:53 PM
I have developed a VI to provide LabVIEW 2011 SP 1 control of an Agilent N9020A Series MXA spectrum analyzer on a GPIB network with a GPIB-USB-HS interface. During operation, I would like to be able to pause the VI and switch to local control (N9020A instrument front panel control) for making "on-the-fly" measurements. After these "on-the-fly" measurements are completed, I would like to resume the LabVIEW VI back at the point where it was exited. I have not found any Agilent LabVEIW drivers or functions which performs these operations (switch from LabVIEW remote control to instrument local control and vice versa). Any suggestions would be appreciated.
Regards,
Paul
10-01-2012 01:09 PM
There should be a SCPI command to put the instrument in Local mode. Once you do in your VI, display pop-up button which would wait until the user clicks OK button when they are ready to continue on with the LabVIEW program.
10-01-2012 01:18 PM
That is actually a GPIB control line that you need to play with. Look at this function: VISA GPIB Control REN