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: 

Reading data from hp8902a

Hi,
I'm using Visual basic 6 & NI-GPIB card to control hp8902a.
Setting the hp8902a using ilwrt is fine but when I use ilrd to read the data,I always get a timeout.This problem also occur when I use NI488.2 Communicator.

I noticed that this site do provide hp8902a instrument drivers for labview.

Since I don't use labview,some VB code to would be helpful.

Thanks.
0 Kudos
Message 1 of 2
(3,100 Views)
Make sure that you are using commands that the instrument understands. Can you communicate using VISA Interactive Controller? There are some troubleshooting techniques and installation procedures listed at the website below.

http://www.ni.com/support/gpib/

You may find the Knowledge Base links below useful for using Visual Basic Examples and Language Interfaces.

http://www.ni.com/support/gpib/langint/vbib_il.htm

http://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/862567530005f09c852563d9006d0885?OpenDocument

There are many instrument drivers at the following website.

http://zone.ni.com/idnet/

If you can find IVI instrument drivers, you can use them in Visual Basic. There is a Knowledge Base (link below) that describes the process.

htt
p://ae.natinst.com/operations/ae/public.nsf/fca7838c4500dc10862567a100753500/ceecfcbf5015ab6f862568a100640eb0?OpenDocument

Kim L.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,100 Views)