LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i add formula to waveform data type?

I want to interpolate my acquired data in terms of voltage to temperature. For this i need to use polynomial equation, but i am not able to directly attach formula node to the waveform data type. I want to know how can i add formula node to waveform data, and then also have it real time.
0 Kudos
Message 1 of 4
(2,978 Views)
On the Waveform palette, you'll find the function Get Waveform Components. Right click on it to select item to get t0, dt, or the Y array.
0 Kudos
Message 2 of 4
(2,978 Views)
Also look at;

Waveform>>>Waveform Operations>>>Waveform scale and offset"

This may be the ticket you are looking for.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 4
(2,978 Views)
One additional thought that may be helpful. Once you get the Y component of the waveform graph you are going to attempt to wire this into a formula node. You can do one of two things with that array. Put a for loop around the formula node and index the array into and out of the for loop. This allows you to do scalar math on the data. It is also possible to index and array in a formula node. The following KnoledgeBase demonstrates how to do this: http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/9d72b6069346942386256a0d00604ed4?OpenDocument
0 Kudos
Message 4 of 4
(2,978 Views)