06-06-2013 06:03 PM
I'm trying to write a labview probram where I will have several numerical values for several different yet equally important measurements of the same variety. In a for loop i want to find their maximum and have it output which value is the maximum and save it as a seperate name.
In Matlab, It would be done something like this.
g1=1
g2=2
g3=3
g4=4
gsave=0
For i=1:4
if gi>gsave
gsave=gi
else gsave=gsave
end
The what i really want to know if show i can label a numeric value with a subscript and then interate that subscript without haveing to make a bunch of the same structures or comparison and saving.
06-06-2013 07:18 PM