LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I write a file and fill it in periods?

 

Hi Every body!
I need help with this.
I have my aplication(power quality analiser),This VI obtain several varibles and make a lot of calculus and operation, to obtein others parameters in real time so my problem is Save the acquire data and calculus data into a file (similar as a report) every period(custumizable for the user in time units) 
I mean make a only one file wich is write every period continuously , e.g.  Start my principal VI and this event start the write of file, past one period,make other row or colum into the same file and continue that way until we stop the principal VI.
How can I make that?
ejecution.png
Thaks very much 
Best Regards

 

 

0 Kudos
Message 1 of 2
(5,482 Views)

Hi,

 

assuming you have your trigger (notifier or just periodically) you can append the data to a single record.

 

Open the file, set the file position to the end, write the data and close the file.

 

example

 

Hope this helps

 

 

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