I have a question about the Traditional NI-DAQ function of SCAN_to_Disk.
A co-worker developed a Visual Basic.NET program using the SCAN_to_Disk function to read two analog channels of a PCI-MIO-16E-1 NI card and store the data to the hard drive.
I have been tasked with taking the the files he creates and reading them into an existing C++ program I have written for analysis.
I need to know what the file format for this function is.
1.) Does it create a header, if so what is the format and length of the header.
2.) The help file states that the data is stored in a 16 bit binary format with the lower bits first (little endian). Is this correct? Is there and additional information imbedded in the file?
I have written a procedure
to read the file, however the data comes back as all zeros. (I do not seem to have any problems reading binary files created by other programs.)
If someone could point me to a explaination of the file format used by National Instrument for data storage I would be Thankful.
Thanks in advance
Chuck