Struct pico_sys_dynamic::ps2000a::PS2000ALoader[][src]

pub struct PS2000ALoader {
    pub ps2000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>,
    pub ps2000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>,
    pub ps2000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>,
    pub ps2000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>,
    pub ps2000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps2000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>,
    pub ps2000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS2000A_CHANNEL, enabled: i16, type_: PS2000A_COUPLING, range: PS2000A_RANGE, analogOffset: f32) -> PICO_STATUS, Error>,
    pub ps2000aSetDigitalPort: Result<unsafe extern "C" fn(handle: i16, port: PS2000A_DIGITAL_PORT, enabled: i16, logicLevel: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aSetSigGenArbitrary: 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: PS2000A_SWEEP_TYPE, operation: PS2000A_EXTRA_OPERATIONS, indexMode: PS2000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: PS2000A_SWEEP_TYPE, operation: PS2000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS2000A_SWEEP_TYPE, operation: PS2000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS2000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS2000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>,
    pub ps2000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS2000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>,
    pub ps2000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>,
    pub ps2000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS2000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>,
    pub ps2000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS2000A_CHANNEL, threshold: i16, direction: PS2000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS2000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetDigitalAnalogTriggerOperand: Result<unsafe extern "C" fn(handle: i16, operand: PS2000A_TRIGGER_OPERAND) -> PICO_STATUS, Error>,
    pub ps2000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS2000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS2000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>,
    pub ps2000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS2000A_TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>,
    pub ps2000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: PS2000A_THRESHOLD_DIRECTION, channelB: PS2000A_THRESHOLD_DIRECTION, channelC: PS2000A_THRESHOLD_DIRECTION, channelD: PS2000A_THRESHOLD_DIRECTION, ext: PS2000A_THRESHOLD_DIRECTION, aux: PS2000A_THRESHOLD_DIRECTION) -> PICO_STATUS, Error>,
    pub ps2000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>,
    pub ps2000aSetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS2000A_PWQ_CONDITIONS, nConditions: i16, direction: PS2000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS2000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>,
    pub ps2000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS2000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS2000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS2000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS2000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>,
    pub ps2000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>,
    pub ps2000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channelOrPort: i32, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS2000A_RATIO_MODE) -> PICO_STATUS, Error>,
    pub ps2000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: i32, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS2000A_RATIO_MODE) -> PICO_STATUS, Error>,
    pub ps2000aSetUnscaledDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS2000A_CHANNEL, bufferMax: *mut i8, bufferMin: *mut i8, bufferLth: i32, segmentIndex: u32, mode: PS2000A_RATIO_MODE) -> PICO_STATUS, Error>,
    pub ps2000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>,
    pub ps2000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>,
    pub ps2000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps2000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>,
    pub ps2000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS2000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs2000aReady: ps2000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>,
    pub ps2000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>,
    pub ps2000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>,
    pub ps2000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>,
    pub ps2000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps2000aHoldOff: Result<unsafe extern "C" fn(handle: i16, holdoff: u64, type_: PS2000A_HOLDOFF_TYPE) -> PICO_STATUS, Error>,
    pub ps2000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS2000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>,
    pub ps2000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>,
    pub ps2000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PS2000A_RANGE, coupling: PS2000A_COUPLING, maximumVoltage: *mut f32, minimumVoltage: *mut f32) -> PICO_STATUS, Error>,
    pub ps2000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>,
    pub ps2000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>,
    pub ps2000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>,
    pub ps2000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PS2000A_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>,
    // some fields omitted
}

Fields

