Struct pico_sys_dynamic::ps5000a::PS5000ALoader[][src]

pub struct PS5000ALoader {
    pub ps5000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>,
    pub ps5000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>,
    pub ps5000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>,
    pub ps5000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>,
    pub ps5000aIsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps5000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>,
    pub ps5000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS5000A_CHANNEL, enabled: i16, type_: PS5000A_COUPLING, range: PS5000A_RANGE, analogOffset: f32) -> PICO_STATUS, Error>,
    pub ps5000aSetDigitalPort: Result<unsafe extern "C" fn(handle: i16, port: PS5000A_CHANNEL, enabled: i16, logicLevel: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetBandwidthFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS5000A_CHANNEL, bandwidth: PS5000A_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>,
    pub ps5000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aNearestSampleIntervalStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS5000A_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PS5000A_DEVICE_RESOLUTION, useEts: u16, timebase: *mut u32, timeIntervalAvailable: *mut f64) -> PICO_STATUS, Error>,
    pub ps5000aGetMinimumTimebaseStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS5000A_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>,
    pub ps5000aChannelCombinationsStateless: Result<unsafe extern "C" fn(handle: i16, channelOrPortFlagsCombinations: *mut PS5000A_CHANNEL_FLAGS, nChannelCombinations: *mut u32, resolution: PS5000A_DEVICE_RESOLUTION, timebase: u32, hasDcPowerSupplyConnected: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetSigGenArbitrary: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, arbitraryWaveform: *mut i16, arbitraryWaveformSize: i32, sweepType: PS5000A_SWEEP_TYPE, operation: PS5000A_EXTRA_OPERATIONS, indexMode: PS5000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS5000A_WAVE_TYPE, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: PS5000A_SWEEP_TYPE, operation: PS5000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS5000A_WAVE_TYPE, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS5000A_SWEEP_TYPE, operation: PS5000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS5000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS5000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps5000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS5000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>,
    pub ps5000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>,
    pub ps5000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS5000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS5000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerChannelPropertiesV2: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS5000A_TRIGGER_CHANNEL_PROPERTIES_V2, nChannelProperties: i16, auxOutputEnable: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetAutoTriggerMicroSeconds: Result<unsafe extern "C" fn(handle: i16, autoTriggerMicroseconds: u64) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerChannelConditionsV2: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_CONDITION, nConditions: i16, info: PS5000A_CONDITIONS_INFO) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: PS5000A_THRESHOLD_DIRECTION, channelB: PS5000A_THRESHOLD_DIRECTION, channelC: PS5000A_THRESHOLD_DIRECTION, channelD: PS5000A_THRESHOLD_DIRECTION, ext: PS5000A_THRESHOLD_DIRECTION, aux: PS5000A_THRESHOLD_DIRECTION) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerChannelDirectionsV2: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIRECTION, nDirections: u16) -> PICO_STATUS, Error>,
    pub ps5000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, channel: PS5000A_CHANNEL, threshold: i16, direction: PS5000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>,
    pub ps5000aSetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_PWQ_CONDITIONS, nConditions: i16, direction: PS5000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS5000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>,
    pub ps5000aSetPulseWidthQualifierProperties: Result<unsafe extern "C" fn(handle: i16, lower: u32, upper: u32, type_: PS5000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>,
    pub ps5000aSetPulseWidthQualifierConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_CONDITION, nConditions: i16, info: PS5000A_CONDITIONS_INFO) -> PICO_STATUS, Error>,
    pub ps5000aSetPulseWidthQualifierDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>,
    pub ps5000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS5000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS5000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS5000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS5000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, source: PS5000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS5000A_RATIO_MODE) -> PICO_STATUS, Error>,
    pub ps5000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, source: PS5000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS5000A_RATIO_MODE) -> PICO_STATUS, Error>,
    pub ps5000aSetUnscaledDataBuffers: Result<unsafe extern "C" fn(handle: i16, source: PS5000A_CHANNEL, bufferMax: *mut i8, bufferMin: *mut i8, bufferLth: i32, segmentIndex: u32, mode: PS5000A_RATIO_MODE) -> PICO_STATUS, Error>,
    pub ps5000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>,
    pub ps5000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>,
    pub ps5000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps5000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>,
    pub ps5000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS5000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs5000aReady: ps5000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>,
    pub ps5000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>,
    pub ps5000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>,
    pub ps5000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aTriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(handle: i16, state: PS5000A_TRIGGER_WITHIN_PRE_TRIGGER) -> PICO_STATUS, Error>,
    pub ps5000aGetTriggerInfoBulk: Result<unsafe extern "C" fn(handle: i16, triggerInfo: *mut PS5000A_TRIGGER_INFO, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps5000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS5000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>,
    pub ps5000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PS5000A_RANGE, coupling: PS5000A_COUPLING, maximumVoltage: *mut f32, minimumVoltage: *mut f32) -> PICO_STATUS, Error>,
    pub ps5000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>,
    pub ps5000aChangePowerSource: Result<unsafe extern "C" fn(handle: i16, powerState: PICO_STATUS) -> PICO_STATUS, Error>,
    pub ps5000aCurrentPowerSource: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps5000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps5000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps5000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>,
    pub ps5000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>,
    pub ps5000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>,
    pub ps5000aSetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>,
    pub ps5000aGetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: *mut PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>,
    pub ps5000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>,
    pub ps5000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>,
    pub ps5000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PS5000A_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>,
    pub ps5000aCheckForUpdate: Result<unsafe extern "C" fn(handle: i16, current: *mut PICO_VERSION, update: *mut PICO_VERSION, updateRequired: *mut u16) -> PICO_STATUS, Error>,
    pub ps5000aStartFirmwareUpdate: Result<unsafe extern "C" fn(handle: i16, progress: PicoUpdateFirmwareProgress) -> PICO_STATUS, Error>,
    // some fields omitted
}

