From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

how can i do with labview program,when i have 20 different values,and 1 want to add it with constant value.and how to get the results?

how can i do with labview program,when i have   20 different values,and 1 want to add it with constant value.and how to get the results?

0 Kudos
Message 1 of 4
(2,153 Views)

Just add a constant to the array by using the "add" function. I have attached a simple VI that you can use.

0 Kudos
Message 3 of 4
(2,150 Views)
  • Why do the 20 values have to be different? The same code should work even if some are equal.
  • What do you mean by "get the result"? The result is available at the output terminal and all you need is a wire to get it where you need it. That could be an indicator, another operation, or even a hardware device.
  • What is the data type of the 20 values? An array? A cluster? A bunch of scalars? A waveform? Dynamic data?
0 Kudos
Message 4 of 4
(2,142 Views)