LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reinitialize waeform chart with enum

I have an VI. in this VI, i have an diffrent cases in the case structure, which is change by enum control. each case build a waveform using waveform charts. But i have a problem that , during the ruuning time, if i change the enum value, the waveform chart build a waveform continously without reinitialize. I would like to do that, if i chage the enum value, the waveform reinitialize and build a waveform from the biggining. 

can anyone suggest me , how can i do this?

0 Kudos
Message 1 of 5
(130 Views)

From your description is hard to understand your issue. May be you using Waveform Chart instead of Graph and accumulating your data again and again, may be something else... Show your code please — attach VI with demonstration.

0 Kudos
Message 2 of 5
(118 Views)

yes sure, here it is. i just want to do that ,if i cange the value of my enum( shelly device) to change the case, the waveform chart reinitialize and build a waveform from the starting point.

0 Kudos
Message 3 of 5
(111 Views)

Something like this, may be:

Signals.gif

0 Kudos
Message 4 of 5
(91 Views)

Thank you very much. 

0 Kudos
Message 5 of 5
(86 Views)