Instacal shows nothing in the loopback test. You can clearly see the breathing cycle in both panels. Bottom two are O2 and CO2 from a mass spectrometer. Top two panels are chans 1 & 2 showing two flow signals generated by a human breathing. I created this DEMO0.DAT file using the algorithm in my OP. Now here is a 'replay' of data one of my users sent. And, BTW, these signals look a lot like a human subject breathing, gas channels in 1 & 2 and some kind of flow signal in chan 3! How did you generate this file? Note the units in these graphs are physiological units, NOT VOLTAGES. Channel 5 appears to have nothing, and I did not see anything in channel 0. Is there something wrong with my setup there?) This is channels 2 and 3 in the top panel and 4 and 5 in the bottom. Now switching to your DEMO0.DAT file, I dont get anything using the Instacal test, loopback, but my program does see data. Here is image from my custom 32-bit program using cbw32.dll, demo board and the damped sine wave: Here is the DEMO board using a sine wave: My custom program runs fine in 64-bit version doing raw data acquisition, it just does not work replaying DEMO0.DAT files. dll file that one can link into a custom program. Note that Instacal is a 32-bit program (as you point out, it is installed in c:\Program Files (x86)., the standard location for 32-bit programs in Win64), but the install package comes with a 64bit version of the. I made sure I have your ver 6.73 installed, and I am running the 64-bit Windows 10, all the latest updates applied. So IO repeat my questions: 1) does the 64-bit Instacal cbw64.dll support replaying data using DEMO0.DAT files and 2) if so, is there a new file format specification you can send me so I can generate such files from my user data? But when I compile and run in 64-bit, it does not. What I will try to show below is first, that the Instacal and DEMO-BOARD work fine in my 32-bit version of my program. What you sent me does not answer my question. SkipCount (integer - 2 bytes) - Number of bytes to skip to first data point GainCode (integer - 2 bytes) - Gain code for A/D TriggerIndex (long - 4 bytes) - Index of trigger sample (set to zero) TotalCount (long - 4 bytes) - Number of samples in file (e.g. KHzRate (integer - 2 bytes) - kHz component of sampling rate (0 for 100Hz total) HzRate (integer - 2 bytes) - Hz component of sampling rate HighChan (integer - 2 bytes) - High A/D channel scanned Low Chan (integer - 2 bytes) - Low A/D channel scanned 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).ĪSCII Identifier (20 bytes) = "CB Raw Data File \r\n"ĪSCII Date String (10 bytes) - date file was last written to (07/24/19\r\n)ĪSCII Time String (10 bytes) - time file was last written to (12:18 am\r\n) 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? This means I am stuck as I rely on this feature heavily. BUT the 64-bit version of Instacal apparently does not read these files, or they are in a different format. 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+). It is WAAAY beyond my budget to set myself up with one at home. The software is quite specialized and requires a $70,000+ instrument called a respiratory mass spectrometer. These laboratories run my proprietary software to collect data for physiological testing in (mostly) exercise physiology laboratories. I develop software from home for several labs using MCC dacq boards and the Universal Library for C++.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |