From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Manipulating waveform data type

Solved!
Go to solution

Hi all,

 

I have an array of 1D waveform data coming out of DAQmx Read.vi. I want to be able to add or multiply all a specific scalar number to all of the data points in a specfic channel (element in the array). What's the easiest/most efficient way to go about doing this?

 

Thanks!

0 Kudos
Message 1 of 3
(2,908 Views)
Solution
Accepted by topic author RaymondLo

There is a "Waveform Scale and Offset" in the analog sub-palette of the Waveform palette.

 

If you want to scale each elemement in the array uniquely then put that VI is a For loop and pass the scale and offsets you need.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 3
(2,905 Views)

Beautiful. Thanks.

0 Kudos
Message 3 of 3
(2,900 Views)