LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Need to save data from field point in excel sheet!!!

Hey colleagues,
 
I need help. I am writing on my diploma thesis.Main topic is to develop a visualization of a process of a process plant which is used for an internship in uni. My meain problem is that I need a vi where I can save my fieldpoint data only in special cycles. At the moment I use a vi which can only save every second in form of a while loop and a metronom. I am searching for a vi where I can choose the time between every saving step in excel. In addition to that I would like to have a boolean button where i can start/stop the saving within running process.
 
please help me urgently!!!
 
 
Marco
0 Kudos
Message 1 of 2
(2,505 Views)

Hello Marco,

the answer for your problem is called “Software Control Timing”.


If a desired time has elapsed, you can write data’s to a file.


The explicit timing is the timing for your while loop, e.g. 10ms.


If a desired time has elapsed, you get a flag from a timing-function and an additional block of your code (e.g. a subVI) will executed.


The set time for the timing function is settable dynamically, while your program is running.


Find the VI in the attachment, which will provide this functionality for you.


I hope this VI will bring you further ahead…..

Have nice day…

Ulrich


AE-NIC  

0 Kudos
Message 2 of 2
(2,485 Views)