ps2000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>ps2000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>ps2000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>ps2000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>ps2000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>ps2000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps2000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>ps2000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS2000A_CHANNEL, enabled: i16, type_: PS2000A_COUPLING, range: PS2000A_RANGE, analogOffset: f32) -> PICO_STATUS, Error>ps2000aSetDigitalPort: Result<unsafe extern "C" fn(handle: i16, port: PS2000A_DIGITAL_PORT, enabled: i16, logicLevel: i16) -> PICO_STATUS, Error>ps2000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>ps2000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>ps2000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>ps2000aSetSigGenArbitrary: 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: PS2000A_SWEEP_TYPE, operation: PS2000A_EXTRA_OPERATIONS, indexMode: PS2000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps2000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: PS2000A_SWEEP_TYPE, operation: PS2000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps2000aSetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS2000A_SWEEP_TYPE, operation: PS2000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps2000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS2000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps2000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS2000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS2000A_SIGGEN_TRIG_TYPE, triggerSource: PS2000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>ps2000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS2000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>ps2000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>ps2000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>ps2000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS2000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>ps2000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS2000A_CHANNEL, threshold: i16, direction: PS2000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>ps2000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS2000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>ps2000aSetDigitalAnalogTriggerOperand: Result<unsafe extern "C" fn(handle: i16, operand: PS2000A_TRIGGER_OPERAND) -> PICO_STATUS, Error>ps2000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS2000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>ps2000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS2000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>ps2000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS2000A_TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>ps2000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: PS2000A_THRESHOLD_DIRECTION, channelB: PS2000A_THRESHOLD_DIRECTION, channelC: PS2000A_THRESHOLD_DIRECTION, channelD: PS2000A_THRESHOLD_DIRECTION, ext: PS2000A_THRESHOLD_DIRECTION, aux: PS2000A_THRESHOLD_DIRECTION) -> PICO_STATUS, Error>ps2000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>ps2000aSetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS2000A_PWQ_CONDITIONS, nConditions: i16, direction: PS2000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS2000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>ps2000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>ps2000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS2000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>ps2000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS2000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>ps2000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS2000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>ps2000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS2000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>ps2000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>ps2000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>ps2000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channelOrPort: i32, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS2000A_RATIO_MODE) -> PICO_STATUS, Error>ps2000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: i32, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS2000A_RATIO_MODE) -> PICO_STATUS, Error>ps2000aSetUnscaledDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS2000A_CHANNEL, bufferMax: *mut i8, bufferMin: *mut i8, bufferLth: i32, segmentIndex: u32, mode: PS2000A_RATIO_MODE) -> PICO_STATUS, Error>ps2000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>ps2000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>ps2000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>ps2000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps2000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>ps2000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS2000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>ps2000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs2000aReady: ps2000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>ps2000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>ps2000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>ps2000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>ps2000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>ps2000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>ps2000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>ps2000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS2000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>ps2000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps2000aHoldOff: Result<unsafe extern "C" fn(handle: i16, holdoff: u64, type_: PS2000A_HOLDOFF_TYPE) -> PICO_STATUS, Error>ps2000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS2000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>ps2000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>ps2000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>ps2000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>ps2000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>ps2000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PS2000A_RANGE, coupling: PS2000A_COUPLING, maximumVoltage: *mut f32, minimumVoltage: *mut f32) -> PICO_STATUS, Error>ps2000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>ps2000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>ps2000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>ps2000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PS2000A_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>

Implementations

impl PS2000ALoader[src]

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

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

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

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

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

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

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

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

pub unsafe fn ps2000aSetChannel(
    &self,
    handle: i16,
    channel: PS2000A_CHANNEL,
    enabled: i16,
    type_: PS2000A_COUPLING,
    range: PS2000A_RANGE,
    analogOffset: f32
) -> PICO_STATUS
[src]

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

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

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

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

