LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read from two channels?

Hi there. I have a dumb question about labview.

I wonder how I can read from two channels of an osilliscope? another
question is, what I read from GPIB address is string or data?

thank you!

redoo
0 Kudos
Message 1 of 5
(2,525 Views)
You're going to have to be a little more specific in your question. What kind of scope? What driver are you using? Do you want to read a waveform or measurement? As an example, if you're using the IVI scope class driver, to return a waveform, you use IVIScope Read Waveform.vi once for each channel. It returns the waveform as an array of DBLs. If you're using a low level VISA read, the data comes across the bus as a string. Any conversion to numeric data you'll have to do yourself and will require studying the instrument manual to understand the format.
0 Kudos
Message 2 of 5
(2,525 Views)
Thanks! I guess I'm even new in asking questions. 😛

My osilliscope is Tektronix 520 and Tektronix 684B. what driver do you
mean? I need a driver to use the osilliscope? What I want to read is a
waveform about 100 ns long.

thank you.
0 Kudos
Message 3 of 5
(2,525 Views)
Hi

You can download more than 1600 Instrument drivers from the NI website. When you install a driver you have different VI's (special for your instrument) and with them you can programm your instrument. Each driver has always a getting started VI. With it you can check the features of the instrument from LV.
On this site you will find the ID for your oscilloscopes: http://search.ni.com/query.html?lk=1&col=alldocs&nh=500&rf=3&ql=&pw=595&qp=%2BContentType%3AInstrumentDriver+%2BIDNetInstrumentType%3A%22Oscilloscopes%22+%2BIDNetManufacturer%3A%22Tektronix%22&qt=&layout=IDNet
Regards,
Luca
0 Kudos
Message 4 of 5
(2,525 Views)
Thanks! I found them. 🙂

but they don't have 684B. Instead, i found 684 and 684A. I'll try both.

redoo

"mustang"
??????:506500000005000000A7760000-1019262487000@exchange.ni.com...
> Hi
>
> You can download more than 1600 Instrument drivers from the NI
> website. When you install a driver you have different VI's (special
> for your instrument) and with them you can programm your instrument.
> Each driver has always a getting started VI. With it you can check the
> features of the instrument from LV.
> On this site you will find the ID for your oscilloscopes:
>
http://search.ni.com/query.html?lk=1&col=alldocs&nh=500&rf=3&ql=&pw=595&qp=%
2BContentType%3AInstrumentDriver+%2BIDNetInstrumentType%3A%22Oscilloscopes%2
2+%2BIDNetManufacturer%3A%22Tektro
nix%22&qt=&layout=IDNet
0 Kudos
Message 5 of 5
(2,525 Views)