LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

filwrite I/O

Hi.
Id need to modify the attached LabVIEW QTM plug-in so that it saves the data to a specific folder. I understand it should run in a loop and have a filwrite I/O.

Im very new to LabVIEW (working my way through tutorials) and I'm struggling to get it to work.
I would really appreciate it If you could you see if what has been done requires any other work to function.

0 Kudos
Message 1 of 3
(2,697 Views)

You do understand the principle of Data Flow, don't you?  Your loop runs until you push the Stop button, at which point the Dbl array of numbers being display on the Analog Chart are sent to the Express Write to Measurement File function.  This function has a Filename input you could wire with the File name you want to use.

 

I was a bit confused why the Express VI "Write to Measurement File" had an output, but realized this was simply a "visual mis-wiring", and that the Dbl array was being converted to a Dynamic Data Type before being input to Signals.  I, personally, don't like using Express VIs, as they hide too many details that are probably important to understand.

 

BS

0 Kudos
Message 2 of 3
(2,675 Views)

Hi DGT1973,

If you would like to continuously write data to a file until the Stop button has been pressed, then the "Write To Measurement File" VI has to be put inside the While Loop. Otherwise you will only record the last set of data.


Do you want to specify the folder where to save the file on the front panel?

If not then you can specify a hard coded folder by opening the Express VI and selecting a path and name of the file.

 

 

Regards,

Art

Art
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,612 Views)