Omega Engineering 8 Channel Thermocouple USB Data Acquisition Module TC-08 User Manual page 24

8 channel thermocouple usb data acquisition module
Table of Contents

Advertisement

20
TC-08 User's Guide
3.3.2.3
usb_tc08_open_unit_progress
short usb_tc08_open_unit_progress
(
short * handle,
short * progress
)
Call this function after
the state of the background enumeration process. For an example of usage, see
usb_tc08_open_unit_async.
Arguments
Returns
usb_tc08_open_unit_async
handle
(Out) A handle (positive short) to the unit if the enumeration
is completed. Handle will always be 0 if the enumeration is
incomplete.
progress
(Out) (Optional - can pass NULL) returns a number from 0 to
100 representing the percentage completion of the
enumeration of one unit.
-1
USBTC08_PROGRESS_FAIL
0
USBTC08_PROGRESS_PENDING
1
USBTC08_PROGRESS_COMPLETE
. Repeatedly call it to determine
An error occurred, call
usb_tc08_get_last_error
handle of 0 to obtain the error code.
Enumeration has not completed
(keep calling
usb_tc08_open_unit_progress).
Enumeration has completed and the
handle is now valid.
with a

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents