Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

[GPIB] Capture data without sending to remote

Hello,

I am not sure if this is question related to GPIB communication generally or just only to the device we use. My task is to capture continuously trace from Ando AQ6315 optical spectrum analyzer. The problem is that when I start program capturing the device goes automatically to remote state. When I stop the capturing I can send it programmatically back to local state, it works fine. But when user wants to use the device during capturing he has to push the local button on the device to send it to local manually. But because the capturing stil continues it goes immediately to remote state again (next sent command causes remote status). I could in my program of course check status of the device and when user pushes the local button on the device I could stop capturing. But before I will do it I would like to know if there is some way how to capture data from GPIB device without sending it to remote state and thereby let the user use functions of the device when capturing.

Thanks for any advices
LV 2011, Win7
0 Kudos
Message 1 of 3
(3,622 Views)
To go to remote is the logical step, because the instrument is addresed from a remote system.
Your option on checking on remote only works correctly via a serial poll that read the status without issuing a command.
Maybe you can set the status  bits via status enable registers such that this works.
Otherwise make a button on your pc to disable the capturing and send a local command.
this is much easier to do.


greetings from the Netherlands
0 Kudos
Message 2 of 3
(3,618 Views)
OK. I think I will follow your advice. Thx a lot!
LV 2011, Win7
0 Kudos
Message 3 of 3
(3,610 Views)