LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I erase a XY graph every time a for cycle performs an iteration?

Hi all, 

 

I have done the program in attachment CurrVolt_Scan_V001. The program it's working as desired but with a little bug.

The program should do an IV curve starting at a start voltage, ending at the stop voltage. If the hysteresis is selected the program should repeat the scan from the stop voltage to start voltage (in a reverse order). These points are acquired and should be plotted on the graph.

 

The field iterations controls the number of times the previous scans are done. This is controlled also by a For cycle and here I would like to erase the graph.

 I can't do it, I don't know why.

If I run the scans 3 times (iteraction=3), the 3 runs will be plotted all one over each other.

 

Best regards

 

TIB

0 Kudos
Message 1 of 2
(2,328 Views)

Your data is retained inside the shift registers. If you want to start with blank data with each new loop, you need to initialize the shift registers.

 

Try a "right-click...create constant" on the left part of each shift register pair. See if things improve. 😄

Message Edited by altenbach on 09-17-2009 02:21 PM
0 Kudos
Message 2 of 2
(2,324 Views)