Data AcQuisition And Real-Time AnalysisScope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
Contact us about
DAT Skip Header Bytes
Some files that Daqarta can't identify are simply raw data. Others may actually have a header, but if the file isn't one of the supported types, Daqarta doesn't recognize or understand the header and just treats it as more raw data. You can use the Skip Header Bytes control to tell Daqarta to skip over a specified number of header bytes to find the actual data.
The default setting is 0 on the assumption that there is no header. If you know the header size, just enter that value here. But if you don't you may still be able to determine it. First of all, make sure you set any .DAT format parameters you are sure of, especially Bits and Signed/Unsigned. If you get these right and the waveform still looks like pure trash, it may indicate a "read frame error" due to an odd number of bytes in the header with 12-bit or 16-bit data. Just close and re-open the file, and set Skip Bytes to an odd number; if the waveform now looks basically correct, you have found the proper read frame.
Once you have the proper read frame, you still may see a lot of trash at the start, where Daqarta is trying to interpret header data as waveform data. Just look at how much of the initial part of the wave is trash, and add the corresponding number of Skip Bytes when you re-open.
This can be easily determined by scrolling the file ahead with the > key until the initial trash is gone, then looking at the DDisk Position readout below the right end of the trace area. Hit ALT+SHIFT+D as needed to get it to show Bytes (or hit CTRL+D and set that from the DDisk Controls dialog), then add that value to whatever you had set for Skip Header Bytes when you re-open the file.
Questions? Comments? Contact us!We respond to ALL inquiries, typically within 24 hrs.
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2023 by Interstellar Research
All rights reserved