Pico PicoLog® 1216 0 - 2.5 Vdc USB Multi-channel voltage data logger PP547 Fiche De Données
Codes de produits
PP547
Technical reference
10
Copyright © 2009 Pico Technology Ltd. All rights reserved.
pl1000pg.en
3.3.4
pl1000GetUnitInfo
PICO_STATUS pl1000GetUnitInfo(
short handle,
char * string,
short stringLength,
short * requiredSize,
PICO_INFO info
char * string,
short stringLength,
short * requiredSize,
PICO_INFO info
)
This function returns a string containing the specified item of information about the
unit.
unit.
If you want to find out the length of the string before allocating a buffer for it, then
call the function with
call the function with
string
=
NULL
first.
Arguments:
handle:
handle returned from
or
string:
a location where the function writes the requested
information, or
NULL
if you are only interested in the value of
requiredSize
stringLength:
the maximum number of characters that the
function should write to
string
requiredSize:
a location where the function writes the length of
the information string before it was truncated to
stringLength.
If
the string was not truncated then
requiredSize
will be less than or
equal to
stringLength.
info:
the information that the driver should return. These values
are specified in
picoStatus.h
:
PICO_DRIVER_VERSION
PICO_USB_VERSION
PICO_HARDWARE_VERSION
PICO_VARIANT_INFO
PICO_BATCH_AND_SERIAL
PICO_CAL_DATE
PICO_KERNEL_DRIVER_VERSION
PICO_USB_VERSION
PICO_HARDWARE_VERSION
PICO_VARIANT_INFO
PICO_BATCH_AND_SERIAL
PICO_CAL_DATE
PICO_KERNEL_DRIVER_VERSION
Returns:
13
15
23
23
23
23
23