Contact an Expert

Thread: PNA-X: SCPI command to activate Monitor GPIB Bus


Permlink Replies: 4 - Pages: 1 - Last Post: Sep 27, 2011 3:33 PM Last Post By: andyTPE
andyTPE

Posts: 128
Registered: 10/12/10
PNA-X: SCPI command to activate Monitor GPIB Bus
Posted: Sep 27, 2011 2:32 PM
Click to report abuse...   Click to reply to this thread Reply
Hello PNA Users,

I have trawled through the help file, but cannot seem to find what I am after.

Is there any way to programmatically set the following via SCPI:

Monitor GPIB Bus
Show GPIB Bus Monitor Window

I am running A.09.33.09 but looked into the 09.42 help and did not see anything there either.

(These accessed from the UI from Utility->System->Configure->SICL/GPIB/SCPI).

Thanks

Andy
acannon

Posts: 113
Registered: 01/10/06
Re: PNA-X: SCPI command to activate Monitor GPIB Bus
Posted: Sep 27, 2011 2:51 PM   in response to: andyTPE in response to: andyTPE
Click to report abuse...   Click to reply to this thread Reply
there is no command to date to turn on the scpi monitor.
andyTPE

Posts: 128
Registered: 10/12/10
Re: PNA-X: SCPI command to activate Monitor GPIB Bus
Posted: Sep 27, 2011 3:16 PM   in response to: andyTPE in response to: andyTPE
Click to report abuse...   Click to reply to this thread Reply
Thanks Andrew - do you know if there are any plans to include it?

For me the usage model is as follows:
* I have a big library of PNA code that manages the config and measurements on the PNA
* Would be very helpful to have a flag that can toggle the monitor on/off, to capture PNA traffic, without having to manually intervene to set the monitor state from the UI
* I can use the monitoring tools supplied with the vendors VISA, but typically these do not dump out friendly data formats (e.g. Agilent IO dumps an xml file that is best viewed with the viewer, no IO libs, difficult to view)

If you can sneak it in to a firmware spin, it would be great

Andy
daras


Posts: 884
Registered: 12/01/05
Re: PNA-X: SCPI command to activate Monitor GPIB Bus
Posted: Sep 27, 2011 3:30 PM   in response to: andyTPE in response to: andyTPE
Click to report abuse...   Click to reply to this thread Reply
I am going to let you in on a secret but if you decide to use this information you have to be aware and abide by the following disclaimer:

DIAG commands are not officially supported. Agilent reserves the right to alter or discontinue any DIAG command at any time without notice. we will not provide support or be responsible for any external program that relies on DIAG commands.

if you can live with the disclaimer above, then the code for turning on and turning off the GPIB monitor is the following:


Turn on monitoring: "DIAG:BUSM:STAT 1"
Turn on the window: "DIAG:BUSM:WIND 1"
Stop Monitoring: "DIAG:BUSM:STAT 0"
Turn off the window: "DIAG:BUSM:WIND 0"
andyTPE

Posts: 128
Registered: 10/12/10
Re: PNA-X: SCPI command to activate Monitor GPIB Bus
Posted: Sep 27, 2011 3:33 PM   in response to: andyTPE in response to: andyTPE
Click to report abuse...   Click to reply to this thread Reply
Thanks Dara!

I will swallow the disclaimer whole.

Thanks again

Andy

Point your RSS reader here for a feed of the latest messages in all forums