beautypg.com

Usb_tc08_get_formatted_info – Omega Speaker Systems 8 Channel Thermocouple USB Data Acquisition Module TC-08 User Manual

Page 30

background image

TC-08 User's Guide

26

3.3.2.9

usb_tc08_get_formatted_info

short usb_get_formatted_info
(

short handle,
char * unit_info,
short string_length

)

This function is similar to the

usb_get_unit_info

routine, but the unit information is

returned in the form of a formatted character string. The string is separated into the
following elements, each appearing on a different line: driver version; hardware
version; variant info; serial number; calibration date.

Arguments

handle

Specifies the USB TC-08 unit.

unit_info

A string where the unit info is to be placed.

string_length

Length of the string to be copied. Should be at least
256

(USBTC08_MAX_INFO_CHARS)

characters long.

Returns

0

Too many bytes to copy, will copy as many full lines
as possible.

1

Routine was successful.