LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Diffrence between two data from data aquistion

Solved!
Go to solution

I'm not sure what you mean by real time.

 

If you get a waveform out of your DAQmx Read, you can use Get Waveform components from the Waveform palette to unbundle and get the raw data Y array.

With a dynamic data type, you have the blue express VI conversions.  You are using one now to convert from the blue wire to a scalar.   If you right click and do properties, you can select various other outputs such as arrays, waveforms, arrays of waveforms, ....

0 Kudos
Message 11 of 13
(979 Views)

Thank you, Ravens.

 

I tried to wire Amplitude output with a 1-D array. However, only the first item in the array was keeping changing. All others are still zeros...I must have done something wrong.

 

What I tried to do is to store all the data from DAQ system into an array. Then later on, I can operate data in the array just like what we do in C or Matlab. For example, if we can store data in an array A[4]= (1, 2, 3, 4), after that, I can get any data out of the array by referring A[1]...A[4]....I am just wondering whether LabView can do this...Thank you!

0 Kudos
Message 12 of 13
(957 Views)

Of course.  LabVIEW has the Index Array function to be able to access individual elements of an array.

 

We'd have to see your code to give any more help.

0 Kudos
Message 13 of 13
(948 Views)