Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB read and write commands for Agilent 54642A oscilloscope

Solved!
Go to solution

Dear Friends,

 

I would like to aquire a waveform from Agilent 54642A ocsilloscope into the LabView 7.1 programme via GPIB. Can anyone mention the GPIB read and write commands for the same oscilloscope???

 

Further, regarding the LabView programme, is it correct to place two GPIB write blocks followed by a single GPIB read block (All serially), along with an indicator, in order to check the waveform in LabView???

 

Kindly help me with your answers...

 

Looking forward to it...

 

Thanks a lot in Advance..

 

Neelesh

0 Kudos
Message 1 of 8
(6,111 Views)

You can download a driver from this page

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

 take the projectstyle driver.

 

the answer to your questions is yes:

but look how a driver makes live easier.

greetings from the Netherlands
0 Kudos
Message 2 of 8
(6,101 Views)

Dear Friends,

 

I am hereby attaching a labview file for acquiring  a waveform from Agilent 54642A oscilloscope to labview. But the program does not function correctly and therefore i am not getting the waveform in the labview. Can anyone modify the program and send me the correct one or send me some useful comments. The address and the command are already given in the program.

 

Further, can anyone tell me how to integrate a waveform in Matlab??I  mean I have a waveform of arbitrary shape at the input and I want its integrated value at the output of Matlab. So I dont have the function like y=sin wt or cos wt.

 

Kindly reply me ASAP. It is urgent.

 

 

0 Kudos
Message 3 of 8
(6,003 Views)
Solution
Accepted by topic author Neelesh
Download the 7.0 driver that Albert gave the link to, make sure you have NI-VISA installed, and run the Getting Started example that is part of the driver. If that does not work, provide details on any error codes that are reported.
Message 4 of 8
(5,993 Views)

Hi

 

Simply add all the values of the waveform and multiply with delta-time or multiply each value with its timespan and add afterwards.

And I hope you mean LabVIEW instead of matlab... 🙂

 

greetings from the Netherlands
0 Kudos
Message 5 of 8
(5,987 Views)

Dear Friends,

 

I would like to know if you have a similar vi for Agilent 54825A ocsilloscope, for you know, it is an old instrument, and it does not support USB software supporting, and is difficult for read.

 

thanks.

 

SHift

0 Kudos
Message 6 of 8
(5,601 Views)

You should really start a new thread instead of posting to one about a different instrument.

 

All you have to do is go to the  LabVIEW Tools menu and select Instrumentation>Find Instrument Drivers and enter the model number. You might also want to bookmark the Instrument Driver Network where you can start your search and find links on what a driver is and how to use one.

 

p.s. A driver for that instrument does exist, it's not really that, and compared to some instruments. not that hard to make work at all.

0 Kudos
Message 7 of 8
(5,595 Views)

Think you

I have found the software.

0 Kudos
Message 8 of 8
(5,571 Views)