Herunterladen Inhalt Inhalt Diese Seite drucken

Technical Reference; Driver; Functions - PICO PicoScope 3204 Handbuch

Series picoscope 3000
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

5

Technical reference

5.1

Driver

The Windows 98SE/ME/2K/XP/2003 32-bit driver,
is loaded using an inf file,
Once you have installed the PicoScope and PicoLog software, and the PicoScope 3000
oscilloscope is plugged in for the first time, Windows will automatically install the driver.
5.2

Functions

5.2.1
ps3000_open_unit
short ps3000_open_unit
This function opens an oscilloscope from the PicoScope 3000 series. The API driver can
support up to four oscilloscopes.
Arguments
Returns
5.2.2
ps3000_get_unit_info
short ps3000_get_unit_info (short handle,
This function writes oscilloscope information to a character string. If the oscilloscope fails
to open, only infos 0 and 6 are available to explain why the last open unit call failed.
Arguments
Returns
Copyright 2005 Pico Technology Limited. All rights reserved.
picopp.inf
None.
if the oscilloscope fails to open,
-1
positive (>0) handle to the device opened.
, the handle to the device from which info is required. If an invalid
handle
handle is passed, the error code from the last unit that failed to open is
returned from line 2.
, a pointer to the character string buffer in the calling function
* string
where the unit information string (selected with line) will be stored. If a
null pointer is passed, no information will be written.
, the length of the character string buffer. If the string is
string_length
not long enough to accept all of the information, only the first
characters are returned.
string_length
, is an enumerated type specifying what information is required
info
from the driver.
The length of the string written to the character string buffer, string, by
the function. If one of the parameters are out of range, or a null pointer
is passed for string, zero will be returned.
picopp.sys
.
( void)
if no oscilloscope is found or a
0
char * string,
short string_length,
short info
)
Technical reference
, is installed in Windows, It
14

Werbung

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Picoscope 3205Picoscope 3206

Inhaltsverzeichnis