User Manual
PicoScope 4000 Series Programmer's Guide 19
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved. ps4000pg.en
4.10
API functions
The PicoScope 4000 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.
ps4000BlockReady: receive notification when block-mode data ready
ps4000CloseUnit: close a scope device
ps4000DataReady: indicate when post-collection data ready
ps4000EnumerateUnits: find out how many units are connected
ps4000FlashLed: flash the front-panel LED
ps4000GetChannelInformation: find out if extra ranges available
ps4000GetMaxDownSampleRatio: find out aggregation ratio for data
ps4000GetStreamingLatestValues: get streaming data while scope is running
ps4000GetTimebase: find out what timebases are available
ps4000GetTimebase2: find out what timebases are available
ps4000GetTriggerChannelTimeOffset: get trigger times from specified channel
ps4000GetTriggerChannelTimeOffset64: get trigger times from specified channel
ps4000GetTriggerTimeOffset: find out when trigger occurred (32-bit)
ps4000GetTriggerTimeOffset64: find out when trigger occurred (64-bit)
ps4000GetUnitInfo: read information about scope device
ps4000GetValues: retrieve block-mode data with callback
ps4000GetValuesAsync: retrieve streaming data with callback
ps4000GetValuesBulk: retrieve more than one waveform at a time
ps4000GetValuesTriggerChannelTimeOffsetBulk: retrieve time offset from a channel
ps4000GetValuesTriggerChannelTimeOffsetBulk64: retrieve time offset (64-bit)
ps4000GetValuesTriggerTimeOffsetBulk: retrieve time offset for a group of waveforms
ps4000GetValuesTriggerTimeOffsetBulk64: set the buffers for each waveform (64-bit)
ps4000HoldOff: set up the trigger holdoff
ps4000IsLedFlashing: read status of LED
ps4000IsReady: poll driver in block mode
ps4000IsTriggerOrPulseWidthQualifierEnabled: find out whether trigger is enabled
ps4000MemorySegments: divide scope memory into segments
ps4000NoOfStreamingValues: get number of samples in streaming mode
ps4000OpenUnit: open a scope device
ps4000OpenUnitAsync: open a scope device without waiting
ps4000OpenUnitAsyncEx: open a specified device without waiting
ps4000OpenUnitEx: open a specified device
ps4000OpenUnitProgress: check progress of OpenUnit call
ps4000RunBlock: start block mode
ps4000RunStreaming: start streaming mode
ps4000RunStreamingEx: start streaming mode with a specified data reduction mode
ps4000SetChannel: set up input channels
ps4000SetDataBuffer: register data buffer with driver
ps4000SetDataBufferBulk: set the buffers for each waveform
ps4000SetDataBuffers: register min/max data buffers with driver
ps4000SetDataBuffersWithMode: register data buffers and specify aggregation mode
ps4000SetDataBufferWithMode: register data buffer and specify aggregation mode
ps4000SetEts: set up equivalent-time sampling (ETS)
ps4000SetEtsTimeBuffer: set up 64-bit buffer for ETS time data
ps4000SetEtsTimeBuffers: set up 32-bit buffers for ETS time data
ps4000SetExtTriggerRange: set EXT trigger input range
ps4000SetPulseWidthQualifier: set up pulse width triggering
ps4000SetSigGenArbitrary: set up arbitrary waveform generator
ps4000SetSigGenBuiltIn: set up function generator
ps4000SetSimpleTrigger: set up level triggers only
ps4000SetTriggerChannelConditions: specify which channels to trigger on
ps4000SetTriggerChannelDirections: set up signal polarities for triggering
ps4000SetTriggerChannelProperties: set up trigger thresholds
ps4000SetTriggerDelay: set up post-trigger delay
ps4000SigGenSoftwareControl: trigger the signal generator
ps4000Stop: stop data capture
ps4000StreamingReady: indicate when streaming-mode data ready