04-20-2011 07:13 AM
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.
04-20-2011 07:45 AM
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,
04-20-2011 08:18 AM - edited 04-20-2011 08:19 AM
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
04-20-2011 04:56 PM
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
04-21-2011 12:28 AM
Hi,
to begin, I can suggest you to read the following article, and lauch exemples that are on your computer.
Regards,
04-21-2011 03:46 AM
Hi VF ,
Thanks for the suggestion. I tried with Event Handing and it worked ( Took some more working ) .