LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I send Soft Key Commands Through GPIB to an • Agilent 8753D Network Analyzer

I need to automate a manual process on an Agilent 8753D Network Analyzer.  Most of the actions are via the soft keys.

The measuremnts are simple.   Set marker to X MHz. measure marker

I cant find examples of how to send Soft Key commands VIA GPIB to the analyzer

I have a library of the commands just no idea how to communicate

 

0 Kudos
Message 1 of 11
(3,691 Views)

Hi RBlair,

 

most often you will find the needed commands in the programming manual of your Agilent device.

Did you read it?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 11
(3,686 Views)

Thank you

I have the commands from the manual

it is the simple part that is confusing me

 

How do I actually connect to then send the command to the unit

It has to be a simple communications object

I just can't find it

 

0 Kudos
Message 3 of 11
(3,682 Views)

Hi RBlair,

 

you wrote you want to use a GPIB connection.

If this still is the case you should use VISA functions…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 11
(3,679 Views)

Have you downloaded the instrument driver for the Agilent 8753D?

 

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=0470F4B7B0D65044E0440003BA7CCD...

 

Most of the drivers come with examples that show how to communicate, setup, and take basic measurements. 

 

 

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 11
(3,668 Views)

I had not downloaded the driver 

and this was a huge help 

 

Thank you both

 

Best Regards

Ron

 

0 Kudos
Message 6 of 11
(3,658 Views)

I am able to connect to the Agilent 8753D

the drivers and examples they had don't work with the 8753

I am now working on doing it the hard way

Sending soft key commands

 

It may be a formatting issue

I cannot find a document that shows how to send soft key commands through GPIB to an Agilent 8753D

 

Any advice would be greatly appreciated

 

I thought the command for pointing to Marker 1 was MARK1

and the command for querying the setting was MARK?

 

 

0 Kudos
Message 7 of 11
(3,599 Views)

I have never used that scope so I don't have any direct advice but, on the scopes I have used, anything I could get on the screen I could to through the interface (GPIB,USB, whatever) using the SCPI commands. You don't send soft keys, you send SCPI commands using VISA writes to set up the scope and request the measurements you want.

 

Also one thing I have done was to manually set up the scope to take the measurements and waveforms I want and save that setup on the scope. Then use the LabVIEW to recall that setup or other pre-stored setup each time. This works really well for other people too because a lot of time we will do the same test conditions but move the scope to different points. They can play around with the scope to get exactly what they want and call out the new setup file without me having to change anything in the program.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 8 of 11
(3,589 Views)

thank you 

I am writing a test program for running these and will publish it once I get it running

 

0 Kudos
Message 9 of 11
(3,567 Views)

I created a program that would let me send the Raw SCPI commands (attached)

It might be syntax

 

I looked up the programming document that shows the old 8753 commands compared to the new E5070B commands

The 

I can send :MARK1 which should activate Marker 1 and move to its designated position

then I send :OUTPUTMARK to read the value of the active Marker

 

It hangs on the VISA Read function

Which tells me that I have not actually set MARK 1

I would Imaging that the active Marker would show on the display after a successful MARK1 command and it does not

 

Are these sub commands that need headers?

I tried sending MARKER:MARKER1 and it did not help

 

 

 

 

0 Kudos
Message 10 of 11
(3,562 Views)