Struct pico_sys_dynamic::ps3000a::PS3000ALoader [−][src]
pub struct PS3000ALoader {}Show fields
pub ps3000aApplyFix: Result<unsafe extern "C" fn(_: u32, _: u16), Error>, pub ps3000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>, pub ps3000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>, pub ps3000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>, pub ps3000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>, pub ps3000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps3000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>, pub ps3000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS3000A_CHANNEL, enabled: i16, type_: PS3000A_COUPLING, range: PS3000A_RANGE, analogOffset: f32) -> PICO_STATUS, Error>, pub ps3000aSetDigitalPort: Result<unsafe extern "C" fn(handle: i16, port: PS3000A_DIGITAL_PORT, enabled: i16, logicLevel: i16) -> PICO_STATUS, Error>, pub ps3000aSetBandwidthFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS3000A_CHANNEL, bandwidth: PS3000A_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>, pub ps3000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>, pub ps3000aGetTimebase: 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 ps3000aGetTimebase2: 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 ps3000aSetSigGenArbitrary: 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: PS3000A_SWEEP_TYPE, operation: PS3000A_EXTRA_OPERATIONS, indexMode: PS3000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps3000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: PS3000A_SWEEP_TYPE, operation: PS3000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps3000aSetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS3000A_SWEEP_TYPE, operation: PS3000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps3000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS3000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps3000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS3000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps3000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS3000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>, pub ps3000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>, pub ps3000aGetMaxEtsValues: Result<unsafe extern "C" fn(handle: i16, etsCycles: *mut i16, etsInterleave: *mut i16) -> PICO_STATUS, Error>, pub ps3000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>, pub ps3000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS3000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>, pub ps3000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS3000A_CHANNEL, threshold: i16, direction: PS3000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>, pub ps3000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>, pub ps3000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>, pub ps3000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS3000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>, pub ps3000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>, pub ps3000aSetTriggerChannelConditionsV2: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_TRIGGER_CONDITIONS_V2, nConditions: i16) -> PICO_STATUS, Error>, pub ps3000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: PS3000A_THRESHOLD_DIRECTION, channelB: PS3000A_THRESHOLD_DIRECTION, channelC: PS3000A_THRESHOLD_DIRECTION, channelD: PS3000A_THRESHOLD_DIRECTION, ext: PS3000A_THRESHOLD_DIRECTION, aux: PS3000A_THRESHOLD_DIRECTION) -> PICO_STATUS, Error>, pub ps3000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>, pub ps3000aSetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_PWQ_CONDITIONS, nConditions: i16, direction: PS3000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS3000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>, pub ps3000aSetPulseWidthQualifierV2: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_PWQ_CONDITIONS_V2, nConditions: i16, direction: PS3000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS3000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>, pub ps3000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS3000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps3000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS3000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps3000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS3000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>, pub ps3000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS3000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>, pub ps3000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>, pub ps3000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>, pub ps3000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS3000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS3000A_RATIO_MODE) -> PICO_STATUS, Error>, pub ps3000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS3000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS3000A_RATIO_MODE) -> PICO_STATUS, Error>, pub ps3000aSetUnscaledDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS3000A_CHANNEL, bufferMax: *mut i8, bufferMin: *mut i8, bufferLth: i32, segmentIndex: u32, mode: PS3000A_RATIO_MODE) -> PICO_STATUS, Error>, pub ps3000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>, pub ps3000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>, pub ps3000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>, pub ps3000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps3000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps3000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS3000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>, pub ps3000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs3000aReady: ps3000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps3000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>, pub ps3000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps3000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps3000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetTriggerInfoBulk: Result<unsafe extern "C" fn(handle: i16, triggerInfo: *mut PS3000A_TRIGGER_INFO, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>, pub ps3000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps3000aHoldOff: Result<unsafe extern "C" fn(handle: i16, holdoff: u64, type_: PS3000A_HOLDOFF_TYPE) -> PICO_STATUS, Error>, pub ps3000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS3000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>, pub ps3000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>, pub ps3000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps3000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>, pub ps3000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>, pub ps3000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PS3000A_RANGE, coupling: PS3000A_COUPLING, maximumVoltage: *mut f32, minimumVoltage: *mut f32) -> PICO_STATUS, Error>, pub ps3000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>, pub ps3000aChangePowerSource: Result<unsafe extern "C" fn(handle: i16, powerState: PICO_STATUS) -> PICO_STATUS, Error>, pub ps3000aCurrentPowerSource: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps3000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>, pub ps3000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>, pub ps3000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PS3000A_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>, // some fields omitted
Fields
ps3000aApplyFix: Result<unsafe extern "C" fn(_: u32, _: u16), Error>
ps3000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>
ps3000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>
ps3000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>
ps3000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>
ps3000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>
ps3000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps3000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>
ps3000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS3000A_CHANNEL, enabled: i16, type_: PS3000A_COUPLING, range: PS3000A_RANGE, analogOffset: f32) -> PICO_STATUS, Error>
ps3000aSetDigitalPort: Result<unsafe extern "C" fn(handle: i16, port: PS3000A_DIGITAL_PORT, enabled: i16, logicLevel: i16) -> PICO_STATUS, Error>
ps3000aSetBandwidthFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS3000A_CHANNEL, bandwidth: PS3000A_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>
ps3000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>
ps3000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>
ps3000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>
ps3000aSetSigGenArbitrary: 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: PS3000A_SWEEP_TYPE, operation: PS3000A_EXTRA_OPERATIONS, indexMode: PS3000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps3000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: PS3000A_SWEEP_TYPE, operation: PS3000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps3000aSetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS3000A_SWEEP_TYPE, operation: PS3000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps3000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS3000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps3000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS3000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS3000A_SIGGEN_TRIG_TYPE, triggerSource: PS3000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps3000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS3000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>
ps3000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>
ps3000aGetMaxEtsValues: Result<unsafe extern "C" fn(handle: i16, etsCycles: *mut i16, etsInterleave: *mut i16) -> PICO_STATUS, Error>
ps3000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>
ps3000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS3000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>
ps3000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS3000A_CHANNEL, threshold: i16, direction: PS3000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>
ps3000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>
ps3000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>
ps3000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS3000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>
ps3000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>
ps3000aSetTriggerChannelConditionsV2: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_TRIGGER_CONDITIONS_V2, nConditions: i16) -> PICO_STATUS, Error>
ps3000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: PS3000A_THRESHOLD_DIRECTION, channelB: PS3000A_THRESHOLD_DIRECTION, channelC: PS3000A_THRESHOLD_DIRECTION, channelD: PS3000A_THRESHOLD_DIRECTION, ext: PS3000A_THRESHOLD_DIRECTION, aux: PS3000A_THRESHOLD_DIRECTION) -> PICO_STATUS, Error>
ps3000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>
ps3000aSetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_PWQ_CONDITIONS, nConditions: i16, direction: PS3000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS3000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>
ps3000aSetPulseWidthQualifierV2: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS3000A_PWQ_CONDITIONS_V2, nConditions: i16, direction: PS3000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS3000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>
ps3000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>
ps3000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS3000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>
ps3000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS3000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>
ps3000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS3000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>
ps3000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS3000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>
ps3000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>
ps3000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>
ps3000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS3000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS3000A_RATIO_MODE) -> PICO_STATUS, Error>
ps3000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS3000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS3000A_RATIO_MODE) -> PICO_STATUS, Error>
ps3000aSetUnscaledDataBuffers: Result<unsafe extern "C" fn(handle: i16, channelOrPort: PS3000A_CHANNEL, bufferMax: *mut i8, bufferMin: *mut i8, bufferLth: i32, segmentIndex: u32, mode: PS3000A_RATIO_MODE) -> PICO_STATUS, Error>
ps3000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>
ps3000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>
ps3000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>
ps3000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps3000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps3000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS3000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>
ps3000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs3000aReady: ps3000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps3000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>
ps3000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>
ps3000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>
ps3000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>
ps3000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps3000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>
ps3000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS3000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>
ps3000aGetTriggerInfoBulk: Result<unsafe extern "C" fn(handle: i16, triggerInfo: *mut PS3000A_TRIGGER_INFO, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>
ps3000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps3000aHoldOff: Result<unsafe extern "C" fn(handle: i16, holdoff: u64, type_: PS3000A_HOLDOFF_TYPE) -> PICO_STATUS, Error>
ps3000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS3000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>
ps3000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>
ps3000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps3000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>
ps3000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>
ps3000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PS3000A_RANGE, coupling: PS3000A_COUPLING, maximumVoltage: *mut f32, minimumVoltage: *mut f32) -> PICO_STATUS, Error>
ps3000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>
ps3000aChangePowerSource: Result<unsafe extern "C" fn(handle: i16, powerState: PICO_STATUS) -> PICO_STATUS, Error>
ps3000aCurrentPowerSource: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps3000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>
ps3000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>
ps3000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PS3000A_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>
Implementations
impl PS3000ALoader
[src]
impl PS3000ALoader
[src]pub unsafe fn new<P>(path: P) -> Result<Self, Error> where
P: AsRef<OsStr>,
[src]
P: AsRef<OsStr>,
pub unsafe fn ps3000aApplyFix(&self, a: u32, b: u16)
[src]
pub unsafe fn ps3000aOpenUnit(
&self,
handle: *mut i16,
serial: *mut i8
) -> PICO_STATUS
[src]
&self,
handle: *mut i16,
serial: *mut i8
) -> PICO_STATUS
pub unsafe fn ps3000aOpenUnitAsync(
&self,
status: *mut i16,
serial: *mut i8
) -> PICO_STATUS
[src]
&self,
status: *mut i16,
serial: *mut i8
) -> PICO_STATUS
pub unsafe fn ps3000aOpenUnitProgress(
&self,
handle: *mut i16,
progressPercent: *mut i16,
complete: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: *mut i16,
progressPercent: *mut i16,
complete: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetUnitInfo(
&self,
handle: i16,
string: *mut i8,
stringLength: i16,
requiredSize: *mut i16,
info: PICO_INFO
) -> PICO_STATUS
[src]
&self,
handle: i16,
string: *mut i8,
stringLength: i16,
requiredSize: *mut i16,
info: PICO_INFO
) -> PICO_STATUS
pub unsafe fn ps3000aFlashLed(&self, handle: i16, start: i16) -> PICO_STATUS
[src]
pub unsafe fn ps3000aCloseUnit(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps3000aMemorySegments(
&self,
handle: i16,
nSegments: u32,
nMaxSamples: *mut i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
nSegments: u32,
nMaxSamples: *mut i32
) -> PICO_STATUS
pub unsafe fn ps3000aSetChannel(
&self,
handle: i16,
channel: PS3000A_CHANNEL,
enabled: i16,
type_: PS3000A_COUPLING,
range: PS3000A_RANGE,
analogOffset: f32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS3000A_CHANNEL,
enabled: i16,
type_: PS3000A_COUPLING,
range: PS3000A_RANGE,
analogOffset: f32
) -> PICO_STATUS
pub unsafe fn ps3000aSetDigitalPort(
&self,
handle: i16,
port: PS3000A_DIGITAL_PORT,
enabled: i16,
logicLevel: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
port: PS3000A_DIGITAL_PORT,
enabled: i16,
logicLevel: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetBandwidthFilter(
&self,
handle: i16,
channel: PS3000A_CHANNEL,
bandwidth: PS3000A_BANDWIDTH_LIMITER
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS3000A_CHANNEL,
bandwidth: PS3000A_BANDWIDTH_LIMITER
) -> PICO_STATUS
pub unsafe fn ps3000aSetNoOfCaptures(
&self,
handle: i16,
nCaptures: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
nCaptures: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetTimebase(
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut i32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut i32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetTimebase2(
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut f32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut f32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aSetSigGenArbitrary(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
startDeltaPhase: u32,
stopDeltaPhase: u32,
deltaPhaseIncrement: u32,
dwellCount: u32,
arbitraryWaveform: *mut i16,
arbitraryWaveformSize: i32,
sweepType: PS3000A_SWEEP_TYPE,
operation: PS3000A_EXTRA_OPERATIONS,
indexMode: PS3000A_INDEX_MODE,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
startDeltaPhase: u32,
stopDeltaPhase: u32,
deltaPhaseIncrement: u32,
dwellCount: u32,
arbitraryWaveform: *mut i16,
arbitraryWaveformSize: i32,
sweepType: PS3000A_SWEEP_TYPE,
operation: PS3000A_EXTRA_OPERATIONS,
indexMode: PS3000A_INDEX_MODE,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetSigGenBuiltIn(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f32,
stopFrequency: f32,
increment: f32,
dwellTime: f32,
sweepType: PS3000A_SWEEP_TYPE,
operation: PS3000A_EXTRA_OPERATIONS,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f32,
stopFrequency: f32,
increment: f32,
dwellTime: f32,
sweepType: PS3000A_SWEEP_TYPE,
operation: PS3000A_EXTRA_OPERATIONS,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetSigGenBuiltInV2(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f64,
stopFrequency: f64,
increment: f64,
dwellTime: f64,
sweepType: PS3000A_SWEEP_TYPE,
operation: PS3000A_EXTRA_OPERATIONS,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f64,
stopFrequency: f64,
increment: f64,
dwellTime: f64,
sweepType: PS3000A_SWEEP_TYPE,
operation: PS3000A_EXTRA_OPERATIONS,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetSigGenPropertiesArbitrary(
&self,
handle: i16,
startDeltaPhase: u32,
stopDeltaPhase: u32,
deltaPhaseIncrement: u32,
dwellCount: u32,
sweepType: PS3000A_SWEEP_TYPE,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
startDeltaPhase: u32,
stopDeltaPhase: u32,
deltaPhaseIncrement: u32,
dwellCount: u32,
sweepType: PS3000A_SWEEP_TYPE,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetSigGenPropertiesBuiltIn(
&self,
handle: i16,
startFrequency: f64,
stopFrequency: f64,
increment: f64,
dwellTime: f64,
sweepType: PS3000A_SWEEP_TYPE,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
startFrequency: f64,
stopFrequency: f64,
increment: f64,
dwellTime: f64,
sweepType: PS3000A_SWEEP_TYPE,
shots: u32,
sweeps: u32,
triggerType: PS3000A_SIGGEN_TRIG_TYPE,
triggerSource: PS3000A_SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSigGenFrequencyToPhase(
&self,
handle: i16,
frequency: f64,
indexMode: PS3000A_INDEX_MODE,
bufferLength: u32,
phase: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
frequency: f64,
indexMode: PS3000A_INDEX_MODE,
bufferLength: u32,
phase: *mut u32
) -> PICO_STATUS
pub unsafe fn ps3000aSigGenArbitraryMinMaxValues(
&self,
handle: i16,
minArbitraryWaveformValue: *mut i16,
maxArbitraryWaveformValue: *mut i16,
minArbitraryWaveformSize: *mut u32,
maxArbitraryWaveformSize: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
minArbitraryWaveformValue: *mut i16,
maxArbitraryWaveformValue: *mut i16,
minArbitraryWaveformSize: *mut u32,
maxArbitraryWaveformSize: *mut u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetMaxEtsValues(
&self,
handle: i16,
etsCycles: *mut i16,
etsInterleave: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
etsCycles: *mut i16,
etsInterleave: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aSigGenSoftwareControl(
&self,
handle: i16,
state: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
state: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetEts(
&self,
handle: i16,
mode: PS3000A_ETS_MODE,
etsCycles: i16,
etsInterleave: i16,
sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
mode: PS3000A_ETS_MODE,
etsCycles: i16,
etsInterleave: i16,
sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
pub unsafe fn ps3000aSetSimpleTrigger(
&self,
handle: i16,
enable: i16,
source: PS3000A_CHANNEL,
threshold: i16,
direction: PS3000A_THRESHOLD_DIRECTION,
delay: u32,
autoTrigger_ms: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
enable: i16,
source: PS3000A_CHANNEL,
threshold: i16,
direction: PS3000A_THRESHOLD_DIRECTION,
delay: u32,
autoTrigger_ms: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetTriggerDigitalPortProperties(
&self,
handle: i16,
directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS,
nDirections: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS,
nDirections: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetPulseWidthDigitalPortProperties(
&self,
handle: i16,
directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS,
nDirections: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
directions: *mut PS3000A_DIGITAL_CHANNEL_DIRECTIONS,
nDirections: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetTriggerChannelProperties(
&self,
handle: i16,
channelProperties: *mut PS3000A_TRIGGER_CHANNEL_PROPERTIES,
nChannelProperties: i16,
auxOutputEnable: i16,
autoTriggerMilliseconds: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelProperties: *mut PS3000A_TRIGGER_CHANNEL_PROPERTIES,
nChannelProperties: i16,
auxOutputEnable: i16,
autoTriggerMilliseconds: i32
) -> PICO_STATUS
pub unsafe fn ps3000aSetTriggerChannelConditions(
&self,
handle: i16,
conditions: *mut PS3000A_TRIGGER_CONDITIONS,
nConditions: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
conditions: *mut PS3000A_TRIGGER_CONDITIONS,
nConditions: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetTriggerChannelConditionsV2(
&self,
handle: i16,
conditions: *mut PS3000A_TRIGGER_CONDITIONS_V2,
nConditions: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
conditions: *mut PS3000A_TRIGGER_CONDITIONS_V2,
nConditions: i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetTriggerChannelDirections(
&self,
handle: i16,
channelA: PS3000A_THRESHOLD_DIRECTION,
channelB: PS3000A_THRESHOLD_DIRECTION,
channelC: PS3000A_THRESHOLD_DIRECTION,
channelD: PS3000A_THRESHOLD_DIRECTION,
ext: PS3000A_THRESHOLD_DIRECTION,
aux: PS3000A_THRESHOLD_DIRECTION
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelA: PS3000A_THRESHOLD_DIRECTION,
channelB: PS3000A_THRESHOLD_DIRECTION,
channelC: PS3000A_THRESHOLD_DIRECTION,
channelD: PS3000A_THRESHOLD_DIRECTION,
ext: PS3000A_THRESHOLD_DIRECTION,
aux: PS3000A_THRESHOLD_DIRECTION
) -> PICO_STATUS
pub unsafe fn ps3000aSetTriggerDelay(
&self,
handle: i16,
delay: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
delay: u32
) -> PICO_STATUS
pub unsafe fn ps3000aSetPulseWidthQualifier(
&self,
handle: i16,
conditions: *mut PS3000A_PWQ_CONDITIONS,
nConditions: i16,
direction: PS3000A_THRESHOLD_DIRECTION,
lower: u32,
upper: u32,
type_: PS3000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
[src]
&self,
handle: i16,
conditions: *mut PS3000A_PWQ_CONDITIONS,
nConditions: i16,
direction: PS3000A_THRESHOLD_DIRECTION,
lower: u32,
upper: u32,
type_: PS3000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
pub unsafe fn ps3000aSetPulseWidthQualifierV2(
&self,
handle: i16,
conditions: *mut PS3000A_PWQ_CONDITIONS_V2,
nConditions: i16,
direction: PS3000A_THRESHOLD_DIRECTION,
lower: u32,
upper: u32,
type_: PS3000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
[src]
&self,
handle: i16,
conditions: *mut PS3000A_PWQ_CONDITIONS_V2,
nConditions: i16,
direction: PS3000A_THRESHOLD_DIRECTION,
lower: u32,
upper: u32,
type_: PS3000A_PULSE_WIDTH_TYPE
) -> PICO_STATUS
pub unsafe fn ps3000aIsTriggerOrPulseWidthQualifierEnabled(
&self,
handle: i16,
triggerEnabled: *mut i16,
pulseWidthQualifierEnabled: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
triggerEnabled: *mut i16,
pulseWidthQualifierEnabled: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetTriggerTimeOffset(
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS3000A_TIME_UNITS,
segmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS3000A_TIME_UNITS,
segmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetTriggerTimeOffset64(
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS3000A_TIME_UNITS,
segmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS3000A_TIME_UNITS,
segmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetValuesTriggerTimeOffsetBulk(
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS3000A_TIME_UNITS,
fromSegmentIndex: u32,
toSegmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS3000A_TIME_UNITS,
fromSegmentIndex: u32,
toSegmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetValuesTriggerTimeOffsetBulk64(
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS3000A_TIME_UNITS,
fromSegmentIndex: u32,
toSegmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS3000A_TIME_UNITS,
fromSegmentIndex: u32,
toSegmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetNoOfCaptures(
&self,
handle: i16,
nCaptures: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
nCaptures: *mut u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetNoOfProcessedCaptures(
&self,
handle: i16,
nProcessedCaptures: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
nProcessedCaptures: *mut u32
) -> PICO_STATUS
pub unsafe fn ps3000aSetDataBuffer(
&self,
handle: i16,
channelOrPort: PS3000A_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
segmentIndex: u32,
mode: PS3000A_RATIO_MODE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelOrPort: PS3000A_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
segmentIndex: u32,
mode: PS3000A_RATIO_MODE
) -> PICO_STATUS
pub unsafe fn ps3000aSetDataBuffers(
&self,
handle: i16,
channelOrPort: PS3000A_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32,
segmentIndex: u32,
mode: PS3000A_RATIO_MODE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelOrPort: PS3000A_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32,
segmentIndex: u32,
mode: PS3000A_RATIO_MODE
) -> PICO_STATUS
pub unsafe fn ps3000aSetUnscaledDataBuffers(
&self,
handle: i16,
channelOrPort: PS3000A_CHANNEL,
bufferMax: *mut i8,
bufferMin: *mut i8,
bufferLth: i32,
segmentIndex: u32,
mode: PS3000A_RATIO_MODE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelOrPort: PS3000A_CHANNEL,
bufferMax: *mut i8,
bufferMin: *mut i8,
bufferLth: i32,
segmentIndex: u32,
mode: PS3000A_RATIO_MODE
) -> PICO_STATUS
pub unsafe fn ps3000aSetEtsTimeBuffer(
&self,
handle: i16,
buffer: *mut i64,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
buffer: *mut i64,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps3000aSetEtsTimeBuffers(
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps3000aIsReady(&self, handle: i16, ready: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps3000aRunBlock(
&self,
handle: i16,
noOfPreTriggerSamples: i32,
noOfPostTriggerSamples: i32,
timebase: u32,
oversample: i16,
timeIndisposedMs: *mut i32,
segmentIndex: u32,
lpReady: ps3000aBlockReady,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfPreTriggerSamples: i32,
noOfPostTriggerSamples: i32,
timebase: u32,
oversample: i16,
timeIndisposedMs: *mut i32,
segmentIndex: u32,
lpReady: ps3000aBlockReady,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps3000aRunStreaming(
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS3000A_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
overviewBufferSize: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS3000A_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
overviewBufferSize: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetStreamingLatestValues(
&self,
handle: i16,
lpPs3000aReady: ps3000aStreamingReady,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
lpPs3000aReady: ps3000aStreamingReady,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps3000aNoOfStreamingValues(
&self,
handle: i16,
noOfValues: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfValues: *mut u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetMaxDownSampleRatio(
&self,
handle: i16,
noOfUnaggreatedSamples: u32,
maxDownSampleRatio: *mut u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfUnaggreatedSamples: u32,
maxDownSampleRatio: *mut u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aGetValues(
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32,
overflow: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32,
overflow: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetValuesBulk(
&self,
handle: i16,
noOfSamples: *mut u32,
fromSegmentIndex: u32,
toSegmentIndex: u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
overflow: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfSamples: *mut u32,
fromSegmentIndex: u32,
toSegmentIndex: u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
overflow: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetValuesAsync(
&self,
handle: i16,
startIndex: u32,
noOfSamples: u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32,
lpDataReady: *mut c_void,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
startIndex: u32,
noOfSamples: u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32,
lpDataReady: *mut c_void,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps3000aGetValuesOverlapped(
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32,
overflow: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
segmentIndex: u32,
overflow: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetValuesOverlappedBulk(
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
fromSegmentIndex: u32,
toSegmentIndex: u32,
overflow: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: PS3000A_RATIO_MODE,
fromSegmentIndex: u32,
toSegmentIndex: u32,
overflow: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetTriggerInfoBulk(
&self,
handle: i16,
triggerInfo: *mut PS3000A_TRIGGER_INFO,
fromSegmentIndex: u32,
toSegmentIndex: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
triggerInfo: *mut PS3000A_TRIGGER_INFO,
fromSegmentIndex: u32,
toSegmentIndex: u32
) -> PICO_STATUS
pub unsafe fn ps3000aStop(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps3000aHoldOff(
&self,
handle: i16,
holdoff: u64,
type_: PS3000A_HOLDOFF_TYPE
) -> PICO_STATUS
[src]
&self,
handle: i16,
holdoff: u64,
type_: PS3000A_HOLDOFF_TYPE
) -> PICO_STATUS
pub unsafe fn ps3000aGetChannelInformation(
&self,
handle: i16,
info: PS3000A_CHANNEL_INFO,
probe: i32,
ranges: *mut i32,
length: *mut i32,
channels: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
info: PS3000A_CHANNEL_INFO,
probe: i32,
ranges: *mut i32,
length: *mut i32,
channels: i32
) -> PICO_STATUS
pub unsafe fn ps3000aEnumerateUnits(
&self,
count: *mut i16,
serials: *mut i8,
serialLth: *mut i16
) -> PICO_STATUS
[src]
&self,
count: *mut i16,
serials: *mut i8,
serialLth: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aPingUnit(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps3000aMaximumValue(
&self,
handle: i16,
value: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
value: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aMinimumValue(
&self,
handle: i16,
value: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
value: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetAnalogueOffset(
&self,
handle: i16,
range: PS3000A_RANGE,
coupling: PS3000A_COUPLING,
maximumVoltage: *mut f32,
minimumVoltage: *mut f32
) -> PICO_STATUS
[src]
&self,
handle: i16,
range: PS3000A_RANGE,
coupling: PS3000A_COUPLING,
maximumVoltage: *mut f32,
minimumVoltage: *mut f32
) -> PICO_STATUS
pub unsafe fn ps3000aGetMaxSegments(
&self,
handle: i16,
maxSegments: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
maxSegments: *mut u32
) -> PICO_STATUS
pub unsafe fn ps3000aChangePowerSource(
&self,
handle: i16,
powerState: PICO_STATUS
) -> PICO_STATUS
[src]
&self,
handle: i16,
powerState: PICO_STATUS
) -> PICO_STATUS
pub unsafe fn ps3000aCurrentPowerSource(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps3000aQueryOutputEdgeDetect(
&self,
handle: i16,
state: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
state: *mut i16
) -> PICO_STATUS
pub unsafe fn ps3000aSetOutputEdgeDetect(
&self,
handle: i16,
state: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
state: i16
) -> PICO_STATUS
pub unsafe fn ps3000aGetScalingValues(
&self,
handle: i16,
scalingValues: *mut PS3000A_SCALING_FACTORS_VALUES,
nChannels: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
scalingValues: *mut PS3000A_SCALING_FACTORS_VALUES,
nChannels: i16
) -> PICO_STATUS