From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

HP5334B: Please I need urgently an example code in visual c++ or some instructions to control this instrument via GPIB. NI-MAX is useless.

I'm trying to communicate with the HP5334B with NI-MAX but it's useless. The instrument work well manually, maybe it's not IEEE-488.2 compatible. NI-MAX work well because I'm already communicating with others HP-Agilent's and Fluke's instruments. So I need urgently some example codes or instructions to communicate with the HP5334B. Thank you very much.
0 Kudos
Message 1 of 4
(3,513 Views)
Your should first test your device's GPIB port to make sure it is activated.
Use IBIC
http://www.ni.com/support/gpib/max/ibic.htm/
If the ibln command returns true then it is on, if it returns false then you need to activate it manually.

This instrument does not respond to *IDN?, but you can send this command to reset and query the device in IBIC:
IN,SM0\r\n
For other commands, refer to your instrument's user manual or contact Agilent.

There is also an instrument driver for this instrument located here:
http://search.ni.com/query.html?lk=1&col=alldocs&nh=500&rf=3&ql=&pw=595&qp=%2BContentType%3AInstrumentDriver&qt=5334&layout=IDNet
0 Kudos
Message 2 of 4
(3,513 Views)
Thank you, but I have already solved my problem about this instrument using IBIC and visual c++. Thank you the same.
Marco
0 Kudos
Message 3 of 4
(3,513 Views)
Thank you, but I have already solved my problem about this instrument not using IBIC, but only visual c++. Thank you the same.
Marco
0 Kudos
Message 4 of 4
(3,513 Views)