LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing data?

I want to display information coming out of a DAQmx read in essentially the same way as the table in the probe display.
0 Kudos
Message 1 of 4
(2,551 Views)
0 Kudos
Message 2 of 4
(2,537 Views)
You should be able to access all of the data that you see in the probe display within your LabVIEW code.
 
The "Get Waveform Attribute" VI will allow you to access the start timestamp, timestamp, x dimension, and relative time information. To access the waveform data itself you can use the "Get Waveform Components" VI. This will allow you to extract the array of data points (Y values), dt, and t0.
 
To use the "Get Waveform Attribute" VI you will have to make sure that the data coming out of your DAQmx read VI is type waveform.
 
I hope this helps,
 
Casey Weltzin
National Instruments
0 Kudos
Message 3 of 4
(2,534 Views)
In edition, if you really want to emulate the probe's look and feel, why not take a look at the probe's code itself. LabVIEW probes are VIs written in LabVIEW like any other. You can find the probes at: C:\Program Files\National Instruments\LabVIEW X.X\vi.lib\_probes\ You'll see probes there and in the Default folder corresponding to certain datatypes. Pick out the one you like and open it up! Hope this helps! For instance, here is the probe code for Analog Wavefrom Probe:

Message Edited by Jarrod S. on 06-09-2006 03:24 PM

Jarrod S.
National Instruments
Message 4 of 4
(2,509 Views)