![pico Technology PicoScope 3425 Скачать руководство пользователя страница 25](http://html1.mh-extra.com/html/pico-technology/picoscope-3425/picoscope-3425_user-manual_1555395025.webp)
Programmer's reference
21
Copyright © 2007 Pico Technology Limited. All rights reserved.
ps3425.en
3.2.8.4
ps3000_get_unit_info
short ps3000_get_unit_info (
short handle,
char * string,
short string_length,
short line )
This function writes oscilloscope information to a character string. If the oscilloscope
fails to open, only
line
types 0 and 6 are available to explain why the last open unit
call failed.
Applicability
All modes.
Arguments
handle,
the handle of the device from which information is
required. If an invalid handle is passed, the error code from the
last unit that failed to open is returned.
string,
a pointer to the character string buffer in the calling
function where the unit information string (selected with line) will
be stored. If a null pointer is passed, no information will be
written.
string_length,
the length of the character string buffer. If the
string is not long enough to accept all of the information, only the
first string_length characters are returned.
line,
an enumerated type specifying what information is
required from the driver.
Returns
The length of the string written to the character string buffer,
string,
by the function
0 if one of the parameters is out of range, or a null pointer is
passed for
string
line
String returned
Example
0
PS3000_DRIVER_VERSION
The version number of the DLL
used by the oscilloscope driver.
"1, 0, 0,
2"
1
PS3000_USB_VERSION
The type of USB connection that
is being used to connect the
oscilloscope to the computer.
"1.1" or
"2.0"
2
PS3000_HARDWARE_VERSION
The hardware version of the
attached oscilloscope.
"1"
3
PS3000_VARIANT_INFO
The variant of PicoScope 3000
PC Oscilloscope that is attached
to the computer.
"3425"
4
PS3000_BATCH_AND_SERIAL
The batch and serial number of
the oscilloscope.
"CMY66/052"
5
PS3000_CAL_DATE
The calibration date of the
oscilloscope.
"21Oct07"
6
PS3000_ERROR_CODE
One of the
.
"4"
55
Содержание PicoScope 3425
Страница 2: ......
Страница 66: ......
Страница 67: ...63 Copyright 2007 Pico Technology Limited All rights reserved ps3425 en ...