LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple code for HP34401A

I am a beginner to write LabView. I want to control HP34401A(old unit) via GPIB-USB cable(82357A), and using Labview v8.0. My problem is cannot access device(no any respond).  

 

Please give me a simple code to demonstrate “*IND” or “RST”. Thanks

0 Kudos
Message 1 of 10
(5,948 Views)

Hey,

Under LabVIEW just go to Tools>Instrumentation>Find Instrument Drivers and search for HP/Agilent 34401A. There you will get automatically installed an instrument driver into your functions palette.

BR, Christian

0 Kudos
Message 2 of 10
(5,931 Views)

Christian

Thanks for your infomation. Yr. advise has try before, but not success. Also, it seem a part of VI. Is it stand alone operate? In old LabView 6 or 7, they have HP34401A Getting Start.VI, but I can't see "Aglient 34401A Getting Start" in V8.

 

Could you share yr code to me which is work in yr side?

 

BR

 

LC

0 Kudos
Message 3 of 10
(5,923 Views)
Have you tried to communicate with the 34401A using Measurement & Automation Explorer (MAX)?

If you can't scan the GPIB bus and see the instrument from MAX, you won't be able to see it from LabVIEW.

You mentioned a USB-GPIB interface. If this is not an NI device you may need to install drivers for your USB-GPIB device; http://forums.ni.com/ni/board/message?board.id=140&message.id=16770

0 Kudos
Message 4 of 10
(5,910 Views)
For LabVIEW 8 there is no "Getting Started" VI for the Agilent 34401 driver that gets installed when you install LabVIEW. The "Initialize" VI that's included does perform an ID query and a reset, so you can use this to verify communication within LabVIEW. You should, however, follow Phillip's advice and check to make sure the device can be seen in MAX first.
0 Kudos
Message 5 of 10
(5,894 Views)

Phillip Brooks & Smercurio_fc

 

Thanks for your comment. It is nine to meet you.

 

I remember one thing that Aglient GPIB-USB cable is using not NI. Is it problem in linking between PC to GPIB cable? But in Aglient IO control has see the device. For this issue, how can I verify it. Is it possible the “Aglient IO control” affected it?

 

Please let me know your advice.

0 Kudos
Message 6 of 10
(5,874 Views)
Phillip Brooks & Smercurio_fc
 
I have check with Aglient IO Control to access device. It is success.
 
But using LabView still not work, what missing. The "Agilent IO Libraries Suite 15.0" has been installed.
 
Please help me.
 
 
0 Kudos
Message 7 of 10
(5,857 Views)
Phillip gave you a link and in that link, there is a reference to a KB article. Did you read that? Did you enable tulip support?
0 Kudos
Message 8 of 10
(5,841 Views)
It seem beginning to work. After to active "Enable Agilent GPIB card for 488 programs" in Agilent Connection Export Option"
 
But It still check detail.
 
0 Kudos
Message 9 of 10
(5,836 Views)
Thankyou all
 
After checking, my PC able to access device.
0 Kudos
Message 10 of 10
(5,828 Views)