LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XY Graph - Clear after selection in Listbox

I am trying to built a XY graph based on selection from list box. Everything works ok but when i make a selection in listbox to select a different file , the previous graph do not clear. I have tried to reset "Read from Measurement File" memory after EOF ( this was causing me a lot of problem. Atleast i dont get error 4 now) still the graph is not cleared. Only on first execution the graph clears then overwrite everything. 

 

The data file has three columns. Time X Value , Y Value

 

Can anyone kindly suggest a solution. I am suing Labview 2010. 

Download All
0 Kudos
Message 1 of 6
(2,903 Views)

Hi,

your code isn't verry nice...

Do you kow event structure ? You should use this structure, and don't use feedback node, but sshift register, it is easy to use.

Regards,

V-F
0 Kudos
Message 2 of 6
(2,881 Views)

Have you unchecked the "Clear data on each call?" in the Build XY Graph express vi? 

If so, you need to wire the output of your feedback node into the "reset" connector on the Build XY graph to make this function loose its previous data.

 

//Martin



CLA
https://www.prevas.se/expertis/test--regulatoriska-krav.html
0 Kudos
Message 3 of 6
(2,875 Views)

Hi,

 

Thanks for replying, Yes the code is a bit primitive as i am a beginner for labview. I dont have much idea about event structure. Could you draw the same for this application.

 

Thanks

0 Kudos
Message 4 of 6
(2,858 Views)

Hi,

to begin, I can suggest you to read the following article, and lauch exemples that are on your computer.

 

Regards,

V-F
0 Kudos
Message 5 of 6
(2,850 Views)

Hi VF , 

 

Thanks for the suggestion. I tried with Event Handing and it worked ( Took some more working ) . 

 

0 Kudos
Message 6 of 6
(2,845 Views)