LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP! (how to acquire two channels via gpib?)

Hi,

I have the following problem:
I have a LeCroy 4 channel OS connected via GPIB to my PC.
I need to acquire 100ms of data from two channels simultaneously, triggering
the event with a third channel.
I have installed the Labview-IVI drivers for my OS, but looking at the
application's example I find only a one-channel acquisition example, and I
don't know how to change them in order to do a two-channel acquisition.
(I' m able only to make sequential acquisitions....).
How can I syncronize the read waveform blocks?
Please help me,
Many thanks

Andrew
0 Kudos
Message 1 of 2
(2,665 Views)
Since you have an IVI driver for the scope, you can use the IVI Oscilloscope class driver. Do all of the initialization and configuration for acquisition, channel, and trigger (under the configuration palette). Under the measurement palette, you can do an IVI Scope Read Waveform for one channel, and then do a an IVI Scope Fetch Waveform. The read initiates an acquisition and the fetch returns a waveform for any other enabled channel without doing another acquisition. Both the read and fetch return an initial x relative to the trigger and x increment in seconds so its easy to get the data you need from the waveform arrays. Good luck.
0 Kudos
Message 2 of 2
(2,665 Views)