10-19-2006 01:12 AM
10-19-2006 01:15 AM
10-19-2006 01:28 AM
Kind of confusing statement!
DAQmx is a Device Driver version and LabVIEW is a programming Language/Tool which uses that Device Driver's functions
Do you mean to tell that using a programming language other than LabVIEW?? like CVI/ LabWINDOWS??
Kindly clarify, so that we can suggest better
Regards,
Dev
10-19-2006 02:20 AM
Hi,
I am using the DAQmx ANSI C, not CVI, not Labview. And the search results of streaming data to disk in the forum are done by Labview. Hopefully I made myself clear this time.
Thank you very much.
David
10-20-2006 06:08 AM
10-20-2006 11:27 AM
David,
The most efficient way to stream data to disk is in raw binary format. You can then do the conversion from binary into real data during post-processing, when more processor time is available.
I'm assuming that you're somewhat familiar with the DAQ ANSI C API and programming structure of an analog acquisition program. What you would need to do is Set up your task and task timing the usual way, but instead of reading a double value, you would want to use the DAQmxReadRaw function to read the raw digital data from the card and stream it to disk.
The functions for streaming to disk are going to be specific to your programming environment. I understand that you are using the DAQmx ANSI C API; what is your programming language and environment?
For more information on the DAQmxReadRaw function and on reading raw data, please refer to the NI-DAQmx C Reference help, which you can find on your start menu under Programs>>National Instruments>>NI-DAQ>>NI-DAQmx C Reference Help.
Let me know if there's anything else I can help you with.
Regards,
Josh W. | National Instruments | Applications Engineer
10-22-2006 08:22 PM
10-23-2006 09:24 AM
10-23-2006 03:11 PM