09-09-2008 05:28 AM
Hi!
I have a problem with plot colors. My vi plots a number of "Measurements" according to "No of Loops". It also plots one "Reference". This vi now works when making 3 "Measurements"(3 loops)+"Reference". It plots "Measurements" in white and the "Reference" in green. Otherwise the colors aren't right. I know why it works only in 3 loops because there are three cases for it(cases5..7). How can I use the "No of Loops" variable to make the vi work in all loop counts?
The variables are in quotation marks.
Thanks in advance!
09-09-2008 05:41 AM
Hi Seessami,
use a case structure with true and false cases. Go to the true case if "i" is smaller then "number of plots -2" and to the false case otherwise.
Hope it helps.
Mike
09-09-2008 06:59 AM