10-14-2013 02:20 PM
Hi
I am new to Labview .. My main Vi keeps reading data from serial port and parces(into words) into an array (all in a while loop) ...
The array is also inside while loop ....Now I further want to parse this array(element by elemnt) and create another VI that takes this running array as input ..so the new VI should simply have this array input ....but the problem is that i cannot see the running data in new vi ...any suggestions ..??
Solved! Go to Solution.
10-14-2013 02:31 PM - edited 10-14-2013 02:32 PM
pass the info to the sub.vi as a reference or variable
10-14-2013 03:23 PM
Thanks Apok..
I am not sure hoiw reference works here as when I create refernce of array in main vi(24sep...vi) ..it still does not output any stuff in next VI (which calls ) ...Attached are both my files ...and I simply want my main VI as with output terminal as array2 ...
Thanks a lot
ebuckbuck
10-14-2013 03:24 PM
Thanks Apok..
I am not sure hoiw reference works here as when I create refernce of array in main vi(24sep...vi) ..it still does not output any stuff in next VI (which calls ) ...Attached are both my files ...and I simply want my main VI as with output terminal as array2 ...
Thanks a lot
ebuckbuck
10-14-2013 04:09 PM
@ebuckbuck wrote:
Thanks Apok..
I am not sure hoiw reference works here as when I create refernce of array in main vi(24sep...vi) ..it still does not output any stuff in next VI (which calls ) ...Attached are both my files ...and I simply want my main VI as with output terminal as array2 ...
Thanks a lot
ebuckbuck
in this example we want to pass a numerical indicator(main.vi) to the second loop(sub.vi)....
10-14-2013 04:37 PM
Apok ..you are awsome !!