I develop software from home for several labs using MCC dacq boards and the Universal Library for C++. These laboratories run my proprietary software to collect data for physiological testing in (mostly) exercise physiology laboratories. The software is quite specialized and requires a $70,000+ instrument called a respiratory mass spectrometer. It is WAAAY beyond my budget to set myself up with one at home. So I have relied heavily on being able to do 'repolays' of data acquisition sessions to convert the raw data they send to me in proprietary-formatted binary files into DEMO0.DAT files, using information shared by one of the kind engineers at MCC years ago (probably 5+). BUT the 64-bit version of Instacal apparently does not read these files, or they are in a different format. This means I am stuck as I rely on this feature heavily. Is there any chance either a) someone can share the 64-bit version of the file format (in case it still works) or b) resurrect that feature?
Thanks for your help and support!
Just FYI, here is the information I use to construct DEMO0.DAT files extracted from my proprietary-formatted binary raw data files (usually sampled at 100 Hz per channel).
Here is the format of the binary file:
ASCII Identifier (20 bytes) = "CB Raw Data File \r\n"
ASCII Date String (10 bytes) - date file was last written to (07/24/19\r\n)
ASCII Time String (10 bytes) - time file was last written to (12:18 am\r\n)
Low Chan (integer - 2 bytes) - Low A/D channel scanned
HighChan (integer - 2 bytes) - High A/D channel scanned
HzRate (integer - 2 bytes) - Hz component of sampling rate
kHzRate (integer - 2 bytes) - kHz component of sampling rate (0 for 100Hz total)
TotalCount (long - 4 bytes) - Number of samples in file (e.g. number (Hichan-LoChan) x # records)
TriggerIndex (long - 4 bytes) - Index of trigger sample (set to zero)
GainCode (integer - 2 bytes) - Gain code for A/D
SkipCount (integer - 2 bytes) - Number of bytes to skip to first data point
NotUsed (SkipCount bytes)
Data (TotalCount integers)
Question
CaseyB
I develop software from home for several labs using MCC dacq boards and the Universal Library for C++. These laboratories run my proprietary software to collect data for physiological testing in (mostly) exercise physiology laboratories. The software is quite specialized and requires a $70,000+ instrument called a respiratory mass spectrometer. It is WAAAY beyond my budget to set myself up with one at home. So I have relied heavily on being able to do 'repolays' of data acquisition sessions to convert the raw data they send to me in proprietary-formatted binary files into DEMO0.DAT files, using information shared by one of the kind engineers at MCC years ago (probably 5+). BUT the 64-bit version of Instacal apparently does not read these files, or they are in a different format. This means I am stuck as I rely on this feature heavily. Is there any chance either a) someone can share the 64-bit version of the file format (in case it still works) or b) resurrect that feature?
Thanks for your help and support!
Just FYI, here is the information I use to construct DEMO0.DAT files extracted from my proprietary-formatted binary raw data files (usually sampled at 100 Hz per channel).
Here is the format of the binary file: ASCII Identifier (20 bytes) = "CB Raw Data File \r\n" ASCII Date String (10 bytes) - date file was last written to (07/24/19\r\n) ASCII Time String (10 bytes) - time file was last written to (12:18 am\r\n) Low Chan (integer - 2 bytes) - Low A/D channel scanned HighChan (integer - 2 bytes) - High A/D channel scanned HzRate (integer - 2 bytes) - Hz component of sampling rate kHzRate (integer - 2 bytes) - kHz component of sampling rate (0 for 100Hz total) TotalCount (long - 4 bytes) - Number of samples in file (e.g. number (Hichan-LoChan) x # records) TriggerIndex (long - 4 bytes) - Index of trigger sample (set to zero) GainCode (integer - 2 bytes) - Gain code for A/D SkipCount (integer - 2 bytes) - Number of bytes to skip to first data point NotUsed (SkipCount bytes) Data (TotalCount integers)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now