LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help:write data

I have a problem creating a Vi.i need to write the data and show it on the front panel,but when another data come in it keep overwritting my previous data.help pls..
0 Kudos
Message 1 of 5
(2,715 Views)
Show us your code.
 
What kind of indicator do you have?
Try a chart, it keeps history, else you could build the data as array in a shift register.
0 Kudos
Message 2 of 5
(2,710 Views)
Hi!
   What control are you using to write data? Are you using a plot, a numeric...?

   Can you post your VI? It can help understand...

   Have a nice day!

graziano
0 Kudos
Message 3 of 5
(2,710 Views)
this is a simple Vi that i have make but the data keep looping inside the while loops and write alot into the textfile.First data will send in and write one time,after that i will trigger the button and another different set of data will process in but without overwritting my previou one..so it can b display in the front panel.
0 Kudos
Message 4 of 5
(2,704 Views)
If you want the updated value fron the string control to be written to the file, the string terminal needs to be inside the while loop.
 
Right now it will get read only once, before the loop starts. (Use execution highlighting to see how dataflow works).

Message Edited by altenbach on 09-18-2007 11:43 PM

0 Kudos
Message 5 of 5
(2,702 Views)