pub unsafe fn ps2000aSetSigGenArbitrary(
    &self,
    handle: i16,
    offsetVoltage: i32,
    pkToPk: u32,
    startDeltaPhase: u32,
    stopDeltaPhase: u32,
    deltaPhaseIncrement: u32,
    dwellCount: u32,
    arbitraryWaveform: *mut i16,
    arbitraryWaveformSize: i32,
    sweepType: PS2000A_SWEEP_TYPE,
    operation: PS2000A_EXTRA_OPERATIONS,
    indexMode: PS2000A_INDEX_MODE,
    shots: u32,
    sweeps: u32,
    triggerType: PS2000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS2000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aSetSigGenBuiltIn(
    &self,
    handle: i16,
    offsetVoltage: i32,
    pkToPk: u32,
    waveType: i16,
    startFrequency: f32,
    stopFrequency: f32,
    increment: f32,
    dwellTime: f32,
    sweepType: PS2000A_SWEEP_TYPE,
    operation: PS2000A_EXTRA_OPERATIONS,
    shots: u32,
    sweeps: u32,
    triggerType: PS2000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS2000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aSetSigGenBuiltInV2(
    &self,
    handle: i16,
    offsetVoltage: i32,
    pkToPk: u32,
    waveType: i16,
    startFrequency: f64,
    stopFrequency: f64,
    increment: f64,
    dwellTime: f64,
    sweepType: PS2000A_SWEEP_TYPE,
    operation: PS2000A_EXTRA_OPERATIONS,
    shots: u32,
    sweeps: u32,
    triggerType: PS2000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS2000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aSetSigGenPropertiesArbitrary(
    &self,
    handle: i16,
    startDeltaPhase: u32,
    stopDeltaPhase: u32,
    deltaPhaseIncrement: u32,
    dwellCount: u32,
    sweepType: PS2000A_SWEEP_TYPE,
    shots: u32,
    sweeps: u32,
    triggerType: PS2000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS2000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aSetSigGenPropertiesBuiltIn(
    &self,
    handle: i16,
    startFrequency: f64,
    stopFrequency: f64,
    increment: f64,
    dwellTime: f64,
    sweepType: PS2000A_SWEEP_TYPE,
    shots: u32,
    sweeps: u32,
    triggerType: PS2000A_SIGGEN_TRIG_TYPE,
    triggerSource: PS2000A_SIGGEN_TRIG_SOURCE,
    extInThreshold: i16
) -> PICO_STATUS
[src]

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

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

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

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

pub unsafe fn ps2000aSetSimpleTrigger(
    &self,
    handle: i16,
    enable: i16,
    source: PS2000A_CHANNEL,
    threshold: i16,
    direction: PS2000A_THRESHOLD_DIRECTION,
    delay: u32,
    autoTrigger_ms: i16
) -> PICO_STATUS
[src]

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

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

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

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

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

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

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

pub unsafe fn ps2000aSetPulseWidthQualifier(
    &self,
    handle: i16,
    conditions: *mut PS2000A_PWQ_CONDITIONS,
    nConditions: i16,
    direction: PS2000A_THRESHOLD_DIRECTION,
    lower: u32,
    upper: u32,
    type_: PS2000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
[src]

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

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

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

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

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

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

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

pub unsafe fn ps2000aSetDataBuffer(
    &self,
    handle: i16,
    channelOrPort: i32,
    buffer: *mut i16,
    bufferLth: i32,
    segmentIndex: u32,
    mode: PS2000A_RATIO_MODE
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aSetDataBuffers(
    &self,
    handle: i16,
    channelOrPort: i32,
    bufferMax: *mut i16,
    bufferMin: *mut i16,
    bufferLth: i32,
    segmentIndex: u32,
    mode: PS2000A_RATIO_MODE
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aSetUnscaledDataBuffers(
    &self,
    handle: i16,
    channelOrPort: PS2000A_CHANNEL,
    bufferMax: *mut i8,
    bufferMin: *mut i8,
    bufferLth: i32,
    segmentIndex: u32,
    mode: PS2000A_RATIO_MODE
) -> PICO_STATUS
[src]

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

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

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

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

pub unsafe fn ps2000aRunStreaming(
    &self,
    handle: i16,
    sampleInterval: *mut u32,
    sampleIntervalTimeUnits: PS2000A_TIME_UNITS,
    maxPreTriggerSamples: u32,
    maxPostPreTriggerSamples: u32,
    autoStop: i16,
    downSampleRatio: u32,
    downSampleRatioMode: PS2000A_RATIO_MODE,
    overviewBufferSize: u32
) -> PICO_STATUS
[src]

pub unsafe fn ps2000aGetStreamingLatestValues(
    &self,
    handle: i16,
    lpPs2000aReady: ps2000aStreamingReady,
    pParameter: *mut c_void
) -> PICO_STATUS
[src]

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

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

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

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

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

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

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

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

pub unsafe fn ps2000aHoldOff(
    &self,
    handle: i16,
    holdoff: u64,
    type_: PS2000A_HOLDOFF_TYPE
) -> PICO_STATUS
[src]

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

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

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

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

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

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

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

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

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

pub unsafe fn ps2000aGetScalingValues(
    &self,
    handle: i16,
    scalingValues: *mut PS2000A_SCALING_FACTORS_VALUES,
    nChannels: i16
) -> 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.