Re: clearing array on button click

2004-04-08 Thread Thandal
hi Djadjok your ex. is a guideline for new commer like me but still i am in trouble. i understood the use of local veriable In my case i have 2 different array to plot graph i use one array for x values one array for y value. now my problem is how to asign local variables for X,Y values of the grap

Re: clearing array on button click

2004-04-08 Thread Thandal
thanks for your ans. it is working nicely

Re: clearing array on button click

2004-04-08 Thread Thandal
hi julion thanks for your ans. I understood what u did. but this is not working with my problem, but it's a good one my problem is now i will try to explain you the difference between your example & my problem in my case 1.on button click i am entering values in array using build array function. 2

Re: clearing array on button click

2004-04-08 Thread Thandal
hi gijadjok thanks for your time & ans. i understood the logic in your ans. but unable to implement it.I am very new to LabView can you send example vi. please i don't know how to initialise shift reg. i don't know how to implement (initialized at start to FALSE, and passing TRUE constant in the lo

Re: clearing array on button click

2004-04-08 Thread djadjok
Just instead make two shift registers - one boolean (initialized at start to FALSE, and passing TRUE constant in the loop) and the other - with your growing array. Monitor boolean register and clear your array on FALSE state. If your data accumulation vi is a SubVI, you can implement a sort of init

clearing array on button click

2004-04-08 Thread Thandal
i have a problem in clearing array. 1. i have a vi witch on a button click add element in array ,and plot the values on graph. 2. second time when i run vi on graph i get all the values witch i got in first run pluse the values on second run 2. i want my graph should not plot values i got in first