PS4000ALoader

Struct PS4000ALoader 

Source
pub struct PS4000ALoader {
Show 82 fields pub ps4000aApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>, pub ps4000aOpenUnitWithResolution: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps4000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>, pub ps4000aOpenUnitAsyncWithResolution: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps4000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>, pub ps4000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>, pub ps4000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>, pub ps4000aSetChannelLed: Result<unsafe extern "C" fn(handle: i16, ledStates: *mut PS4000A_CHANNEL_LED_SETTING, nLedStates: u16) -> PICO_STATUS, Error>, pub ps4000aIsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>, pub ps4000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps4000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>, pub ps4000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, enabled: i16, type_: PS4000A_COUPLING, range: PICO_CONNECT_PROBE_RANGE, analogOffset: f32) -> PICO_STATUS, Error>, pub ps4000aSetBandwidthFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, bandwidth: PS4000A_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>, pub ps4000aApplyResistanceScaling: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, range: PICO_CONNECT_PROBE_RANGE, bufferMax: *mut i16, bufferMin: *mut i16, buffertLth: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aSetSigGenArbitrary: 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: PS4000A_SWEEP_TYPE, operation: PS4000A_EXTRA_OPERATIONS, indexMode: PS4000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps4000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS4000A_WAVE_TYPE, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS4000A_SWEEP_TYPE, operation: PS4000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps4000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS4000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps4000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS4000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps4000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS4000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>, pub ps4000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>, pub ps4000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>, pub ps4000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS4000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>, pub ps4000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS4000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>, pub ps4000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS4000A_CONDITION, nConditions: i16, info: PS4000A_CONDITIONS_INFO) -> PICO_STATUS, Error>, pub ps4000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS4000A_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>, pub ps4000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS4000A_CHANNEL, threshold: i16, direction: PS4000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>, pub ps4000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>, pub ps4000aSetPulseWidthQualifierProperties: Result<unsafe extern "C" fn(handle: i16, direction: PS4000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS4000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>, pub ps4000aSetPulseWidthQualifierConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS4000A_CONDITION, nConditions: i16, info: PS4000A_CONDITIONS_INFO) -> PICO_STATUS, Error>, pub ps4000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS4000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS4000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS4000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS4000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS4000A_RATIO_MODE) -> PICO_STATUS, Error>, pub ps4000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS4000A_RATIO_MODE) -> PICO_STATUS, Error>, pub ps4000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>, pub ps4000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>, pub ps4000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>, pub ps4000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps4000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps4000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS4000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>, pub ps4000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs4000aReady: ps4000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps4000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>, pub ps4000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggregatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>, pub ps4000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps4000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps4000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS4000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>, pub ps4000aConnectDetect: Result<unsafe extern "C" fn(handle: i16, sensor: *mut PS4000A_CONNECT_DETECT, nSensors: i16) -> PICO_STATUS, Error>, pub ps4000aSetProbeInteractionCallback: Result<unsafe extern "C" fn(handle: i16, callback: ps4000aProbeInteractions) -> PICO_STATUS, Error>, pub ps4000aCalibrateProbe: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, checkCalibrationRequired: *mut i16) -> PICO_STATUS, Error>, pub ps4000aSetProbeLedColour: Result<unsafe extern "C" fn(handle: i16, settings: *mut PS4000A_PROBE_CHANNEL_LED_SETTING, nSettings: u16) -> PICO_STATUS, Error>, pub ps4000aRegisterProbeLedColour: Result<unsafe extern "C" fn(handle: i16, probe: PICO_CONNECT_PROBE, settings: *mut PS4000A_PROBE_CHANNEL_LED_SETTING, nSettings: u16) -> PICO_STATUS, Error>, pub ps4000aSetProbeLedDefaults: Result<unsafe extern "C" fn(handle: i16, enabled: i16) -> PICO_STATUS, Error>, pub ps4000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>, pub ps4000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>, pub ps4000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PICO_CONNECT_PROBE_RANGE, coupling: PS4000A_COUPLING, maximumOffset: *mut f32, minimumOffset: *mut f32) -> PICO_STATUS, Error>, pub ps4000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>, pub ps4000aChangePowerSource: Result<unsafe extern "C" fn(handle: i16, powerState: PICO_STATUS) -> PICO_STATUS, Error>, pub ps4000aCurrentPowerSource: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps4000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps4000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps4000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>, pub ps4000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>, pub ps4000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>, pub ps4000aDeviceMetaData: Result<unsafe extern "C" fn(handle: i16, settings: *mut i8, nSettingsLength: *mut i32, type_: PS4000A_META_TYPE, operation: PS4000A_META_OPERATION, format: PS4000A_META_FORMAT) -> PICO_STATUS, Error>, pub ps4000aGetString: Result<unsafe extern "C" fn(handle: i16, stringValue: PICO_STRING_VALUE, string: *mut i8, stringLength: *mut i32) -> PICO_STATUS, Error>, pub ps4000aGetCommonModeOverflow: Result<unsafe extern "C" fn(handle: i16, overflow: *mut u16) -> PICO_STATUS, Error>, pub ps4000aSetFrequencyCounter: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, enabled: i16, range: PS4000A_FREQUENCY_COUNTER_RANGE, thresholdMajor: i16, thresholdMinor: i16) -> PICO_STATUS, Error>, pub ps4000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>, pub ps4000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>, pub ps4000aSetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps4000aGetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: *mut PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps4000aSetCalibrationPins: Result<unsafe extern "C" fn(handle: i16, pinStates: PS4000A_PIN_STATES, waveType: PS4000A_WAVE_TYPE, frequency: f64, amplitude: u32, offset: u32) -> PICO_STATUS, Error>, pub ps4000aNearestSampleIntervalStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS4000A_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PS4000A_DEVICE_RESOLUTION, useEts: u16, timebase: *mut u32, timeIntervalAvailable: *mut f64) -> PICO_STATUS, Error>, pub ps4000aGetMinimumTimebaseStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS4000A_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, /* private fields */
}