Fields

ps5000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>ps5000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>ps5000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>ps5000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>ps5000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>ps5000aIsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>ps5000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps5000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>ps5000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS5000A_CHANNEL, enabled: i16, type_: PS5000A_COUPLING, range: PS5000A_RANGE, analogOffset: f32) -> PICO_STATUS, Error>ps5000aSetDigitalPort: Result<unsafe extern "C" fn(handle: i16, port: PS5000A_CHANNEL, enabled: i16, logicLevel: i16) -> PICO_STATUS, Error>ps5000aSetBandwidthFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS5000A_CHANNEL, bandwidth: PS5000A_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>ps5000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>ps5000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>ps5000aNearestSampleIntervalStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS5000A_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PS5000A_DEVICE_RESOLUTION, useEts: u16, timebase: *mut u32, timeIntervalAvailable: *mut f64) -> PICO_STATUS, Error>ps5000aGetMinimumTimebaseStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS5000A_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>ps5000aChannelCombinationsStateless: Result<unsafe extern "C" fn(handle: i16, channelOrPortFlagsCombinations: *mut PS5000A_CHANNEL_FLAGS, nChannelCombinations: *mut u32, resolution: PS5000A_DEVICE_RESOLUTION, timebase: u32, hasDcPowerSupplyConnected: i16) -> PICO_STATUS, Error>ps5000aSetSigGenArbitrary: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, arbitraryWaveform: *mut i16, arbitraryWaveformSize: i32, sweepType: PS5000A_SWEEP_TYPE, operation: PS5000A_EXTRA_OPERATIONS, indexMode: PS5000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps5000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS5000A_WAVE_TYPE, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: PS5000A_SWEEP_TYPE, operation: PS5000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps5000aSetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS5000A_WAVE_TYPE, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS5000A_SWEEP_TYPE, operation: PS5000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps5000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS5000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps5000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS5000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS5000A_SIGGEN_TRIG_TYPE, triggerSource: PS5000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps5000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS5000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>ps5000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>ps5000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>ps5000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS5000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>ps5000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS5000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>ps5000aSetTriggerChannelPropertiesV2: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS5000A_TRIGGER_CHANNEL_PROPERTIES_V2, nChannelProperties: i16, auxOutputEnable: i16) -> PICO_STATUS, Error>ps5000aSetAutoTriggerMicroSeconds: Result<unsafe extern "C" fn(handle: i16, autoTriggerMicroseconds: u64) -> PICO_STATUS, Error>ps5000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>ps5000aSetTriggerChannelConditionsV2: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_CONDITION, nConditions: i16, info: PS5000A_CONDITIONS_INFO) -> PICO_STATUS, Error>ps5000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: PS5000A_THRESHOLD_DIRECTION, channelB: PS5000A_THRESHOLD_DIRECTION, channelC: PS5000A_THRESHOLD_DIRECTION, channelD: PS5000A_THRESHOLD_DIRECTION, ext: PS5000A_THRESHOLD_DIRECTION, aux: PS5000A_THRESHOLD_DIRECTION) -> PICO_STATUS, Error>ps5000aSetTriggerChannelDirectionsV2: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIRECTION, nDirections: u16) -> PICO_STATUS, Error>ps5000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, channel: PS5000A_CHANNEL, threshold: i16, direction: PS5000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>ps5000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>ps5000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>ps5000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>ps5000aSetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_PWQ_CONDITIONS, nConditions: i16, direction: PS5000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS5000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>ps5000aSetPulseWidthQualifierProperties: Result<unsafe extern "C" fn(handle: i16, lower: u32, upper: u32, type_: PS5000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>ps5000aSetPulseWidthQualifierConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS5000A_CONDITION, nConditions: i16, info: PS5000A_CONDITIONS_INFO) -> PICO_STATUS, Error>ps5000aSetPulseWidthQualifierDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS5000A_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>ps5000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>ps5000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS5000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>ps5000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS5000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>ps5000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS5000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>ps5000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS5000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>ps5000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, source: PS5000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS5000A_RATIO_MODE) -> PICO_STATUS, Error>ps5000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, source: PS5000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS5000A_RATIO_MODE) -> PICO_STATUS, Error>ps5000aSetUnscaledDataBuffers: Result<unsafe extern "C" fn(handle: i16, source: PS5000A_CHANNEL, bufferMax: *mut i8, bufferMin: *mut i8, bufferLth: i32, segmentIndex: u32, mode: PS5000A_RATIO_MODE) -> PICO_STATUS, Error>ps5000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>ps5000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>ps5000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>ps5000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps5000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>ps5000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS5000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>ps5000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs5000aReady: ps5000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>ps5000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>ps5000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>ps5000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>ps5000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>ps5000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>ps5000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>ps5000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS5000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>ps5000aTriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(handle: i16, state: PS5000A_TRIGGER_WITHIN_PRE_TRIGGER) -> PICO_STATUS, Error>ps5000aGetTriggerInfoBulk: Result<unsafe extern "C" fn(handle: i16, triggerInfo: *mut PS5000A_TRIGGER_INFO, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>ps5000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>ps5000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS5000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>ps5000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>ps5000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>ps5000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PS5000A_RANGE, coupling: PS5000A_COUPLING, maximumVoltage: *mut f32, minimumVoltage: *mut f32) -> PICO_STATUS, Error>ps5000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>ps5000aChangePowerSource: Result<unsafe extern "C" fn(handle: i16, powerState: PICO_STATUS) -> PICO_STATUS, Error>ps5000aCurrentPowerSource: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps5000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps5000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps5000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>ps5000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>ps5000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>ps5000aSetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>ps5000aGetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: *mut PS5000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>ps5000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>ps5000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>ps5000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PS5000A_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>ps5000aCheckForUpdate: Result<unsafe extern "C" fn(handle: i16, current: *mut PICO_VERSION, update: *mut PICO_VERSION, updateRequired: *mut u16) -> PICO_STATUS, Error>ps5000aStartFirmwareUpdate: Result<unsafe extern "C" fn(handle: i16, progress: PicoUpdateFirmwareProgress) -> PICO_STATUS, Error>

