LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make wave graph restart when the condition of case structure is changed?

Exp: Condition of case structure a<b ( a: control, b: constant). A wavegraph puts inside a while loop , in True condition (a<b). How can I make the wave graph restart if a is changed?
0 Kudos
Message 1 of 6
(2,715 Views)

Aren't you confusin waveform graph and waveform chart ? If this is the case, you can clear a chart using the History data property node, fed with an empty array.



Message Edité par chilly charly le 11-08-2007 01:57 PM
Chilly Charly    (aka CC)
0 Kudos
Message 2 of 6
(2,711 Views)
This is the program i have to fix. when I want to change value of fix position 2, the wavegraph should start again at X0, show only value of new position and delete all bar of the old value. Give me some hints pls.
0 Kudos
Message 3 of 6
(2,695 Views)
Just wire the initialized array from outside the big loop. That'll reset it.
 
 
 


Message Edited by altenbach on 11-08-2007 07:39 AM
0 Kudos
Message 4 of 6
(2,674 Views)
Hi altenbach,
If i connect like your method, i think  when the condition is false it's how nothing. But my purpose is : when you enter new position, the graph will start gain from 0........until you enter new value or stop program.
How can the case structure know that new position entered?
0 Kudos
Message 5 of 6
(2,650 Views)
I would like to know what your final goal of this VI is.  There might be an easier way to accomplish what you intend to.  It looked like some of the recommendations provided should have worked. What problems are you encountering when you try to implement their suggestions?
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 6 of 6
(2,577 Views)