Fields§

§ps4000aApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>§ps4000aOpenUnitWithResolution: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps4000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>§ps4000aOpenUnitAsyncWithResolution: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps4000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>§ps4000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>§ps4000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>§ps4000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>§ps4000aSetChannelLed: Result<unsafe extern "C" fn(handle: i16, ledStates: *mut PS4000A_CHANNEL_LED_SETTING, nLedStates: u16) -> PICO_STATUS, Error>§ps4000aIsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>§ps4000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps4000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u32, nMaxSamples: *mut i32) -> PICO_STATUS, Error>§ps4000aSetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, enabled: i16, type_: PS4000A_COUPLING, range: PICO_CONNECT_PROBE_RANGE, analogOffset: f32) -> PICO_STATUS, Error>§ps4000aSetBandwidthFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, bandwidth: PS4000A_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>§ps4000aApplyResistanceScaling: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, range: PICO_CONNECT_PROBE_RANGE, bufferMax: *mut i16, bufferMin: *mut i16, buffertLth: u32, overflow: *mut i16) -> PICO_STATUS, Error>§ps4000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>§ps4000aGetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, maxSamples: *mut i32, segmentIndex: u32) -> PICO_STATUS, Error>§ps4000aSetSigGenArbitrary: 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: PS4000A_SWEEP_TYPE, operation: PS4000A_EXTRA_OPERATIONS, indexMode: PS4000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>§ps4000aSetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS4000A_WAVE_TYPE, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS4000A_SWEEP_TYPE, operation: PS4000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>§ps4000aSetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS4000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>§ps4000aSetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS4000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>§ps4000aSigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: PS4000A_INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>§ps4000aSigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>§ps4000aSigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>§ps4000aSetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS4000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>§ps4000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PS4000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>§ps4000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS4000A_CONDITION, nConditions: i16, info: PS4000A_CONDITIONS_INFO) -> PICO_STATUS, Error>§ps4000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PS4000A_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>§ps4000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS4000A_CHANNEL, threshold: i16, direction: PS4000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>§ps4000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>§ps4000aSetPulseWidthQualifierProperties: Result<unsafe extern "C" fn(handle: i16, direction: PS4000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS4000A_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>§ps4000aSetPulseWidthQualifierConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PS4000A_CONDITION, nConditions: i16, info: PS4000A_CONDITIONS_INFO) -> PICO_STATUS, Error>§ps4000aIsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>§ps4000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS4000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>§ps4000aGetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS4000A_TIME_UNITS, segmentIndex: u32) -> PICO_STATUS, Error>§ps4000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS4000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>§ps4000aGetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS4000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32) -> PICO_STATUS, Error>§ps4000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS4000A_RATIO_MODE) -> PICO_STATUS, Error>§ps4000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS4000A_RATIO_MODE) -> PICO_STATUS, Error>§ps4000aSetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>§ps4000aSetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>§ps4000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>§ps4000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps4000aBlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>§ps4000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS4000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, overviewBufferSize: u32) -> PICO_STATUS, Error>§ps4000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs4000aReady: ps4000aStreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>§ps4000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>§ps4000aGetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggregatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32) -> PICO_STATUS, Error>§ps4000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>§ps4000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>§ps4000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>§ps4000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>§ps4000aGetValuesOverlappedBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16) -> PICO_STATUS, Error>§ps4000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>§ps4000aGetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS4000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>§ps4000aConnectDetect: Result<unsafe extern "C" fn(handle: i16, sensor: *mut PS4000A_CONNECT_DETECT, nSensors: i16) -> PICO_STATUS, Error>§ps4000aSetProbeInteractionCallback: Result<unsafe extern "C" fn(handle: i16, callback: ps4000aProbeInteractions) -> PICO_STATUS, Error>§ps4000aCalibrateProbe: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, checkCalibrationRequired: *mut i16) -> PICO_STATUS, Error>§ps4000aSetProbeLedColour: Result<unsafe extern "C" fn(handle: i16, settings: *mut PS4000A_PROBE_CHANNEL_LED_SETTING, nSettings: u16) -> PICO_STATUS, Error>§ps4000aRegisterProbeLedColour: Result<unsafe extern "C" fn(handle: i16, probe: PICO_CONNECT_PROBE, settings: *mut PS4000A_PROBE_CHANNEL_LED_SETTING, nSettings: u16) -> PICO_STATUS, Error>§ps4000aSetProbeLedDefaults: Result<unsafe extern "C" fn(handle: i16, enabled: i16) -> PICO_STATUS, Error>§ps4000aMaximumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>§ps4000aMinimumValue: Result<unsafe extern "C" fn(handle: i16, value: *mut i16) -> PICO_STATUS, Error>§ps4000aGetAnalogueOffset: Result<unsafe extern "C" fn(handle: i16, range: PICO_CONNECT_PROBE_RANGE, coupling: PS4000A_COUPLING, maximumOffset: *mut f32, minimumOffset: *mut f32) -> PICO_STATUS, Error>§ps4000aGetMaxSegments: Result<unsafe extern "C" fn(handle: i16, maxSegments: *mut u32) -> PICO_STATUS, Error>§ps4000aChangePowerSource: Result<unsafe extern "C" fn(handle: i16, powerState: PICO_STATUS) -> PICO_STATUS, Error>§ps4000aCurrentPowerSource: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps4000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps4000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps4000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u32) -> PICO_STATUS, Error>§ps4000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u32) -> PICO_STATUS, Error>§ps4000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u32) -> PICO_STATUS, Error>§ps4000aDeviceMetaData: Result<unsafe extern "C" fn(handle: i16, settings: *mut i8, nSettingsLength: *mut i32, type_: PS4000A_META_TYPE, operation: PS4000A_META_OPERATION, format: PS4000A_META_FORMAT) -> PICO_STATUS, Error>§ps4000aGetString: Result<unsafe extern "C" fn(handle: i16, stringValue: PICO_STRING_VALUE, string: *mut i8, stringLength: *mut i32) -> PICO_STATUS, Error>§ps4000aGetCommonModeOverflow: Result<unsafe extern "C" fn(handle: i16, overflow: *mut u16) -> PICO_STATUS, Error>§ps4000aSetFrequencyCounter: Result<unsafe extern "C" fn(handle: i16, channel: PS4000A_CHANNEL, enabled: i16, range: PS4000A_FREQUENCY_COUNTER_RANGE, thresholdMajor: i16, thresholdMinor: i16) -> PICO_STATUS, Error>§ps4000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>§ps4000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>§ps4000aSetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps4000aGetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: *mut PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps4000aSetCalibrationPins: Result<unsafe extern "C" fn(handle: i16, pinStates: PS4000A_PIN_STATES, waveType: PS4000A_WAVE_TYPE, frequency: f64, amplitude: u32, offset: u32) -> PICO_STATUS, Error>§ps4000aNearestSampleIntervalStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS4000A_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PS4000A_DEVICE_RESOLUTION, useEts: u16, timebase: *mut u32, timeIntervalAvailable: *mut f64) -> PICO_STATUS, Error>§ps4000aGetMinimumTimebaseStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelOrPortFlags: PS4000A_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PS4000A_DEVICE_RESOLUTION) -> PICO_STATUS, Error>

