05-08-2007 11:38 PM
05-09-2007 04:15 AM
Hi,
you could append each sample you receive to an array and at the end write it to a file (File I/O library).
05-09-2007 02:55 PM
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
05-09-2007 10:21 PM
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
05-10-2007 03:11 AM
05-14-2007 09:57 PM
05-15-2007 01:49 AM
05-15-2007 02:49 AM
Hi devchander, how do i install/reinstall the DAQmx device drivers ?
Regards,
Lance
05-15-2007 04:06 AM
Hi Lance,
This link should guide you