Monday, 18 July 2016

How to Add to two 1D arrays in Labview?

  • To add two 1D arrays the following step to follow:(As shown in figure)
  1.  Take on for loop(Programming->Structure).
  2.  Take ADD function(Programming->Numeric) place into loop. 
  3.  Connect to Two 1D arrays from a right side of the loop to two individual inputs of ADD function through indexing.
  4.  Take the output of ADD function to a left side of loop make into indexing. 
  5.  Create Indicator(Right click on index terminal & Create->indicator).

  • Now you can make sub vi of the same with two input od two 1D arrays and one output with one 1D array.
  • you will get Addition of two 1D arrays into one 1D array.

1 comment: