Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple reset command

I am using Visual Basic 6.0 to write a test program.
My computer is running Windows 2000 Professional
I am using a PCI-GPIB card.
Talking to a Agilent 34970A Digital Multimeter

Would you be able to write me an example of an instrument initialization?

And

Example of sending and receiving the instrument identification "*IDN?"?
0 Kudos
Message 1 of 2
(3,469 Views)
Good Morning JJVerdi!

There is a great example that will show you how to communicate with your instrument over GPIB. The example is called "Basic GPIB" and is usually already installed on your computer at: C:\Program Files\National Instruments\MeasurementStudio\VB\Samples\Instr\Basic GPIB if you have Measurement Studio Installed. If you prefer 488 level commands, check out the examples installed at C:\Program Files\National Instruments\NI-488.2\Languages\Visual Basic and in the attached file.

To initialize your instrument you will simply need to look in the manual and find out what command strings you need to send to the instrument. You should be able to use the attached program to experiment with the instrument to find those commands!

Hope this h
elps out!

Best Regards,
Aaron K.
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,469 Views)