Pico TC08 USB THERMOELEMENT DATA LOGGER PP222 Manual Do Utilizador

Códigos do produto
PP222
Página de 42
USB TC-08 Help
19
Copyright 2004 Pico Technology Limited. All rights reserved.
Returns:
-1 (USBTC08_PROGRESS_FAIL)
An error occurred, call
 with a handle of 0
to obtain the error code.
0 (USBTC08_PROGRESS_PENDING)
Enumeration has not completed (keep
calling
usb_tc08_open_unit_progress
)
.
1 (USBTC08_PROGRESS_COMPLETE)
Enumeration has completed and the
handle is now valid.
3.3.2.4
usb_tc08_close_unit
short tc08_close_unit(short handle)
This routine closes the unit for a specified USB handle.
Arguments:
handle
- Specifies the USB TC-08 unit.
Returns:
0
- Use 
.
1
- Unit closed successfully
.
Note: If you successfully open any USB TC-08 units, you should call 
 for each
handle before you exit from your program. If you do not, there is a chance that the unit will not reopen
until it has been disconnected and reconnected.
3.3.2.5
usb_tc08_stop
short usb_tc08_stop (short handle)
This routine stops the unit from running.
Arguments:
handle
- Specifies the USB TC-08 unit.
Returns:
0
- Invalid parameter.
1
- Unit stopped streaming successfully.