Omega Speaker Systems TC-08 Network Card User Manual


 
TC-08 User's Guide12
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
Streaming or Get Single 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
usb_tc08_legacy_set_channel 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 usb_tc08_open_unit instead of using the serial port
number