Implementations

impl PS5000ALoader[src]

pub unsafe fn new<P>(path: P) -> Result<Self, Error> where
    P: AsRef<OsStr>, 
[src]

pub unsafe fn ps5000aOpenUnit(
    &self,
    handle: *mut i16,
    serial: *mut i8,
    resolution: PS5000A_DEVICE_RESOLUTION
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aOpenUnitAsync(
    &self,
    status: *mut i16,
    serial: *mut i8,
    resolution: PS5000A_DEVICE_RESOLUTION
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aOpenUnitProgress(
    &self,
    handle: *mut i16,
    progressPercent: *mut i16,
    complete: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetUnitInfo(
    &self,
    handle: i16,
    string: *mut i8,
    stringLength: i16,
    requiredSize: *mut i16,
    info: PICO_INFO
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aFlashLed(&self, handle: i16, start: i16) -> PICO_STATUS[src]

pub unsafe fn ps5000aIsLedFlashing(
    &self,
    handle: i16,
    status: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aCloseUnit(&self, handle: i16) -> PICO_STATUS[src]

pub unsafe fn ps5000aMemorySegments(
    &self,
    handle: i16,
    nSegments: u32,
    nMaxSamples: *mut i32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetChannel(
    &self,
    handle: i16,
    channel: PS5000A_CHANNEL,
    enabled: i16,
    type_: PS5000A_COUPLING,
    range: PS5000A_RANGE,
    analogOffset: f32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetDigitalPort(
    &self,
    handle: i16,
    port: PS5000A_CHANNEL,
    enabled: i16,
    logicLevel: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetBandwidthFilter(
    &self,
    handle: i16,
    channel: PS5000A_CHANNEL,
    bandwidth: PS5000A_BANDWIDTH_LIMITER
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetTimebase(
    &self,
    handle: i16,
    timebase: u32,
    noSamples: i32,
    timeIntervalNanoseconds: *mut i32,
    maxSamples: *mut i32,
    segmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetTimebase2(
    &self,
    handle: i16,
    timebase: u32,
    noSamples: i32,
    timeIntervalNanoseconds: *mut f32,
    maxSamples: *mut i32,
    segmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aNearestSampleIntervalStateless(
    &self,
    handle: i16,
    enabledChannelOrPortFlags: PS5000A_CHANNEL_FLAGS,
    timeIntervalRequested: f64,
    resolution: PS5000A_DEVICE_RESOLUTION,
    useEts: u16,
    timebase: *mut u32,
    timeIntervalAvailable: *mut f64
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetMinimumTimebaseStateless(
    &self,
    handle: i16,
    enabledChannelOrPortFlags: PS5000A_CHANNEL_FLAGS,
    timebase: *mut u32,
    timeInterval: *mut f64,
    resolution: PS5000A_DEVICE_RESOLUTION
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aChannelCombinationsStateless(
    &self,
    handle: i16,
    channelOrPortFlagsCombinations: *mut PS5000A_CHANNEL_FLAGS,
    nChannelCombinations: *mut u32,
    resolution: PS5000A_DEVICE_RESOLUTION,
    timebase: u32,
    hasDcPowerSupplyConnected: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetSigGenArbitrary(
    &self,
    handle: i16,
    offsetVoltage: i32,
    pkToPk: u32,
    startDeltaPhase: u32,
    stopDeltaPhase: u32,
    deltaPhaseIncrement: u32,
    dwellCount: u32,
    arbitraryWaveform: *mut i16,
    arbitraryWaveformSize: i32,
    sweepType: PS5000A_SWEEP_TYPE,
    operation: PS5000A_EXTRA_OPERATIONS,
    indexMode: PS5000A_INDEX_MODE,
    shots: u32,
    sweeps: u32,
    triggerType: PS5000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS5000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetSigGenBuiltIn(
    &self,
    handle: i16,
    offsetVoltage: i32,
    pkToPk: u32,
    waveType: PS5000A_WAVE_TYPE,
    startFrequency: f32,
    stopFrequency: f32,
    increment: f32,
    dwellTime: f32,
    sweepType: PS5000A_SWEEP_TYPE,
    operation: PS5000A_EXTRA_OPERATIONS,
    shots: u32,
    sweeps: u32,
    triggerType: PS5000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS5000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetSigGenBuiltInV2(
    &self,
    handle: i16,
    offsetVoltage: i32,
    pkToPk: u32,
    waveType: PS5000A_WAVE_TYPE,
    startFrequency: f64,
    stopFrequency: f64,
    increment: f64,
    dwellTime: f64,
    sweepType: PS5000A_SWEEP_TYPE,
    operation: PS5000A_EXTRA_OPERATIONS,
    shots: u32,
    sweeps: u32,
    triggerType: PS5000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS5000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetSigGenPropertiesArbitrary(
    &self,
    handle: i16,
    startDeltaPhase: u32,
    stopDeltaPhase: u32,
    deltaPhaseIncrement: u32,
    dwellCount: u32,
    sweepType: PS5000A_SWEEP_TYPE,
    shots: u32,
    sweeps: u32,
    triggerType: PS5000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS5000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetSigGenPropertiesBuiltIn(
    &self,
    handle: i16,
    startFrequency: f64,
    stopFrequency: f64,
    increment: f64,
    dwellTime: f64,
    sweepType: PS5000A_SWEEP_TYPE,
    shots: u32,
    sweeps: u32,
    triggerType: PS5000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS5000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSigGenFrequencyToPhase(
    &self,
    handle: i16,
    frequency: f64,
    indexMode: PS5000A_INDEX_MODE,
    bufferLength: u32,
    phase: *mut u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSigGenArbitraryMinMaxValues(
    &self,
    handle: i16,
    minArbitraryWaveformValue: *mut i16,
    maxArbitraryWaveformValue: *mut i16,
    minArbitraryWaveformSize: *mut u32,
    maxArbitraryWaveformSize: *mut u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSigGenSoftwareControl(
    &self,
    handle: i16,
    state: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetEts(
    &self,
    handle: i16,
    mode: PS5000A_ETS_MODE,
    etsCycles: i16,
    etsInterleave: i16,
    sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerChannelProperties(
    &self,
    handle: i16,
    channelProperties: *mut PS5000A_TRIGGER_CHANNEL_PROPERTIES,
    nChannelProperties: i16,
    auxOutputEnable: i16,
    autoTriggerMilliseconds: i32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerChannelPropertiesV2(
    &self,
    handle: i16,
    channelProperties: *mut PS5000A_TRIGGER_CHANNEL_PROPERTIES_V2,
    nChannelProperties: i16,
    auxOutputEnable: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetAutoTriggerMicroSeconds(
    &self,
    handle: i16,
    autoTriggerMicroseconds: u64
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerChannelConditions(
    &self,
    handle: i16,
    conditions: *mut PS5000A_TRIGGER_CONDITIONS,
    nConditions: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerChannelConditionsV2(
    &self,
    handle: i16,
    conditions: *mut PS5000A_CONDITION,
    nConditions: i16,
    info: PS5000A_CONDITIONS_INFO
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerChannelDirections(
    &self,
    handle: i16,
    channelA: PS5000A_THRESHOLD_DIRECTION,
    channelB: PS5000A_THRESHOLD_DIRECTION,
    channelC: PS5000A_THRESHOLD_DIRECTION,
    channelD: PS5000A_THRESHOLD_DIRECTION,
    ext: PS5000A_THRESHOLD_DIRECTION,
    aux: PS5000A_THRESHOLD_DIRECTION
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerChannelDirectionsV2(
    &self,
    handle: i16,
    directions: *mut PS5000A_DIRECTION,
    nDirections: u16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetSimpleTrigger(
    &self,
    handle: i16,
    enable: i16,
    channel: PS5000A_CHANNEL,
    threshold: i16,
    direction: PS5000A_THRESHOLD_DIRECTION,
    delay: u32,
    autoTrigger_ms: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerDigitalPortProperties(
    &self,
    handle: i16,
    directions: *mut PS5000A_DIGITAL_CHANNEL_DIRECTIONS,
    nDirections: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetPulseWidthDigitalPortProperties(
    &self,
    handle: i16,
    directions: *mut PS5000A_DIGITAL_CHANNEL_DIRECTIONS,
    nDirections: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetTriggerDelay(
    &self,
    handle: i16,
    delay: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetPulseWidthQualifier(
    &self,
    handle: i16,
    conditions: *mut PS5000A_PWQ_CONDITIONS,
    nConditions: i16,
    direction: PS5000A_THRESHOLD_DIRECTION,
    lower: u32,
    upper: u32,
    type_: PS5000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetPulseWidthQualifierProperties(
    &self,
    handle: i16,
    lower: u32,
    upper: u32,
    type_: PS5000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetPulseWidthQualifierConditions(
    &self,
    handle: i16,
    conditions: *mut PS5000A_CONDITION,
    nConditions: i16,
    info: PS5000A_CONDITIONS_INFO
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetPulseWidthQualifierDirections(
    &self,
    handle: i16,
    directions: *mut PS5000A_DIRECTION,
    nDirections: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aIsTriggerOrPulseWidthQualifierEnabled(
    &self,
    handle: i16,
    triggerEnabled: *mut i16,
    pulseWidthQualifierEnabled: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetTriggerTimeOffset(
    &self,
    handle: i16,
    timeUpper: *mut u32,
    timeLower: *mut u32,
    timeUnits: *mut PS5000A_TIME_UNITS,
    segmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetTriggerTimeOffset64(
    &self,
    handle: i16,
    time: *mut i64,
    timeUnits: *mut PS5000A_TIME_UNITS,
    segmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValuesTriggerTimeOffsetBulk(
    &self,
    handle: i16,
    timesUpper: *mut u32,
    timesLower: *mut u32,
    timeUnits: *mut PS5000A_TIME_UNITS,
    fromSegmentIndex: u32,
    toSegmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValuesTriggerTimeOffsetBulk64(
    &self,
    handle: i16,
    times: *mut i64,
    timeUnits: *mut PS5000A_TIME_UNITS,
    fromSegmentIndex: u32,
    toSegmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetDataBuffers(
    &self,
    handle: i16,
    source: PS5000A_CHANNEL,
    bufferMax: *mut i16,
    bufferMin: *mut i16,
    bufferLth: i32,
    segmentIndex: u32,
    mode: PS5000A_RATIO_MODE
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetDataBuffer(
    &self,
    handle: i16,
    source: PS5000A_CHANNEL,
    buffer: *mut i16,
    bufferLth: i32,
    segmentIndex: u32,
    mode: PS5000A_RATIO_MODE
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetUnscaledDataBuffers(
    &self,
    handle: i16,
    source: PS5000A_CHANNEL,
    bufferMax: *mut i8,
    bufferMin: *mut i8,
    bufferLth: i32,
    segmentIndex: u32,
    mode: PS5000A_RATIO_MODE
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetEtsTimeBuffer(
    &self,
    handle: i16,
    buffer: *mut i64,
    bufferLth: i32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetEtsTimeBuffers(
    &self,
    handle: i16,
    timeUpper: *mut u32,
    timeLower: *mut u32,
    bufferLth: i32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aIsReady(&self, handle: i16, ready: *mut i16) -> PICO_STATUS[src]

pub unsafe fn ps5000aRunBlock(
    &self,
    handle: i16,
    noOfPreTriggerSamples: i32,
    noOfPostTriggerSamples: i32,
    timebase: u32,
    timeIndisposedMs: *mut i32,
    segmentIndex: u32,
    lpReady: ps5000aBlockReady,
    pParameter: *mut c_void
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aRunStreaming(
    &self,
    handle: i16,
    sampleInterval: *mut u32,
    sampleIntervalTimeUnits: PS5000A_TIME_UNITS,
    maxPreTriggerSamples: u32,
    maxPostTriggerSamples: u32,
    autoStop: i16,
    downSampleRatio: u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    overviewBufferSize: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetStreamingLatestValues(
    &self,
    handle: i16,
    lpPs5000aReady: ps5000aStreamingReady,
    pParameter: *mut c_void
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aNoOfStreamingValues(
    &self,
    handle: i16,
    noOfValues: *mut u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetMaxDownSampleRatio(
    &self,
    handle: i16,
    noOfUnaggreatedSamples: u32,
    maxDownSampleRatio: *mut u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    segmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValues(
    &self,
    handle: i16,
    startIndex: u32,
    noOfSamples: *mut u32,
    downSampleRatio: u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    segmentIndex: u32,
    overflow: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValuesAsync(
    &self,
    handle: i16,
    startIndex: u32,
    noOfSamples: u32,
    downSampleRatio: u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    segmentIndex: u32,
    lpDataReady: *mut c_void,
    pParameter: *mut c_void
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValuesBulk(
    &self,
    handle: i16,
    noOfSamples: *mut u32,
    fromSegmentIndex: u32,
    toSegmentIndex: u32,
    downSampleRatio: u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    overflow: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValuesOverlapped(
    &self,
    handle: i16,
    startIndex: u32,
    noOfSamples: *mut u32,
    downSampleRatio: u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    segmentIndex: u32,
    overflow: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetValuesOverlappedBulk(
    &self,
    handle: i16,
    startIndex: u32,
    noOfSamples: *mut u32,
    downSampleRatio: u32,
    downSampleRatioMode: PS5000A_RATIO_MODE,
    fromSegmentIndex: u32,
    toSegmentIndex: u32,
    overflow: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aTriggerWithinPreTriggerSamples(
    &self,
    handle: i16,
    state: PS5000A_TRIGGER_WITHIN_PRE_TRIGGER
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetTriggerInfoBulk(
    &self,
    handle: i16,
    triggerInfo: *mut PS5000A_TRIGGER_INFO,
    fromSegmentIndex: u32,
    toSegmentIndex: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aEnumerateUnits(
    &self,
    count: *mut i16,
    serials: *mut i8,
    serialLth: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetChannelInformation(
    &self,
    handle: i16,
    info: PS5000A_CHANNEL_INFO,
    probe: i32,
    ranges: *mut i32,
    length: *mut i32,
    channels: i32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aMaximumValue(
    &self,
    handle: i16,
    value: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aMinimumValue(
    &self,
    handle: i16,
    value: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetAnalogueOffset(
    &self,
    handle: i16,
    range: PS5000A_RANGE,
    coupling: PS5000A_COUPLING,
    maximumVoltage: *mut f32,
    minimumVoltage: *mut f32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetMaxSegments(
    &self,
    handle: i16,
    maxSegments: *mut u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aChangePowerSource(
    &self,
    handle: i16,
    powerState: PICO_STATUS
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aCurrentPowerSource(&self, handle: i16) -> PICO_STATUS[src]

pub unsafe fn ps5000aStop(&self, handle: i16) -> PICO_STATUS[src]

pub unsafe fn ps5000aPingUnit(&self, handle: i16) -> PICO_STATUS[src]

pub unsafe fn ps5000aSetNoOfCaptures(
    &self,
    handle: i16,
    nCaptures: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetNoOfCaptures(
    &self,
    handle: i16,
    nCaptures: *mut u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetNoOfProcessedCaptures(
    &self,
    handle: i16,
    nProcessedCaptures: *mut u32
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetDeviceResolution(
    &self,
    handle: i16,
    resolution: PS5000A_DEVICE_RESOLUTION
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetDeviceResolution(
    &self,
    handle: i16,
    resolution: *mut PS5000A_DEVICE_RESOLUTION
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aQueryOutputEdgeDetect(
    &self,
    handle: i16,
    state: *mut i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aSetOutputEdgeDetect(
    &self,
    handle: i16,
    state: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aGetScalingValues(
    &self,
    handle: i16,
    scalingValues: *mut PS5000A_SCALING_FACTORS_VALUES,
    nChannels: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aCheckForUpdate(
    &self,
    handle: i16,
    current: *mut PICO_VERSION,
    update: *mut PICO_VERSION,
    updateRequired: *mut u16
) -> PICO_STATUS
[src]

pub unsafe fn ps5000aStartFirmwareUpdate(
    &self,
    handle: i16,
    progress: PicoUpdateFirmwareProgress
) -> PICO_STATUS
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.