pico Technology PicoScope 5000 Series User Manual

pico Technology PicoScope 5000 Series User Manual

Pc oscilloscopes
Table of Contents

Advertisement

Quick Links

PicoScope 5000 Series
PC Oscilloscopes
User's Guide
ps5000.en-5
Copyright © 2006-2007 Pico Technology Limited. All rights reserved.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PicoScope 5000 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for pico Technology PicoScope 5000 Series

  • Page 1 PicoScope 5000 Series PC Oscilloscopes User's Guide ps5000.en-5 Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 3: Table Of Contents

    9 Timebases ............................24 10 Combining several oscilloscopes ............................25 11 API function calls ............................26 1 ps5000BlockReady ............................27 2 ps5000CloseUnit ............................28 3 ps5000DataReady ............................29 4 ps5000FlashLed ............................30 5 ps5000GetMaxDownSampleRatio ............................31 6 ps5000GetStreamingLatestValues Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 4 ............................73 39 ps5000SetTriggerDelay ............................74 40 ps5000SigGenSoftwareControl ............................75 41 ps5000Stop ............................76 42 ps5000StreamingReady ............................77 12 Programming examples ............................77 ............................77 2 Delphi ............................78 13 Driver error codes 5 Glossary .............................81 ..............................83 Index ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 5: Welcome

    Here are some of the benefits provided by your new PicoScope 5000 Series PC Oscilloscope: Portability: Take the unit with you and plug it in to any Windows PC.
  • Page 6: Introduction

    The abbreviations MS/s and GS/s are used in this guide to mean megasamples per second and gigasamples per second respectively. Safety symbols The following symbols appear on the front panel of the PicoScope 5000 Series PC Oscilloscope. Symbol 1: Warning triangle This symbol indicates that a safety hazard exists on the indicated connections if correct precautions are not taken.
  • Page 7: Safety Warning

    Safety grounding PicoScope 5000 Series PC Oscilloscopes connect directly to the ground of a computer through the USB cable provided to minimise interference. As with most oscilloscopes, avoid connecting the ground input to any potential other than ground.
  • Page 8: Fcc Notice

    For safety and maintenance information see the safety warning CE notice The PicoScope 5000 Series PC Oscilloscopes meet the intent of the EMC directive 89/336/EEC and have been designed to EN61326-1 (1997) Class A Emissions and Immunity standard. PicoScope 5000 Series PC Oscilloscopes also meet the intent of the Low Voltage...
  • Page 9: Software Licence Conditions

    Liability Pico Technology and its agents shall not be liable for any loss, damage or injury, howsoever caused, related to the use of Pico Technology equipment or software, unless excluded by statute.
  • Page 10: Warranty

    Goods will be free from defects in material and workmanship. Pico Technology shall not be liable for a breach of the warranty if the defect has been caused by fair wear and tear, wilful damage, negligence, abnormal working conditions...
  • Page 11: Product Information

    Product information Product information What do I get? Your PicoScope 5000 Series PC Oscilloscope kit contains the following items: Reorder Quantity Description code PR088 PicoScope 5203 scope unit (PicoScope 5203 kit only) PR089 PicoScope 5204 scope unit (PicoScope 5204 kit only)
  • Page 12: Installation Instructions

    Moving your PicoScope PC Oscilloscope to another USB port Windows XP SP2 When you first installed the PicoScope 5000 Series PC Oscilloscope by plugging it into port, Windows associated the Pico driver with that port. If you later move the oscilloscope to a different USB port, Windows will display the "New Hardware...
  • Page 13: Connections

    10. Cooling holes. There is a low-noise fan inside the unit that blows air through these holes. Do not block the cooling holes or insert any objects through them, as this could damage the unit or cause injury. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 14: Auxio Connector

    Signal generator output specifications Refer to the Specifications table. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 15: Specifications

    170 mm x 255 mm x 40 mm (6.7" x 10.0" x 1.6") Weight 0.9 kg (31.7 oz) Compliance European EMC and LVD standards FCC Rules Part 15 Class A Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 16: Programming With The Picoscope 5000 Series

    USB 1.1 and USB 2.0, although the fastest transfer rates are achieved between the PC and the PicoScope 5000 using USB 2.0. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 17: Voltage Ranges

    The lower -3 dB cutoff frequency is about 1 hertz. Triggering PicoScope 5000 Series PC Oscilloscopes can either start collecting data immediately, or be programmed to wait for a trigger event to occur. In both cases you need to use the PicoScope 5000 trigger functions .
  • Page 18: Sampling Modes

    These features are handled transparently by the driver. Sampling rate. A PicoScope 5000 Series PC Oscilloscope can sample at a number of different rates according to the selected timebase.
  • Page 19 Transfer the block of data from the oscilloscope using ps5000GetValues. Display the data. Repeat steps 8 to 12. Stop the oscilloscope using ps5000Stop Request new views of stored data using different aggregation parameters: see Retrieving stored data. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 20: Rapid Block Mode

    In normal block mode, the PicoScope 5000 series scopes collect one waveform at a time. You start the the device running, wait until all samples are collected by the device, and then download the data to the PC or start another run. There is a time overhead of tens of milliseconds associated with starting a run, causing a gap between waveforms.
  • Page 21 &noOfSamples, // set to MAX_SAMPLES on entering the function // fromSegmentIndex, // toSegmentIndex, Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 22 Comments: the set-up for running the device is exactly the same whether or not aggregation will be used when you retrieve the samples. for (int c = PS5000_CHANNEL_A; c <= PS5000_CHANNEL_D; c++) ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 23: Ets (Equivalent Time Sampling)

    The maximum effective sampling rates that can be achieved with this method are listed in the Specifications table. Trigger source. The AUXIO inputs cannot be used as triggers in ETS mode. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 24: Streaming Mode

    PC. However, this increases the risk of losing data if the PC cannot keep up with the device's sampling rate. Using streaming mode for programming details. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 25: Retrieving Stored Data

    You can collect data from the PicoScope 5000 driver with a different aggregation factor when ps5000RunBlock ps5000RunStreaming has already been called and has successfully captured all the data. Use ps5000GetValuesAsync. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 26: Oversampling

    Cannot be used at the same time as aggregation. Signal generator The PicoScope 5000 Series PC Oscilloscopes have a built-in signal generator The generator's clock frequency is fixed, and a phase counter is used to index successive samples in the waveform buffer. This method is called direct digital synthesis (DDS), and is discussed in detail under ps5000SetSigGenArbitrary.
  • Page 27: Timebases

    > 2 (timebase - 2) / 125,000,000 For example: - 3 => 8 ns 4 => 16 ns 5 => 24 ns -1 => ~34 s Applicability ps5000GetTimebase API call. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 28: Combining Several Oscilloscopes

    = FALSE while not ready ready = handle1_ready ready &= handle2_ready Note: It is not possible to synchronise the collection of data between oscilloscopes that are being used in combination. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 29: Api Function Calls

    Programming with the PicoScope 5000 Series 4.11 API function calls The PicoScope 5000 Series API exports the following functions for you to use in your own applications. All functions are C functions using the standard call naming convention ( __stdcall They are all exported with both decorated and undecorated names.
  • Page 30: Ps5000Blockready

    . The pParameter, callback function can write to this location to send any data, such as a status flag, back to your application. Returns nothing ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 31: Ps5000Closeunit

    This function shuts down a PicoScope 5000 scope device. Applicability All modes Arguments the handle, returned by ps5000OpenUnit , of the scope handle, device to be closed. PICO_OK Returns PICO_HANDLE_INVALID Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 32: Ps5000Dataready

    This function handles post-collection data returned by the driver after a call to ps5000GetValuesAsync . It is a callback function that is part of your application. You register it with the PicoScope 5000 series driver using ps5000GetValuesAsync, and the driver calls it back when the data is ready. Applicability All modes.
  • Page 33: Ps5000Flashled

    > 0 : flash the LED times. If the LED is already start flashing on entry to this function, the flash count will be reset to start. PICO_OK Returns PICO_HANDLE_INVALID PICO_BUSY Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 34: Ps5000Getmaxdownsampleratio

    PICO_OK Returns PICO_INVALID_HANDLE PICO_NO_SAMPLES_AVAILABLE PICO_NULL_PARAMETER PICO_INVALID_PARAMETER PICO_SEGMENT_OUT_OF_RANGE PICO_TOO_MANY_SAMPLES ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 35: Ps5000Getstreaminglatestvalues

    PICO_OK Returns PICO_INVALID_HANDLE PICO_NO_SAMPLES_AVAILABLE PICO_INVALID_CALL PICO_BUSY PICO_NOT_RESPONDING Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 36: Ps5000Gettimebase

    If this pointer is null, nothing will be written here. the number of the memory segment to use. segmentIndex, PICO_OK Returns PICO_INVALID_HANDLE PICO_TOO_MANY_SAMPLES PICO_INVALID_CHANNEL PICO_INVALID_TIMEBASE PICO_INVALID_PARAMETER ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 37: Ps5000Gettriggertimeoffset

    The allowable values include: - timeLower PS5000_NS PS5000_US PS5000_MS PS5000_S the number of the memory segment for which segmentIndex, the information is required. PICO_OK Returns PICO_INVALID_HANDLE PICO_DEVICE_SAMPLING PICO_SEGMENT_OUT_OF_RANGE PICO_NULL_PARAMETER PICO_NO_SAMPLES_AVAILABLE Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 38: Ps5000Gettriggertimeoffset64

    The allowable values include: - timeLower PS5000_NS PS5000_US PS5000_MS PS5000_S the number of the memory segment for which segmentIndex, the information is required PICO_OK Returns PICO_INVALID_HANDLE PICO_DEVICE_SAMPLING PICO_SEGMENT_OUT_OF_RANGE PICO_NULL_PARAMETER PICO_NO_SAMPLES_AVAILABLE ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 39: Ps5000Getunitinfo

    Hardware version of device PICO_VARIANT_INFO 5204 Variant number of device PICO_BATCH_AND_SERIAL KJL87/6 Batch and serial number of device PICO_CAL_DATE 07Feb07 Calibration date of device PICO_KERNEL_VERSION 1,1,2,4 Version of kernel driver Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 40: Ps5000Getvalues

    It is a bit pattern with bit 0 denoting Channel A and bit 1 Channel B. PICO_OK Returns PICO_INVALID_HANDLE PICO_NO_SAMPLES_AVAILABLE PICO_DEVICE_SAMPLING PICO_NULL_PARAMETER PICO_SEGMENT_OUT_OF_RANGE PICO_INVALID_PARAMETER PICO_TOO_MANY_SAMPLES PICO_DATA_NOT_AVAILABLE PICO_STARTINDEX_INVALID PICO_INVALID_SAMPLERATIO PICO_INVALID_CALL PICO_NOT_RESPONDING PICO_MEMORY ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 41: Ps5000Getvaluesasync

    The data type depends on the design of the callback function, which is determined by the application programmer. PICO_OK Returns PICO_INVALID_HANDLE PICO_NO_SAMPLES_AVAILABLE – streaming only PICO_DEVICE_SAMPLING PICO_NULL_PARAMETER PICO_STARTINDEX_INVALID PICO_SEGMENT_OUT_OF_RANGE PICO_INVALID_PARAMETER PICO_DATA_NOT_AVAILABLE PICO_INVALID_SAMPLERATIO PICO_INVALID_CALL Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 42: Ps5000Getvaluesbulk

    * overflow, be retrieved. Each segment index has a separate overflow element, with containing the overflow[0] fromSegmentIndex and the last index the toSegmentIndex PICO_OK Returns PICO_INVALID_HANDLE PICO_INVALID_PARAMETER PICO_SEGMENT_OUT_OF_RANGE PICO_NO_SAMPLES_AVAILABLE PICO_STARTINDEX_INVALID PICO_NOT_RESPONDING ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 43: Ps5000Getvaluestriggertimeoffsetbulk

    If is less than then toSegmentIndex fromSegmentIndex the driver will wrap around from the last segment to the first. PICO_OK Returns PICO_INVALID_HANDLE PICO_NULL_PARAMETER PICO_DEVICE_SAMPLING PICO_SEGMENT_OUT_OF_RANGE PICO_NO_SAMPLES_AVAILABLE Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 44: Ps5000Getvaluestriggertimeoffsetbulk64

    The result will be placed in the last elements of the times arrays. If is less than timeUnits toSegmentIndex then the driver will wrap around from the last fromSegmentIndex segment to the first. PICO_OK Returns PICO_INVALID_HANDLE PICO_NULL_PARAMETER PICO_DEVICE_SAMPLING PICO_SEGMENT_OUT_OF_RANGE PICO_NO_SAMPLES_AVAILABLE ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 45: Ps5000Isledflashing

    Arguments the handle of the scope device handle, returns a flag indicating the status of the LED: - status, <> 0 : flashing : not flashing PICO_OK Returns PICO_HANDLE_INVALID PICO_NULL_PARAMETER Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 46: Ps5000Istriggerorpulsewidthqualifierenabled

    A non-zero value indicates that the pulse width qualifier is set, otherwise the pulse width qualifier is not set. PICO_OK Returns PICO_INVALID_HANDLE PICO_NULL_PARAMETER ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 47: Ps5000Memorysegments

    PICO_OK Returns PICO_USER_CALLBACK PICO_INVALID_HANDLE PICO_TOO_MANY_SEGMENTS PICO_MEMORY Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 48: Ps5000Noofstreamingvalues

    This function returns the available number of samples from a streaming run. Applicability Streaming mode . Call after ps5000Stop. Arguments the handle of the required device handle, returns the number of samples noOfValues, PICO_OK Returns PICO_INVALID_HANDLE PICO_NULL_PARAMETER PICO_NO_SAMPLES_AVAILABLE PICO_NOT_USED PICO_BUSY ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 49: Ps5000Openunit

    > 0 : if successful (value is handle to the device opened) The handle number must be used in all subsequent calls to API functions to identify this scope device. PICO_OK Returns PICO_OS_NOT_SUPPORTED PICO_OPEN_OPERATION_IN_PROGRESS PICO_EEPROM_CORRUPT PICO_KERNEL_DRIVER_TOO_OLD PICO_FW_FAIL PICO_MAX_UNITS_OPENED PICO_NOT_FOUND PICO_NOT_RESPONDING Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 50: Ps5000Openunitasync

    Arguments , pointer to a short that indicates: status 0 if there is already an open operation in progress 1 if the open operation is initiated PICO_OK Returns PICO_OPEN_OPERATION_IN_PROGRESS PICO_OPERATION_FAILED ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 51: Ps5000Openunitprogress

    100% implies that the open operation is complete. pointer to a short that is set to 1 when the open complete, operation has finished PICO_OK Returns PICO_NULL_PARAMETER PICO_OPERATION_FAILED Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 52: Ps5000Runblock

    The number of samples is determined by noOfPreTriggerSamples (see below for details). The total number of samples noOfPostTriggerSamples must not be more than the memory depth of the segment referred to by segmentIndex. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 53 The callback can use the pointer to return arbitrary data to your application. PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK PICO_SEGMENT_OUT_OF_RANGE PICO_INVALID_CHANNEL PICO_INVALID_TRIGGER_CHANNEL PICO_INVALID_CONDITION_CHANNEL PICO_TOO_MANY_SAMPLES PICO_INVALID_TIMEBASE PICO_NOT_RESPONDING PICO_CONFIG_FAIL PICO_INVALID_PARAMETER PICO_NOT_RESPONDING PICO_WARNING_AUX_OUTPUT_CONFLICT PICO_WARNING_EXT_THRESHOLD_CONFLICT PICO_TRIGGER_ERROR Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 54: Ps5000Runstreaming

    When a trigger is set, the sum of maxPreTriggerSamples is the total number of samples stored in the driver. If maxPostTriggerSamples is false then this will become the maximum number of unaggregated autoStop samples. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 55 The size is the same as the value bufferLth passed to ps5000SetDataBuffer. PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK PICO_NULL_PARAMETER PICO_INVALID_PARAMETER PICO_STREAMING_FAILED PICO_NOT_RESPONDING PICO_TRIGGER_ERROR PICO_INVALID_SAMPLE_INTERVAL PICO_INVALID_BUFFER Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 56: Ps5000Setchannel

    PICO_INVALID_HANDLE PICO_INVALID_CHANNEL PICO_INVALID_VOLTAGE_RANGE Voltage range range PS5000_100MV ±100 mV PS5000_200MV ±200 mV PS5000_500MV ±500 mV PS5000_1V ±1 V PS5000_2V ±2 V PS5000_5V ±5 V PS5000_10V ±10 V PS5000_20V ±20 V ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 57: Ps5000Setdatabuffer

    - PS5000_CHANNEL_A PS5000_CHANNEL_B a buffer to receive the data values buffer, the size of the array bufferLth, buffer PICO_OK Returns PICO_INVALID_HANDLE PICO_INVALID_CHANNEL Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 58: Ps5000Setdatabufferbulk

    * buffer, the size of the buffer bufferLth, an index to the waveform number, between waveform, nCaptures - 1 PICO_OK Returns PICO_INVALID_HANDLE PICO_INVALID_CHANNEL PICO_INVALID_PARAMETER ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 59: Ps5000Setdatabuffers

    > 1. Not used when is 1. downSampleRatio downSampleRatio specifies the size of the bufferLth, bufferMax bufferMin arrays. PICO_OK Returns PICO_INVALID_HANDLE PICO_INVALID_CHANNEL Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 60: Ps5000Setets

    20 ns and the interleave is 10, the approximate time per sample will be 2 ns. returns the effective sample time used sampleTimePicoseconds, by the function PICO_OK Returns PICO_USER_CALLBACK PICO_INVALID_HANDLE PICO_INVALID_PARAMETER ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 61: Ps5000Setetstimebuffer

    8-byte words, the time in buffer, nanoseconds at which the first data point occurred the size of the buffer array bufferLth, PICO_OK Returns PICO_INVALID_HANDLE PICO_NULL_PARAMETER Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 62: Ps5000Setetstimebuffers

    4-byte words, the time in timeLower, nanoseconds at which the first data point occurred, bottom 32 bits only the size of the arrays bufferLth, timeUpper timeLower PICO_OK Returns PICO_INVALID_HANDLE PICO_NULL_PARAMETER ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 63: Ps5000Setnoofcaptures

    If you do not call this function before a run, the driver will capture one waveform. Applicability Rapid block mode Arguments the handle of the device handle, the number of waveforms to be captured in one run nCaptures, PICO_OK Returns PICO_INVALID_HANDLE PICO_INVALID_PARAMETER Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 64: Ps5000Setpulsewidthqualifier

    (pulse width less than PW_TYPE_LESS_THAN lower (pulse width greater than PW_TYPE_GREATER_THAN lower (pulse width between PW_TYPE_IN_RANGE lower upper (pulse width not between PW_TYPE_OUT_OF_RANGE lower upper PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK PICO_CONDITIONS PICO_PULSE_WIDTH_QUALIFIER ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 65 Use these constants: - CONDITION_DONT_CARE CONDITION_TRUE CONDITION_FALSE The channels that are set to CONDITION_TRUE must all meet their conditions simultaneously to CONDITION_FALSE produce a trigger. Channels set to CONDITION_DONT_CARE ignored. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 66: Ps5000Setsiggenarbitrary

    This determines dwellCount the amount by which the generator sweeps the output frequency in each dwell period. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 67 Use one of the constants: SINGLE DUAL QUAD ps5000SigGenBuiltIn shots, ps5000SigGenBuiltIn sweeps, ps5000SigGenBuiltIn triggerType, ps5000SigGenBuiltIn triggerSource, ps5000SigGenBuiltIn extInThreshold, PICO_OK Returns PICO_INVALID_HANDLE PICO_SIG_GEN_PARAM PICO_SHOTS_SWEEPS_WARNING PICO_NOT_RESPONDING PICO_WARNING_AUX_OUTPUT_CONFLICT PICO_WARNING_EXT_THRESHOLD_CONFLICT PICO_NO_SIGNAL_GENERATOR PICO_SIGGEN_OFFSET_VOLTAGE PICO_SIGGEN_PK_TO_PK PICO_SIGGEN_OUTPUT_OVER_VOLTAGE Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 68 This allows you to specify only the first quarter of a waveform with fourfold symmetry, such as a sine wave, and let the generator fill in the other three quarters. ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 69: Ps5000Setsiggenbuiltin

    Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 70 ADC count must be specified in both places, otherwise a warning will be issued. PICO_OK Returns PICO_INVALID_HANDLE PICO_SIG_GEN_PARAM PICO_SHOTS_SWEEPS_WARNING PICO_NOT_RESPONDING PICO_WARNING_AUX_OUTPUT_CONFLICT PICO_WARNING_EXT_THRESHOLD_CONFLICT PICO_NO_SIGNAL_GENERATOR PICO_SIGGEN_OFFSET_VOLTAGE PICO_SIGGEN_PK_TO_PK PICO_SIGGEN_OUTPUT_OVER_VOLTAGE ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 71 SIGGEN_NONE run without waiting for trigger SIGGEN_SCOPE_TRIG use scope trigger SIGGEN_AUX_IN AUXIO input SIGGEN_EXT_IN EXT input SIGGEN_SOFT_TRIG wait for software trigger provided by ps5000SigGenSoftwareControl Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 72: Ps5000Settriggerchannelconditions

    When there are several elements, the overall trigger condition is the logical OR of all the elements. the number of elements in the array. nConditions, conditions is zero then triggering is switched off. nConditions PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK PICO_CONDITIONS PICO_MEMORY_FAIL ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 73 The channels that are set to CONDITION_TRUE must all meet their conditions simultaneously to CONDITION_FALSE produce a trigger. Channels set to CONDITION_DONT_CARE ignored. The EXT and AUX inputs are ignored in mode. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 74: Ps5000Settriggerchanneldirections

    ENTER for window triggers: entering the window EXIT for window triggers: leaving the window ENTER_OR_EXIT for window triggers: either entering or leaving the window NONE no trigger ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 75: Ps5000Settriggerchannelproperties

    If this is set to zero, the scope device will wait indefinitely for a trigger. This parameter is ignored in mode. PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK PICO_TRIGGER_ERROR PICO_MEMORY_FAIL Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 76 It is scaled in 16-bit counts. the channel to which the properties apply. See channel, ps5000SetChannel for possible values. either a level or window trigger. Use one of these thresholdMode, constants: - LEVEL WINDOW ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 77: Ps5000Settriggerdelay

    800 sample periods before sampling. At timebase of 500 MS/s, or 2 ns per sample ( =1), the timebase total delay would then be 800 x 2 ns = 1.6 µs. PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 78: Ps5000Siggensoftwarecontrol

    Ignored SIGGEN_GATE_HIGH SIGGEN_GATE_LOW. for other trigger types. PICO_OK Returns PICO_INVALID_HANDLE PICO_NO_SIGNAL_GENERATOR PICO_SIGGEN_TRIGGER_SOURCE ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 79: Ps5000Stop

    Always call this function after the end of a capture to ensure that the scope is ready for the next capture. Applicability All modes Arguments the handle of the required device. handle, PICO_OK Returns PICO_INVALID_HANDLE PICO_USER_CALLBACK Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 80: Ps5000Streamingready

    The callback function can write to this location to send any data, such as a status flag, back to the application. Returns nothing ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 81: Programming Examples

    PicoScope 5000 Series PC The file: ps5000.inc contains procedure prototypes that you can include in your own programs. Other required files are: ps5000.res ps5000fm.dfm ps5000fm.pas This has been tested with Delphi version 3. Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 82: Driver Error Codes

    PICO_DATA_NOT_AVAILABLE No data is available from a run block call PICO_STRING_BUFFER_TOO_SMALL The buffer passed for the information was too small PICO_ETS_NOT_SUPPORTED ETS is not supported on this device variant ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 83 PICO_AUX_OUTPUT_CONFLICT ps5000SetTrigger has found a conflict between the trigger source and the AUXIO output enable PICO_AUX_OUTPUT_ETS_CONFLICT ETS mode is being used and AUXIO is set as an input Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 84 PICO_INVALID_CALL The wrong GetValues function has been called for the collection mode in PICO_NOT_USED PICO_INVALID_SAMPLERATIO aggregation ratio requested is out of range PICO_INVALID_STATE Device is in an invalid state ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 85: Glossary

    Note: cannot be used for one-shot signals. External trigger. The BNC socket marked EXT on the PicoScope 5000 Series PC Oscilloscopes. It can be used as a trigger input.
  • Page 86 PC Oscilloscope. A virtual instrument formed by connecting a PicoScope 5000 Series scope unit to a computer running the PicoScope software. PicoScope 5000 Series. Pico Technology's fifth generation of PC Oscilloscopes.
  • Page 87: Index

    Connections ps5000OpenUnitProgress Contact details ps5000RunBlock ps5000RunStreaming ps5000SetChannel ps5000SetDataBuffer Data acquisition ps5000SetDataBufferBulk Data buffers, setting 53, 55 ps5000SetDataBuffers Delphi programming ps5000SetEts Dimensions ps5000SetEtsTimeBuffer Disk space ps5000SetEtsTimeBuffers Driver ps5000SetNoOfCaptures error codes ps5000SetPulseWidthQualifier Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 88 Specifications Oscilloscope probe Stopping sampling Outputs Storage environment Overload protection Streaming mode 14, 20 Oversampling getting number of values retrieving data starting using (API) PC connection Sweep Pico Technical Support ps5000.en Copyright © 2006-2007 Pico Technology Limited. All rights reserved.
  • Page 89 33, 34 TRIGGER_CHANNEL_PROPERTIES structure TRIGGER_CONDITIONS structure 7, 12 changing ports Vertical resolution 11, 22 Voltage ranges 11, 13 Warranty Weight WINDOW constant Windows, Microsoft Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 91 Copyright © 2006-2007 Pico Technology Limited. All rights reserved. ps5000.en...
  • Page 92 Pico Technology Ltd The Mill House Cambridge Street St Neots PE19 1QB United Kingdom Tel: +44 (0) 1480 396 395 Fax: +44 (0) 1480 396 296 Web: www.picotech.com ps5000.en-5 23.10.07 Copyright © 2006-2007 Pico Technology Limited. All rights reserved.

This manual is also suitable for:

Picoscope 5203Picoscope 5204

Table of Contents