LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 54622 oscilloscope VI

I was wondering if there is any way to have the oscilloscope VI collect data continually? That is - have the VI run while collecting data in real time vs. capturing a snapshot of the waveform?
0 Kudos
Message 1 of 3
(3,248 Views)
You can place the Agilent oscilloscope vi that acquires measurements inside a while loop and continuously acquire data until a (or one of many) condition(s) is met.

If taking data continuously in "real-time" for a long period of time, you may be collecting a lot of data...

If many samples are taken for later review, you may want to place a "write to file" vi inside the same while loop and store the collected data to hard drive. Howver, since you want to be taking samples in real-time, you may want to store the values in a buffer (for instance, you can use a shift register and keep adding the values to an array). In that case, you could write to file outside the while loop.

If the data is collected over a long period, you could collect the data within a
loop, and write to file at regular intervals by placing a time-condition within the inner loop.




In short, yes, it is possible to collect data continuously.

Regards,

JLV
Message 2 of 3
(3,247 Views)
I forgot to ask...

Do you use GPIB as an interface to your 'scope?

.
0 Kudos
Message 3 of 3
(3,247 Views)