Implementations§

Source§

impl PS4000ALoader

Source

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

Source

pub unsafe fn ps4000aApplyFix(&self, a: u32, b: u16)

Source

pub unsafe fn ps4000aOpenUnitWithResolution( &self, handle: *mut i16, serial: *mut i8, resolution: PS4000A_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aOpenUnit( &self, handle: *mut i16, serial: *mut i8, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aOpenUnitAsyncWithResolution( &self, status: *mut i16, serial: *mut i8, resolution: PS4000A_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aOpenUnitAsync( &self, status: *mut i16, serial: *mut i8, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aOpenUnitProgress( &self, handle: *mut i16, progressPercent: *mut i16, complete: *mut i16, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps4000aFlashLed(&self, handle: i16, start: i16) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetChannelLed( &self, handle: i16, ledStates: *mut PS4000A_CHANNEL_LED_SETTING, nLedStates: u16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aIsLedFlashing( &self, handle: i16, status: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aCloseUnit(&self, handle: i16) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps4000aSetChannel( &self, handle: i16, channel: PS4000A_CHANNEL, enabled: i16, type_: PS4000A_COUPLING, range: PICO_CONNECT_PROBE_RANGE, analogOffset: f32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetBandwidthFilter( &self, handle: i16, channel: PS4000A_CHANNEL, bandwidth: PS4000A_BANDWIDTH_LIMITER, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aApplyResistanceScaling( &self, handle: i16, channel: PS4000A_CHANNEL, range: PICO_CONNECT_PROBE_RANGE, bufferMax: *mut i16, bufferMin: *mut i16, buffertLth: u32, overflow: *mut i16, ) -> PICO_STATUS

Source

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

Source

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

Source

pub unsafe fn ps4000aSetSigGenArbitrary( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, arbitraryWaveform: *mut i16, arbitraryWaveformSize: i32, sweepType: PS4000A_SWEEP_TYPE, operation: PS4000A_EXTRA_OPERATIONS, indexMode: PS4000A_INDEX_MODE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetSigGenBuiltIn( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: PS4000A_WAVE_TYPE, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS4000A_SWEEP_TYPE, operation: PS4000A_EXTRA_OPERATIONS, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetSigGenPropertiesArbitrary( &self, handle: i16, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: PS4000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetSigGenPropertiesBuiltIn( &self, handle: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: PS4000A_SWEEP_TYPE, shots: u32, sweeps: u32, triggerType: PS4000A_SIGGEN_TRIG_TYPE, triggerSource: PS4000A_SIGGEN_TRIG_SOURCE, extInThreshold: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSigGenFrequencyToPhase( &self, handle: i16, frequency: f64, indexMode: PS4000A_INDEX_MODE, bufferLength: u32, phase: *mut u32, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps4000aSigGenSoftwareControl( &self, handle: i16, state: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetEts( &self, handle: i16, mode: PS4000A_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetTriggerChannelProperties( &self, handle: i16, channelProperties: *mut PS4000A_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetTriggerChannelConditions( &self, handle: i16, conditions: *mut PS4000A_CONDITION, nConditions: i16, info: PS4000A_CONDITIONS_INFO, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetTriggerChannelDirections( &self, handle: i16, directions: *mut PS4000A_DIRECTION, nDirections: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetSimpleTrigger( &self, handle: i16, enable: i16, source: PS4000A_CHANNEL, threshold: i16, direction: PS4000A_THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetTriggerDelay( &self, handle: i16, delay: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetPulseWidthQualifierProperties( &self, handle: i16, direction: PS4000A_THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PS4000A_PULSE_WIDTH_TYPE, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetPulseWidthQualifierConditions( &self, handle: i16, conditions: *mut PS4000A_CONDITION, nConditions: i16, info: PS4000A_CONDITIONS_INFO, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aIsTriggerOrPulseWidthQualifierEnabled( &self, handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetTriggerTimeOffset( &self, handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS4000A_TIME_UNITS, segmentIndex: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetTriggerTimeOffset64( &self, handle: i16, time: *mut i64, timeUnits: *mut PS4000A_TIME_UNITS, segmentIndex: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValuesTriggerTimeOffsetBulk( &self, handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS4000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValuesTriggerTimeOffsetBulk64( &self, handle: i16, times: *mut i64, timeUnits: *mut PS4000A_TIME_UNITS, fromSegmentIndex: u32, toSegmentIndex: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetDataBuffers( &self, handle: i16, channel: PS4000A_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS4000A_RATIO_MODE, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetDataBuffer( &self, handle: i16, channel: PS4000A_CHANNEL, buffer: *mut i16, bufferLth: i32, segmentIndex: u32, mode: PS4000A_RATIO_MODE, ) -> PICO_STATUS

Source

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

Source

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

Source

pub unsafe fn ps4000aIsReady(&self, handle: i16, ready: *mut i16) -> PICO_STATUS

Source

pub unsafe fn ps4000aRunBlock( &self, handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: ps4000aBlockReady, pParameter: *mut c_void, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aRunStreaming( &self, handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS4000A_TIME_UNITS, maxPreTriggerSamples: u32, maxPostTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, overviewBufferSize: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetStreamingLatestValues( &self, handle: i16, lpPs4000aReady: ps4000aStreamingReady, pParameter: *mut c_void, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aNoOfStreamingValues( &self, handle: i16, noOfValues: *mut u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetMaxDownSampleRatio( &self, handle: i16, noOfUnaggregatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValues( &self, handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValuesAsync( &self, handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, lpDataReady: *mut c_void, pParameter: *mut c_void, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValuesBulk( &self, handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u32, toSegmentIndex: u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, overflow: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValuesOverlapped( &self, handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, segmentIndex: u32, overflow: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetValuesOverlappedBulk( &self, handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: PS4000A_RATIO_MODE, fromSegmentIndex: u32, toSegmentIndex: u32, overflow: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aEnumerateUnits( &self, count: *mut i16, serials: *mut i8, serialLth: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetChannelInformation( &self, handle: i16, info: PS4000A_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aConnectDetect( &self, handle: i16, sensor: *mut PS4000A_CONNECT_DETECT, nSensors: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetProbeInteractionCallback( &self, handle: i16, callback: ps4000aProbeInteractions, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aCalibrateProbe( &self, handle: i16, channel: PS4000A_CHANNEL, checkCalibrationRequired: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetProbeLedColour( &self, handle: i16, settings: *mut PS4000A_PROBE_CHANNEL_LED_SETTING, nSettings: u16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aRegisterProbeLedColour( &self, handle: i16, probe: PICO_CONNECT_PROBE, settings: *mut PS4000A_PROBE_CHANNEL_LED_SETTING, nSettings: u16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetProbeLedDefaults( &self, handle: i16, enabled: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aMaximumValue( &self, handle: i16, value: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aMinimumValue( &self, handle: i16, value: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetAnalogueOffset( &self, handle: i16, range: PICO_CONNECT_PROBE_RANGE, coupling: PS4000A_COUPLING, maximumOffset: *mut f32, minimumOffset: *mut f32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetMaxSegments( &self, handle: i16, maxSegments: *mut u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aChangePowerSource( &self, handle: i16, powerState: PICO_STATUS, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aCurrentPowerSource(&self, handle: i16) -> PICO_STATUS

Source

pub unsafe fn ps4000aStop(&self, handle: i16) -> PICO_STATUS

Source

pub unsafe fn ps4000aPingUnit(&self, handle: i16) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetNoOfCaptures( &self, handle: i16, nCaptures: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetNoOfCaptures( &self, handle: i16, nCaptures: *mut u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetNoOfProcessedCaptures( &self, handle: i16, nProcessedCaptures: *mut u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aDeviceMetaData( &self, handle: i16, settings: *mut i8, nSettingsLength: *mut i32, type_: PS4000A_META_TYPE, operation: PS4000A_META_OPERATION, format: PS4000A_META_FORMAT, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetString( &self, handle: i16, stringValue: PICO_STRING_VALUE, string: *mut i8, stringLength: *mut i32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetCommonModeOverflow( &self, handle: i16, overflow: *mut u16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetFrequencyCounter( &self, handle: i16, channel: PS4000A_CHANNEL, enabled: i16, range: PS4000A_FREQUENCY_COUNTER_RANGE, thresholdMajor: i16, thresholdMinor: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aQueryOutputEdgeDetect( &self, handle: i16, state: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetOutputEdgeDetect( &self, handle: i16, state: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetDeviceResolution( &self, handle: i16, resolution: PS4000A_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetDeviceResolution( &self, handle: i16, resolution: *mut PS4000A_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aSetCalibrationPins( &self, handle: i16, pinStates: PS4000A_PIN_STATES, waveType: PS4000A_WAVE_TYPE, frequency: f64, amplitude: u32, offset: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aNearestSampleIntervalStateless( &self, handle: i16, enabledChannelOrPortFlags: PS4000A_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PS4000A_DEVICE_RESOLUTION, useEts: u16, timebase: *mut u32, timeIntervalAvailable: *mut f64, ) -> PICO_STATUS

Source

pub unsafe fn ps4000aGetMinimumTimebaseStateless( &self, handle: i16, enabledChannelOrPortFlags: PS4000A_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PS4000A_DEVICE_RESOLUTION, ) -> PICO_STATUS

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.