Legacy mode, 4 legacy mode – Omega Speaker Systems 8 Channel Thermocouple USB Data Acquisition Module TC-08 User Manual
Page 16
TC-08 User's Guide
12
3.2.4
Legacy mode
Legacy mode is designed to aid developers who have already written code for the
serial version of the TC-08 and are not yet ready to rewrite their code for the
modes available with the USB version. The legacy support is
going to be phased out and will eventually be removed from the driver altogether. If
you want full support in the future, use the Streaming or Get Single modes.
To allow code to be easily developed for both the serial version and the USB version of
the TC-08, all the function names have been changed. The
function no longer supports offset and gain - this is now
stored only as calibration information in the unit itself. The legacy routines will be
familiar if you previously used the serial TC-08, but the following changes should be
made to convert legacy applications:
Reference the new Header file
Reference the new Library file
Place the new DLL in the directory of the application
Set the mains frequency
Run and stop the unit
Store a handle returned from
instead of using the serial port
number