Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling an Agilent E4426B over GPIB

The "Self-Test" option completes successfully.  In case it's relevant, the "Ready" light on the controller is lit up, but the "Active" light isn't.

0 Kudos
Message 11 of 17
(1,273 Views)

Well that is good news. In MAX is your controller should be listed as GPIB0 (GPIB-USB-HS). Could you get a screenshot of MAX with GPIB Interface Properties in the central window? Do you have a different GPIB instrument you can perform an "*IDN?" request on? At this point, in my view, you either have a setup issue with your GPIB controller or with your instrument. 

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 12 of 17
(1,270 Views)

Here is a screenshot of the settings for the GPIB device: http://i.imgur.com/PzhNfgb.png

On the sig gen itself, its GPIB address is 1, its remote language is SCPI, and its Baud rate is 19200.  I unfortunately do not have a different GPIB instrument to perform anything on; the one I'm trying to mess with is not in use, and I don't want to risk working with the ones that are.

 

 

0 Kudos
Message 13 of 17
(1,268 Views)

You could try a newer version of the GPIB driver. I'm running 488.2 2.81 on a Windows 7 machine and it works fine. Without being able to confirm operation with either another instrument or a different computer with your present instrument I'm kind of out of ideas. 

Now Using LabVIEW 2019SP1 and TestStand 2019
0 Kudos
Message 14 of 17
(1,263 Views)

We did get it working; we daisy chained 2 of the sig gens together and plugged the GPIB-USB adapter into the cable, and now both instruments show up in NI Max.  I don't know why the single generator didn't show up before but they're both showing up now so we're just going to leave it as is.  Thanks for all your help.  If anyone does know what command should allow us to edit frequency or amplitude it'd still be appreciated but now I can at least test commands myself.

0 Kudos
Message 15 of 17
(1,250 Views)

Make sure to set the Remote Language to SCPI and have it saved as preset.

Utility > GPIB/RS-232 > Remote Language > SCPI
Utility > Power On/Preset > Save User Preset

or

Utility > Power On/Preset > Preset Language > SCPI

 

 

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 16 of 17
(1,247 Views)

It defaults to SCPI and I've yet to change it.  Anyway, I finally figured out how to set both frequency and amplitude through the GPIB interface. It was much easier to troubleshoot with the sig gen actually connected to the computer.

0 Kudos
Message 17 of 17
(1,244 Views)