Omega Speaker Systems TC-08 manual Get Single mode

Page 14

10

TC-08 User's Guide

3.2.3Get Single mode

Get Single mode is an operational mode in which readings are produced on demand, using the usb_tc08_get_single function. Since the function relies entirely on the timing of the calling application, it is ideal for time intervals greater than 1 minute. If high-speed sampling is required, use Streaming mode.

Note: The function call overhead can be significant, since it takes approximately 360 ms to convert all 9 channels, equating to 40 ms per channel. To reduce this overhead, disable channels that are not required.

Image 14
Contents User’s Guide Servicing North America Contents Page Installing the driver Connecting the USB TC-08 OverviewTC-08 Users Guide RefreshTC-08 Channels window, double-click on Channel 1 unused Maximum input range Safety warningSafety grounding Mains voltagesSpecifications How a thermocouple works Introduction Introduction Modes of operation Streaming mode Example ==================================================Get Single mode Usbtc08setmains handle, 0 // use 50Hz mains noise rejection Legacy mode Now do something with the cold junction temperature Legacy mode only Routine Description New USB and serial modeNew USB mode only Driver routinesNone New USB mode and legacy modeShort usbtc08openunit void ArgumentsPositive short ReturnsStore the handle in an array handlearrayi = newhandle Short usbtc08openunitasync void Arguments None ReturnsHandle any error conditions if result == Handle ProgressShort tc08closeunit Short handle Arguments handleShort usbtc08stop Short handle Short usbtc08setmains Short handle, short sixtyhertz SixtyhertzInterval Long usbtc08getminimumintervalms Short handleMinimum Short usbtc08getunitinfo Shorthandle, USBTC08INFO * info InfoUSBTC08MAXINFOCHARS characters long Short usbgetformattedinfo Handle Char UnitinfoStringlength Short usbtc08getlasterror Short handle User/Developer error codes Error Further information CodeCode ErrorReserved error codes Tctype New USB mode onlyChannel Long usbtc08run Short handle, long interval Units TempOverflowflags Timesmsbuffer Long usbtc08gettemp Short Handle Float * tempbufferTempbuffer OverflowLong usbtc08gettempdeskew Short Handle Float * temp Times Short Channel Units FillmissingLegacy mode only Short usbtc08legacyrun Short handleFilterfactor Filtered Short usbtc08legacygetcoldjunction Long * temp, short handle Short usbtc08legacygetdriverversion Void Driver version NumberShort usbtc08legacygetversion Short * version, short handle VersionShort usbtc08legacygetcycle Long * cycle, short handle CycleDelphi ProgrammingC++ Visual Basic ExcelLabVIEW Agilent VEETroubleshooting KeyGlossary Cold junction compensation. See CJCTechnical reference Page Index TC-08 Users Guide WARRANTY/DISCLAIMER Shop online at omega.com