Pico Communications PicoScope 2104, PicoScope 2105 Technical reference, Driver error codes

Page 10

8

PicoScope 2104 & 2105 PC Oscilloscope User Guide

3

3.1

Technical reference

Driver

Once you have installed the PicoScope and PicoLog software, Windows will automatically install the driver when the PicoScope PC Oscilloscope is plugged in for the first time.

The Windows 98SE/ME/2000/XP/2003 32-bit driver, picopp.sys, is installed in the Windows directory. It is loaded using an inf file, picopp.inf.

3.2Driver error codes

This section is aimed at those people who intend to write their own programs for use with the driver. A description of the driver error codes is given below. If the PicoScope or PicoLog software reports an error, refer to the FAQ.

Code

Enumeration

Description

 

 

 

0

PS2000_OK

The PicoScope 2000 Series unit is functioning

 

 

correctly.

1

PS2000_MAX_UNITS_OPENED

Attempts have been made to open more than

 

 

PS2000_MAX_UNITS units.

2

PS2000_MEM_FAIL

Not enough memory could be allocated on the

 

 

host machine.

3

PS2000_NOT_FOUND

No PicoScope 2000 Series unit could be found.

4

PS2000_FW_FAIL

Unable to download firmware.

5

PS2000_NOT_RESPONDING

The PicoScope 2000 Series unit is not responding

 

 

to commands from the PC.

6

PS2000_CONFIG_FAIL

The configuration information in the oscilloscope

 

 

has become corrupt or is missing.

7

PS2000_OS_NOT_SUPPORTED

The operating system is not one of the supported

 

 

products: Windows 98SE, ME, 2000, XP and

 

 

2003.

 

 

 

PS2100044-1.0

Copyright 2006 Pico Technology Limited. All rights reserved.

Image 10
Contents PicoScope 2104 Table of Contents Overview Safety symbolsIntroduction IntroductionSafety warning FCC noticeCE notice Licence conditionsCompany details WarrantyTrademarks AddressProduct information Minimum system requirementsInput connector Installation instructionsChecking the installation Connectors and controlsSpecifications Technical reference Driver error codesDriver 1 ps2000closeunit Functions2 ps2000flashled 3 ps2000gettimebase 4 ps2000gettimesandvalues 5 ps2000getunitinfo Information returned Example6 ps2000getvalues 7 ps2000lastbuttonpress8 ps2000openunit 9 ps2000readyPs2000runblock 11 ps2000runstreaming Ps2000setchannel Code Enumeration Range13 ps2000setets Ps2000settrigger 15 ps2000stopMore on block mode Advanced featuresSampling modes ETS Equivalent Time Sampling More on streaming modeTriggering Voltage rangesScaling 7 AC/DC operationOversampling Reading VoltageCombining oscilloscopes Using streaming mode Using different modesUsing block mode Using ETS modeGUI example Programming1 C Console exampleExcel Visual BasicDelphi Agilent VEETroubleshooting Software error codesGlossary Glossary PicoScope software Real-time continuous modeStreaming mode TimebaseIndex ETSIndex USBInterworld Electronics & Computers Inc