02-06-2006 02:19 PM
02-06-2006 02:21 PM
You can wire a value into the outside of a left shift register to initialize it when your VI starts. As for your chart, are you using a Waveform Chart? If so, it will maintain history between VI runs. To clear the history, create a property node for the chart and wire an empty array to the "History" property of the chart.
If you need more information, please attach a VI along with a more detailed description of the problem you are having.
Good luck,
-D
02-06-2006 02:23 PM
02-06-2006 02:38 PM
02-06-2006 03:20 PM
02-06-2006 04:01 PM - edited 02-06-2006 04:01 PM
The way you have your code written right now, only the last set of data from the inner For Loop will be written to the waveform graph outside the main For Loop. Is this the behavior you want? If so, then you could add code inside the inner For Loop to use the "First Call?" function and the Select function to initialize the array from within the loop. I have attached a screenshot showing how I would do this.
Hope this helps,
-D
Message Edited by Darren on 02-06-2006 04:01 PM