![](/images/new-backgrounds/1191946/19194659x1.webp)
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 |
| 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. |