LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

perform math functions on arrays

Hello,

 

How do I go about dividing each element of my 1D array by 1000???

 

Thanks for your help and time.

 

hiNi

0 Kudos
Message 1 of 3
(2,656 Views)
Use a divide function and wire the array to the upper input. Wire a scalar diagram constant with a value of 1000 to the lower input. The output will be an array of the same size as the input array and with each element 1000x smaller. Try it.
Message 2 of 3
(2,651 Views)

Hi hiNI,

 

do show a picture for Altenbach's comment:

20903i3189017D45034EE5

 

Have you ever gone through the free online courses offered by NI here? They also explain, how to work with arrays...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 3
(2,637 Views)