Omega Speaker Systems TC-08 Short usbtc08legacygetversion Short * version, short handle, Version

Page 43

Technical reference

39

3.3.4.6usb_tc08_legacy_get_version

short usb_tc08_legacy_get_version

(

short * version, short handle

)

This routine sets the 'version' variable to match the version of the USB TC-08

currently being used.

Arguments

handle

Specifies the USB TC-08 unit.

 

version

Pointer to a location where the version number is to be

 

 

stored.

 

 

 

Returns

0

Invalid handle.

 

1

Retrieval of version number successful.

Image 43
Contents User’s Guide Servicing North America Contents Page Overview Installing the driver Connecting the USB TC-08Refresh TC-08 Users GuideTC-08 Channels window, double-click on Channel 1 unused Mains voltages Safety warningSafety grounding Maximum input rangeSpecifications How a thermocouple works Modes of operation IntroductionIntroduction Streaming mode ================================================== ExampleGet Single mode Usbtc08setmains handle, 0 // use 50Hz mains noise rejection Legacy mode Now do something with the cold junction temperature Driver routines Routine Description New USB and serial modeNew USB mode only Legacy mode onlyArguments New USB mode and legacy modeShort usbtc08openunit void NoneReturns Positive shortStore the handle in an array handlearrayi = newhandle Arguments None Returns Short usbtc08openunitasync voidHandle any error conditions if result == Progress HandleArguments handle Short tc08closeunit Short handleShort usbtc08stop Short handle Sixtyhertz Short usbtc08setmains Short handle, short sixtyhertzMinimum Long usbtc08getminimumintervalms Short handleInterval Info Short usbtc08getunitinfo Shorthandle, USBTC08INFO * infoStringlength Short usbgetformattedinfo Handle Char UnitinfoUSBTC08MAXINFOCHARS characters long User/Developer error codes Error Further information Code Short usbtc08getlasterror Short handleReserved error codes ErrorCode Channel New USB mode onlyTctype Long usbtc08run Short handle, long interval Overflowflags TempUnits Overflow Long usbtc08gettemp Short Handle Float * tempbufferTempbuffer TimesmsbufferShort Channel Units Fillmissing Long usbtc08gettempdeskew Short Handle Float * temp TimesShort usbtc08legacyrun Short handle Legacy mode onlyFilterfactor Filtered Short usbtc08legacygetcoldjunction Long * temp, short handle Driver version Number Short usbtc08legacygetdriverversion VoidVersion Short usbtc08legacygetversion Short * version, short handleCycle Short usbtc08legacygetcycle Long * cycle, short handleC++ ProgrammingDelphi Agilent VEE ExcelLabVIEW Visual BasicKey TroubleshootingCold junction compensation. See CJC GlossaryTechnical reference Page Index TC-08 Users Guide WARRANTY/DISCLAIMER Shop online at omega.com