01-06-2010 09:58 AM
Heey everyone, title says it all.
I already tried using active plot with a forloop, but for some reason that doesnt work for me :s
Checkout the picture in the appendix, that`ll explains my problem.
In the block diagram you`ll see a stringarray :
0 = name 1,
1 = name 2 and
2 = name 3.
For some wack reason the plotnames are set in a different order. Also checkout the program while using debug, then you`ll understand directly what my problem is.
Thank you!
Solved! Go to Solution.
01-06-2010 10:00 AM
Just a quick suggestion:
Switch the order. Put the 'active plot' on top, then change the plot name.
That should do the trick.
01-06-2010 10:04 AM
You also do not need the 'array size' wired to the number of iterations in the For loop,
LabVIEW will autoiterate since you passed an array into the loop.
01-06-2010 10:08 AM
omg how could i be so stupid
Thanks alot Cory, works great now !
01-06-2010 10:10 AM
Haha, it has nothing to do with stupidity.
Sometimes you just overthink a problem so much that you miss the simple stuff