Omega Speaker Systems TC-08 manual Short usbgetformattedinfo Handle Char Unitinfo, Stringlength

Models: TC-08

1 54
Download 54 pages 42.43 Kb
Page 30
Image 30

26

TC-08 User's Guide

3.3.2.9usb_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.

Page 30
Image 30
Omega Speaker Systems TC-08 manual Short usbgetformattedinfo Handle Char Unitinfo, Stringlength