LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between fetch and read waveform

I am writing a measurementprogramm for my oscilloscope. So I need to get the waveforms of the different channels. Now I noticed that in the IVI driver library are the two possibilities "fetch waveform" and "read waveform". I am wondering what the differences between them are? And which is the application area for the first and which for the second?

Thank for help.

Mara
0 Kudos
Message 1 of 3
(3,966 Views)
If you were to trun on Context Help and move the mouse over the functions, the help window has the explanation of the differences between the two. Basically, the read initiates an acquisition, waits for completion, and returns the waveform. You can use fetch to return other channels that were acquired without initiating another acquisition. You can also the low level Initiate Acquisition along with Acquisition Status before doing a fetch to get the same functionality as Read Waveform. There may be times when you want to do an acquisition without getting the whole waveform (i.e. Fetch Waveform Measurment) so it's nice that the low level functions exist by themselves.
0 Kudos
Message 2 of 3
(3,966 Views)
Thanks for this answer. So I have it right understood when I program it like: First a Read-Waveform for one channel followed by several Fetch-Waveform for the other channels. This does work properly?

Thanks Mara
0 Kudos
Message 3 of 3
(3,966 Views)