LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can i record the acquisted data down into a file ?

Hi everyone, currently my pda can display 2 channels of data using * Cont Acq&Graph Multiple Voltages-Int Clk.vi *.
How do i record down the data i'm displaying n place it in a file ?
 
 
 
Regards,
Lance
0 Kudos
Message 1 of 9
(6,139 Views)

Hi,

you could append each sample you receive to an array and at the end write it to a file (File I/O library).

 

0 Kudos
Message 2 of 9
(6,129 Views)

Hi m3mories,

Damiano certainly has the right idea. Using the many functions on the File I/O palette (Programming » File I/O) you can create files and write data to them. From this palette you can create spreadsheet, TDMS, and binary files.

A good example VI that is already similar to the one you are using is called Cont Acq&Graph Voltage-Write Data to File (TDMS). You can find it by selecting Help » Find Examples... and then browsing to Hardware Input and Output » DAQmx » Analog Measurements » Voltage. This example will show you how to open a file, configure it, write data to it, open it to view, and then close the reference.

If you need more information, please post with what type of file you would like to write, how often you want to write the data, and how much data you have. Thanks!

Stephanie

0 Kudos
Message 3 of 9
(6,115 Views)

Hi Stephanie, i cant find *****Help » Find Examples... and then browsing to Hardware Input and Output » DAQmx » Analog Measurements » Voltage.

i only have help>find examplers>hardware input and output only, i have attached a print screen of my labview. in the meanwhile, i will try to use File I/O palette (Programming » File I/O) as adviced.

 

I need a Cont Acq&Graph Multiple Voltages-Int Clk.vi that can display 2 channels of data and can save the 2 channels of data into an array and at the end write it to a file.

Thanks!

 

Regards,

Chengwee

0 Kudos
Message 4 of 9
(6,091 Views)
Hi m3mories,
here is the example Stephanie talks about
0 Kudos
Message 5 of 9
(6,065 Views)
Hi Damiano , i had problem opening example2.vi as some files were missing. Please help. i have attached a printscreen of the example2.vi when i tried to open it.
 
 
Regards,
Lance
0 Kudos
Message 6 of 9
(6,006 Views)
Seems like you have not installed/ improperly installed the DAQmx device drivers
 
Try installing/reinstalling the compatible version of DAQmx device drivers
0 Kudos
Message 7 of 9
(5,991 Views)

Hi devchander, how do i install/reinstall the DAQmx device drivers ?

 

Regards,

Lance

0 Kudos
Message 8 of 9
(5,987 Views)

Hi Lance,

This link should guide you

0 Kudos
Message 9 of 9
(5,980 Views)