From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use Lab view 2015 and 82357B (USB-GPIB cable) to get data from HP3562A?

I want to use Lab view 2015 and 82357B (USB-GPIB cable) to get data from HP3562A, I am a new hand, so I want to share what I have done and hope can get some help.

 

Since HP 3562A is made before or in 1985 so that it can not support 488.2 (when I query *IDN?, will get a timeout error) I also made a simple survey:

      1975, IEEE standardized GPIB as IEEE 488.

      Revised firstly in 1978, is IEEE-488-1978.

      Revised in 1987, is IEEE-488.1 (IEEE-488.1-1987).

      1987, IEEE introduce IEEE 488.2, revised in 1992.

So, I think hp 3562a should follow the earliest 488 protocol.

QQ截图20160927191710.png

                                                                                       Agilent IO can find HP3562A

QQ截图20160927192848.png

                                                                                           MAX can find HP3562A

 

Since Hp3562A is too old that I can not find it's driver any more. I simply write a program and try to get communication in Lab View with Hp 3562A.

QQ截图20160927191934.png

When I run the program, the error 0 will happen. I also put the picture from MAX, I already installed the driver (actually I installed all the drivers just in case).

QQ截图20160927192012.png

 

QQ截图20160927193003.png

 

 

But the way, I also have a old computer with labview 5.1. It use PCI-GPIB to connect with HP3562A successfully. Below is the part of the program.

QQ截图20160927193430.png

 

 

0 Kudos
Message 1 of 8
(4,228 Views)

Hi Peter,

 

don't use those old and obsolete GPIB function anymore! Use VISA instead!

 

You use an Agilent USB-GPIB-converter: this part of hardware does NOT cooperate with those old GPIB functions. They are mainly made to use NI hardware. The VISA functions instead are more versatile and can also communicate with (properly installed) 3rd party hardware…

 

Additional notes:

Why are there so many coercion dots in your VI snippet?

Why is there no explicite DATAFLOW in your snippet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 8
(4,200 Views)

Thanks for you suggestion.

 

I use VISA functions to simply write another program.

QQ截图20160928111103.png

But when I run it, it shows

QQ截图20160928111152.png

 

But is MAX, it already can detect GPIB0::10::INSTR (33220A). I am thinking that it can show in MAX means that it was configured by Lab View. 

QQ截图20160928111341.png

0 Kudos
Message 3 of 8
(4,182 Views)

Continue that conversation in the thread you already started on that topic.

 

http://forums.ni.com/t5/LabVIEW/The-pop-up-menu-of-VISA-resource-name-comes-nothing-except/m-p/33518...

Message 4 of 8
(4,176 Views)

You can try this driver:

 

Agilent Technologies / Keysight Technologies 3562A

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=145

 

National Instruments doesn't support it but it is listed as compatible for 2015 so it may take care of some of the incompatibilities you're seeing.

Austin
Staff Software Engineer
NI
0 Kudos
Message 5 of 8
(4,146 Views)

hi peter 

Did you find the solution for the same. If yes please do share . I am also facing the same problem while connecting Agilent PNA with LABVIEW 2018 using 82357B GPIB-USB converter. 

Thank you 

Shubham

0 Kudos
Message 6 of 8
(3,021 Views)

In order to use the Keisight hardware in LabVIEW or NI-MAX you have to configure the VISA software properly to use NI and Kesight VISA drivers.   Please refer to this solution - https://forums.ni.com/t5/Instrument-Control-GPIB-Serial/Agilent-usb-GPIB-82357B-is-not-shown-in-NI-M...

 

Before you start make sure you install the latest version of Kesight I/O library supported by your OS.  Then follow the steps in the documentation linked to above.  Then reboot, even if its not mentioned..

 

Craig

0 Kudos
Message 7 of 8
(3,007 Views)

For HP/Agilent/Keysite USB-GPIB you need to make sure the NI-VISA Passport for TULIP is enabled (it is disabled by default)

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