LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Opening a file dialog box with a button while the data graph is running continuos aquisition

I am running a continuous aquisition that is hardware timed. I display the data on a graph. While running the VI that is displaying the graph I want to open a file to write the data for a period of time then be able to select a new file after the file is written by hitting the open file button again. I also want to just have the file open and after it is opened hit another button that begins the writing to the file.
0 Kudos
Message 1 of 2
(2,771 Views)
To accomplish the first task use a control button, a case structure and a sub vi located inside the case structure. The control button determines the status of the case structure in response to user click. The sub vi writes your data into the file you specified in the file dialog. The entire process repeat itself each time the button is clicked. The set-up of the sub vi depends on organization and type of file you want. I think the second task is just a modification of the first.
Message 2 of 2
(2,771 Views)