PS6000ALoader

Struct PS6000ALoader 

Source
pub struct PS6000ALoader {
Show 79 fields pub ps6000aApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>, pub ps6000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>, pub ps6000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>, pub ps6000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps6000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>, pub ps6000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u64, nMaxSamples: *mut u64) -> PICO_STATUS, Error>, pub ps6000aMemorySegmentsBySamples: Result<unsafe extern "C" fn(handle: i16, nSamples: u64, nMaxSegments: *mut u64) -> PICO_STATUS, Error>, pub ps6000aGetMaximumAvailableMemory: Result<unsafe extern "C" fn(handle: i16, nMaxSamples: *mut u64, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aQueryMaxSegmentsBySamples: Result<unsafe extern "C" fn(handle: i16, nSamples: u64, nChannelEnabled: u32, nMaxSegments: *mut u64, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aSetChannelOn: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL, coupling: PICO_COUPLING, range: PICO_CONNECT_PROBE_RANGE, analogueOffset: f64, bandwidth: PICO_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>, pub ps6000aSetChannelOff: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL) -> PICO_STATUS, Error>, pub ps6000aSetDigitalPortOn: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL, logicThresholdLevel: *mut i16, logicThresholdLevelLength: i16, hysteresis: PICO_DIGITAL_PORT_HYSTERESIS) -> PICO_STATUS, Error>, pub ps6000aSetDigitalPortOff: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL) -> PICO_STATUS, Error>, pub ps6000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: u64, timeIntervalNanoseconds: *mut f64, maxSamples: *mut u64, segmentIndex: u64) -> PICO_STATUS, Error>, pub ps6000aSigGenWaveform: Result<unsafe extern "C" fn(handle: i16, waveType: PICO_WAVE_TYPE, buffer: *mut i16, bufferLength: u64) -> PICO_STATUS, Error>, pub ps6000aSigGenRange: Result<unsafe extern "C" fn(handle: i16, peakToPeakVolts: f64, offsetVolts: f64) -> PICO_STATUS, Error>, pub ps6000aSigGenWaveformDutyCycle: Result<unsafe extern "C" fn(handle: i16, dutyCyclePercent: f64) -> PICO_STATUS, Error>, pub ps6000aSigGenTrigger: Result<unsafe extern "C" fn(handle: i16, triggerType: PICO_SIGGEN_TRIG_TYPE, triggerSource: PICO_SIGGEN_TRIG_SOURCE, cycles: u64, autoTriggerPicoSeconds: u64) -> PICO_STATUS, Error>, pub ps6000aSigGenFilter: Result<unsafe extern "C" fn(handle: i16, filterState: PICO_SIGGEN_FILTER_STATE) -> PICO_STATUS, Error>, pub ps6000aSigGenFrequency: Result<unsafe extern "C" fn(handle: i16, frequencyHz: f64) -> PICO_STATUS, Error>, pub ps6000aSigGenFrequencySweep: Result<unsafe extern "C" fn(handle: i16, stopFrequencyHz: f64, frequencyIncrement: f64, dwellTimeSeconds: f64, sweepType: PICO_SWEEP_TYPE) -> PICO_STATUS, Error>, pub ps6000aSigGenPhase: Result<unsafe extern "C" fn(handle: i16, deltaPhase: u64) -> PICO_STATUS, Error>, pub ps6000aSigGenPhaseSweep: Result<unsafe extern "C" fn(handle: i16, stopDeltaPhase: u64, deltaPhaseIncrement: u64, dwellCount: u64, sweepType: PICO_SWEEP_TYPE) -> PICO_STATUS, Error>, pub ps6000aSigGenClockManual: Result<unsafe extern "C" fn(handle: i16, dacClockFrequency: f64, prescaleRatio: u64) -> PICO_STATUS, Error>, pub ps6000aSigGenSoftwareTriggerControl: Result<unsafe extern "C" fn(handle: i16, triggerState: PICO_SIGGEN_TRIG_TYPE) -> PICO_STATUS, Error>, pub ps6000aSigGenApply: Result<unsafe extern "C" fn(handle: i16, sigGenEnabled: i16, sweepEnabled: i16, triggerEnabled: i16, automaticClockOptimisationEnabled: i16, overrideAutomaticClockAndPrescale: i16, frequency: *mut f64, stopFrequency: *mut f64, frequencyIncrement: *mut f64, dwellTime: *mut f64) -> PICO_STATUS, Error>, pub ps6000aSigGenLimits: Result<unsafe extern "C" fn(handle: i16, parameter: PICO_SIGGEN_PARAMETER, minimumPermissibleValue: *mut f64, maximumPermissibleValue: *mut f64, step: *mut f64) -> PICO_STATUS, Error>, pub ps6000aSigGenFrequencyLimits: Result<unsafe extern "C" fn(handle: i16, waveType: PICO_WAVE_TYPE, numSamples: *mut u64, startFrequency: *mut f64, sweepEnabled: i16, manualDacClockFrequency: *mut f64, manualPrescaleRatio: *mut u64, maxStopFrequencyOut: *mut f64, minFrequencyStepOut: *mut f64, maxFrequencyStepOut: *mut f64, minDwellTimeOut: *mut f64, maxDwellTimeOut: *mut f64) -> PICO_STATUS, Error>, pub ps6000aSigGenPause: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps6000aSigGenRestart: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps6000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PICO_CHANNEL, threshold: i16, direction: PICO_THRESHOLD_DIRECTION, delay: u64, autoTriggerMicroSeconds: u32) -> PICO_STATUS, Error>, pub ps6000aTriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(handle: i16, state: PICO_TRIGGER_WITHIN_PRE_TRIGGER) -> PICO_STATUS, Error>, pub ps6000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PICO_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMicroSeconds: u32) -> PICO_STATUS, Error>, pub ps6000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PICO_CONDITION, nConditions: i16, action: PICO_ACTION) -> PICO_STATUS, Error>, pub ps6000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PICO_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>, pub ps6000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u64) -> PICO_STATUS, Error>, pub ps6000aSetPulseWidthQualifierProperties: Result<unsafe extern "C" fn(handle: i16, lower: u32, upper: u32, type_: PICO_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>, pub ps6000aSetPulseWidthQualifierConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PICO_CONDITION, nConditions: i16, action: PICO_ACTION) -> PICO_STATUS, Error>, pub ps6000aSetPulseWidthQualifierDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PICO_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>, pub ps6000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL, directions: *mut PICO_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>, pub ps6000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL, directions: *mut PICO_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>, pub ps6000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PICO_TIME_UNITS, segmentIndex: u64) -> PICO_STATUS, Error>, pub ps6000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PICO_TIME_UNITS, fromSegmentIndex: u64, toSegmentIndex: u64) -> PICO_STATUS, Error>, pub ps6000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL, buffer: PICO_POINTER, nSamples: i32, dataType: PICO_DATA_TYPE, waveform: u64, downSampleRatioMode: PICO_RATIO_MODE, action: PICO_ACTION) -> PICO_STATUS, Error>, pub ps6000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL, bufferMax: PICO_POINTER, bufferMin: PICO_POINTER, nSamples: i32, dataType: PICO_DATA_TYPE, waveform: u64, downSampleRatioMode: PICO_RATIO_MODE, action: PICO_ACTION) -> PICO_STATUS, Error>, pub ps6000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: u64, noOfPostTriggerSamples: u64, timebase: u32, timeIndisposedMs: *mut f64, segmentIndex: u64, lpReady: ps6000aBlockReady, pParameter: PICO_POINTER) -> PICO_STATUS, Error>, pub ps6000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>, pub ps6000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut f64, sampleIntervalTimeUnits: PICO_TIME_UNITS, maxPreTriggerSamples: u64, maxPostPreTriggerSamples: u64, autoStop: i16, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE) -> PICO_STATUS, Error>, pub ps6000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, streamingDataInfo: *mut PICO_STREAMING_DATA_INFO, nStreamingDataInfos: u64, triggerInfo: *mut PICO_STREAMING_DATA_TRIGGER_INFO) -> PICO_STATUS, Error>, pub ps6000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u64) -> PICO_STATUS, Error>, pub ps6000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: *mut u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, segmentIndex: u64, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps6000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: *mut u64, fromSegmentIndex: u64, toSegmentIndex: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps6000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, segmentIndex: u64, lpDataReady: PICO_POINTER, pParameter: PICO_POINTER) -> PICO_STATUS, Error>, pub ps6000aGetValuesBulkAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: u64, fromSegmentIndex: u64, toSegmentIndex: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, lpDataReady: PICO_POINTER, pParameter: PICO_POINTER) -> PICO_STATUS, Error>, pub ps6000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: *mut u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, fromSegmentIndex: u64, toSegmentIndex: u64, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps6000aStopUsingGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps6000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u64) -> PICO_STATUS, Error>, pub ps6000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u64) -> PICO_STATUS, Error>, pub ps6000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps6000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u64) -> PICO_STATUS, Error>, pub ps6000aGetTriggerInfo: Result<unsafe extern "C" fn(handle: i16, triggerInfo: *mut PICO_TRIGGER_INFO, firstSegmentIndex: u64, segmentCount: u64) -> PICO_STATUS, Error>, pub ps6000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>, pub ps6000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps6000aGetAnalogueOffsetLimits: Result<unsafe extern "C" fn(handle: i16, range: PICO_CONNECT_PROBE_RANGE, coupling: PICO_COUPLING, maximumVoltage: *mut f64, minimumVoltage: *mut f64) -> PICO_STATUS, Error>, pub ps6000aGetMinimumTimebaseStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelFlags: PICO_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aNearestSampleIntervalStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelFlags: PICO_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PICO_DEVICE_RESOLUTION, timebase: *mut u32, timeIntervalAvailable: *mut f64) -> PICO_STATUS, Error>, pub ps6000aChannelCombinationsStateless: Result<unsafe extern "C" fn(handle: i16, channelFlagsCombinations: *mut PICO_CHANNEL_FLAGS, nChannelCombinations: *mut u32, resolution: PICO_DEVICE_RESOLUTION, timebase: u32) -> PICO_STATUS, Error>, pub ps6000aSetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aGetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: *mut PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>, pub ps6000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>, pub ps6000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>, pub ps6000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PICO_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>, pub ps6000aGetAdcLimits: Result<unsafe extern "C" fn(handle: i16, resolution: PICO_DEVICE_RESOLUTION, minValue: *mut i16, maxValue: *mut i16) -> PICO_STATUS, Error>, pub ps6000aCheckForUpdate: Result<unsafe extern "C" fn(handle: i16, current: *mut PICO_VERSION, update: *mut PICO_VERSION, updateRequired: *mut u16) -> PICO_STATUS, Error>, pub ps6000aStartFirmwareUpdate: Result<unsafe extern "C" fn(handle: i16, progress: PicoUpdateFirmwareProgress) -> PICO_STATUS, Error>, pub ps6000aResetChannelsAndReportAllChannelsOvervoltageTripStatus: Result<unsafe extern "C" fn(handle: i16, allChannelsTrippedStatus: *mut PICO_CHANNEL_OVERVOLTAGE_TRIPPED, nChannelTrippedStatus: u8) -> PICO_STATUS, Error>, pub ps6000aReportAllChannelsOvervoltageTripStatus: Result<unsafe extern "C" fn(handle: i16, allChannelsTrippedStatus: *mut PICO_CHANNEL_OVERVOLTAGE_TRIPPED, nChannelTrippedStatus: u8) -> PICO_STATUS, Error>, /* private fields */
}

Fields§

§ps6000aApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>§ps6000aOpenUnit: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aOpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aOpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>§ps6000aGetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>§ps6000aCloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps6000aFlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>§ps6000aMemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u64, nMaxSamples: *mut u64) -> PICO_STATUS, Error>§ps6000aMemorySegmentsBySamples: Result<unsafe extern "C" fn(handle: i16, nSamples: u64, nMaxSegments: *mut u64) -> PICO_STATUS, Error>§ps6000aGetMaximumAvailableMemory: Result<unsafe extern "C" fn(handle: i16, nMaxSamples: *mut u64, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aQueryMaxSegmentsBySamples: Result<unsafe extern "C" fn(handle: i16, nSamples: u64, nChannelEnabled: u32, nMaxSegments: *mut u64, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aSetChannelOn: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL, coupling: PICO_COUPLING, range: PICO_CONNECT_PROBE_RANGE, analogueOffset: f64, bandwidth: PICO_BANDWIDTH_LIMITER) -> PICO_STATUS, Error>§ps6000aSetChannelOff: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL) -> PICO_STATUS, Error>§ps6000aSetDigitalPortOn: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL, logicThresholdLevel: *mut i16, logicThresholdLevelLength: i16, hysteresis: PICO_DIGITAL_PORT_HYSTERESIS) -> PICO_STATUS, Error>§ps6000aSetDigitalPortOff: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL) -> PICO_STATUS, Error>§ps6000aGetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: u64, timeIntervalNanoseconds: *mut f64, maxSamples: *mut u64, segmentIndex: u64) -> PICO_STATUS, Error>§ps6000aSigGenWaveform: Result<unsafe extern "C" fn(handle: i16, waveType: PICO_WAVE_TYPE, buffer: *mut i16, bufferLength: u64) -> PICO_STATUS, Error>§ps6000aSigGenRange: Result<unsafe extern "C" fn(handle: i16, peakToPeakVolts: f64, offsetVolts: f64) -> PICO_STATUS, Error>§ps6000aSigGenWaveformDutyCycle: Result<unsafe extern "C" fn(handle: i16, dutyCyclePercent: f64) -> PICO_STATUS, Error>§ps6000aSigGenTrigger: Result<unsafe extern "C" fn(handle: i16, triggerType: PICO_SIGGEN_TRIG_TYPE, triggerSource: PICO_SIGGEN_TRIG_SOURCE, cycles: u64, autoTriggerPicoSeconds: u64) -> PICO_STATUS, Error>§ps6000aSigGenFilter: Result<unsafe extern "C" fn(handle: i16, filterState: PICO_SIGGEN_FILTER_STATE) -> PICO_STATUS, Error>§ps6000aSigGenFrequency: Result<unsafe extern "C" fn(handle: i16, frequencyHz: f64) -> PICO_STATUS, Error>§ps6000aSigGenFrequencySweep: Result<unsafe extern "C" fn(handle: i16, stopFrequencyHz: f64, frequencyIncrement: f64, dwellTimeSeconds: f64, sweepType: PICO_SWEEP_TYPE) -> PICO_STATUS, Error>§ps6000aSigGenPhase: Result<unsafe extern "C" fn(handle: i16, deltaPhase: u64) -> PICO_STATUS, Error>§ps6000aSigGenPhaseSweep: Result<unsafe extern "C" fn(handle: i16, stopDeltaPhase: u64, deltaPhaseIncrement: u64, dwellCount: u64, sweepType: PICO_SWEEP_TYPE) -> PICO_STATUS, Error>§ps6000aSigGenClockManual: Result<unsafe extern "C" fn(handle: i16, dacClockFrequency: f64, prescaleRatio: u64) -> PICO_STATUS, Error>§ps6000aSigGenSoftwareTriggerControl: Result<unsafe extern "C" fn(handle: i16, triggerState: PICO_SIGGEN_TRIG_TYPE) -> PICO_STATUS, Error>§ps6000aSigGenApply: Result<unsafe extern "C" fn(handle: i16, sigGenEnabled: i16, sweepEnabled: i16, triggerEnabled: i16, automaticClockOptimisationEnabled: i16, overrideAutomaticClockAndPrescale: i16, frequency: *mut f64, stopFrequency: *mut f64, frequencyIncrement: *mut f64, dwellTime: *mut f64) -> PICO_STATUS, Error>§ps6000aSigGenLimits: Result<unsafe extern "C" fn(handle: i16, parameter: PICO_SIGGEN_PARAMETER, minimumPermissibleValue: *mut f64, maximumPermissibleValue: *mut f64, step: *mut f64) -> PICO_STATUS, Error>§ps6000aSigGenFrequencyLimits: Result<unsafe extern "C" fn(handle: i16, waveType: PICO_WAVE_TYPE, numSamples: *mut u64, startFrequency: *mut f64, sweepEnabled: i16, manualDacClockFrequency: *mut f64, manualPrescaleRatio: *mut u64, maxStopFrequencyOut: *mut f64, minFrequencyStepOut: *mut f64, maxFrequencyStepOut: *mut f64, minDwellTimeOut: *mut f64, maxDwellTimeOut: *mut f64) -> PICO_STATUS, Error>§ps6000aSigGenPause: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps6000aSigGenRestart: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps6000aSetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PICO_CHANNEL, threshold: i16, direction: PICO_THRESHOLD_DIRECTION, delay: u64, autoTriggerMicroSeconds: u32) -> PICO_STATUS, Error>§ps6000aTriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(handle: i16, state: PICO_TRIGGER_WITHIN_PRE_TRIGGER) -> PICO_STATUS, Error>§ps6000aSetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut PICO_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMicroSeconds: u32) -> PICO_STATUS, Error>§ps6000aSetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PICO_CONDITION, nConditions: i16, action: PICO_ACTION) -> PICO_STATUS, Error>§ps6000aSetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PICO_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>§ps6000aSetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u64) -> PICO_STATUS, Error>§ps6000aSetPulseWidthQualifierProperties: Result<unsafe extern "C" fn(handle: i16, lower: u32, upper: u32, type_: PICO_PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>§ps6000aSetPulseWidthQualifierConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PICO_CONDITION, nConditions: i16, action: PICO_ACTION) -> PICO_STATUS, Error>§ps6000aSetPulseWidthQualifierDirections: Result<unsafe extern "C" fn(handle: i16, directions: *mut PICO_DIRECTION, nDirections: i16) -> PICO_STATUS, Error>§ps6000aSetTriggerDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL, directions: *mut PICO_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>§ps6000aSetPulseWidthDigitalPortProperties: Result<unsafe extern "C" fn(handle: i16, port: PICO_CHANNEL, directions: *mut PICO_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16) -> PICO_STATUS, Error>§ps6000aGetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PICO_TIME_UNITS, segmentIndex: u64) -> PICO_STATUS, Error>§ps6000aGetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PICO_TIME_UNITS, fromSegmentIndex: u64, toSegmentIndex: u64) -> PICO_STATUS, Error>§ps6000aSetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL, buffer: PICO_POINTER, nSamples: i32, dataType: PICO_DATA_TYPE, waveform: u64, downSampleRatioMode: PICO_RATIO_MODE, action: PICO_ACTION) -> PICO_STATUS, Error>§ps6000aSetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PICO_CHANNEL, bufferMax: PICO_POINTER, bufferMin: PICO_POINTER, nSamples: i32, dataType: PICO_DATA_TYPE, waveform: u64, downSampleRatioMode: PICO_RATIO_MODE, action: PICO_ACTION) -> PICO_STATUS, Error>§ps6000aRunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: u64, noOfPostTriggerSamples: u64, timebase: u32, timeIndisposedMs: *mut f64, segmentIndex: u64, lpReady: ps6000aBlockReady, pParameter: PICO_POINTER) -> PICO_STATUS, Error>§ps6000aIsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>§ps6000aRunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut f64, sampleIntervalTimeUnits: PICO_TIME_UNITS, maxPreTriggerSamples: u64, maxPostPreTriggerSamples: u64, autoStop: i16, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE) -> PICO_STATUS, Error>§ps6000aGetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, streamingDataInfo: *mut PICO_STREAMING_DATA_INFO, nStreamingDataInfos: u64, triggerInfo: *mut PICO_STREAMING_DATA_TRIGGER_INFO) -> PICO_STATUS, Error>§ps6000aNoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u64) -> PICO_STATUS, Error>§ps6000aGetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: *mut u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, segmentIndex: u64, overflow: *mut i16) -> PICO_STATUS, Error>§ps6000aGetValuesBulk: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: *mut u64, fromSegmentIndex: u64, toSegmentIndex: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, overflow: *mut i16) -> PICO_STATUS, Error>§ps6000aGetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, segmentIndex: u64, lpDataReady: PICO_POINTER, pParameter: PICO_POINTER) -> PICO_STATUS, Error>§ps6000aGetValuesBulkAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: u64, fromSegmentIndex: u64, toSegmentIndex: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, lpDataReady: PICO_POINTER, pParameter: PICO_POINTER) -> PICO_STATUS, Error>§ps6000aGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16, startIndex: u64, noOfSamples: *mut u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, fromSegmentIndex: u64, toSegmentIndex: u64, overflow: *mut i16) -> PICO_STATUS, Error>§ps6000aStopUsingGetValuesOverlapped: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps6000aGetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u64) -> PICO_STATUS, Error>§ps6000aGetNoOfProcessedCaptures: Result<unsafe extern "C" fn(handle: i16, nProcessedCaptures: *mut u64) -> PICO_STATUS, Error>§ps6000aStop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps6000aSetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u64) -> PICO_STATUS, Error>§ps6000aGetTriggerInfo: Result<unsafe extern "C" fn(handle: i16, triggerInfo: *mut PICO_TRIGGER_INFO, firstSegmentIndex: u64, segmentCount: u64) -> PICO_STATUS, Error>§ps6000aEnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>§ps6000aPingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>§ps6000aGetAnalogueOffsetLimits: Result<unsafe extern "C" fn(handle: i16, range: PICO_CONNECT_PROBE_RANGE, coupling: PICO_COUPLING, maximumVoltage: *mut f64, minimumVoltage: *mut f64) -> PICO_STATUS, Error>§ps6000aGetMinimumTimebaseStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelFlags: PICO_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aNearestSampleIntervalStateless: Result<unsafe extern "C" fn(handle: i16, enabledChannelFlags: PICO_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PICO_DEVICE_RESOLUTION, timebase: *mut u32, timeIntervalAvailable: *mut f64) -> PICO_STATUS, Error>§ps6000aChannelCombinationsStateless: Result<unsafe extern "C" fn(handle: i16, channelFlagsCombinations: *mut PICO_CHANNEL_FLAGS, nChannelCombinations: *mut u32, resolution: PICO_DEVICE_RESOLUTION, timebase: u32) -> PICO_STATUS, Error>§ps6000aSetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aGetDeviceResolution: Result<unsafe extern "C" fn(handle: i16, resolution: *mut PICO_DEVICE_RESOLUTION) -> PICO_STATUS, Error>§ps6000aQueryOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: *mut i16) -> PICO_STATUS, Error>§ps6000aSetOutputEdgeDetect: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>§ps6000aGetScalingValues: Result<unsafe extern "C" fn(handle: i16, scalingValues: *mut PICO_SCALING_FACTORS_VALUES, nChannels: i16) -> PICO_STATUS, Error>§ps6000aGetAdcLimits: Result<unsafe extern "C" fn(handle: i16, resolution: PICO_DEVICE_RESOLUTION, minValue: *mut i16, maxValue: *mut i16) -> PICO_STATUS, Error>§ps6000aCheckForUpdate: Result<unsafe extern "C" fn(handle: i16, current: *mut PICO_VERSION, update: *mut PICO_VERSION, updateRequired: *mut u16) -> PICO_STATUS, Error>§ps6000aStartFirmwareUpdate: Result<unsafe extern "C" fn(handle: i16, progress: PicoUpdateFirmwareProgress) -> PICO_STATUS, Error>§ps6000aResetChannelsAndReportAllChannelsOvervoltageTripStatus: Result<unsafe extern "C" fn(handle: i16, allChannelsTrippedStatus: *mut PICO_CHANNEL_OVERVOLTAGE_TRIPPED, nChannelTrippedStatus: u8) -> PICO_STATUS, Error>§ps6000aReportAllChannelsOvervoltageTripStatus: Result<unsafe extern "C" fn(handle: i16, allChannelsTrippedStatus: *mut PICO_CHANNEL_OVERVOLTAGE_TRIPPED, nChannelTrippedStatus: u8) -> PICO_STATUS, Error>

Implementations§

Source§

impl PS6000ALoader

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000aMemorySegments( &self, handle: i16, nSegments: u64, nMaxSamples: *mut u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aMemorySegmentsBySamples( &self, handle: i16, nSamples: u64, nMaxSegments: *mut u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetMaximumAvailableMemory( &self, handle: i16, nMaxSamples: *mut u64, resolution: PICO_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aQueryMaxSegmentsBySamples( &self, handle: i16, nSamples: u64, nChannelEnabled: u32, nMaxSegments: *mut u64, resolution: PICO_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetChannelOn( &self, handle: i16, channel: PICO_CHANNEL, coupling: PICO_COUPLING, range: PICO_CONNECT_PROBE_RANGE, analogueOffset: f64, bandwidth: PICO_BANDWIDTH_LIMITER, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetChannelOff( &self, handle: i16, channel: PICO_CHANNEL, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetDigitalPortOn( &self, handle: i16, port: PICO_CHANNEL, logicThresholdLevel: *mut i16, logicThresholdLevelLength: i16, hysteresis: PICO_DIGITAL_PORT_HYSTERESIS, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetDigitalPortOff( &self, handle: i16, port: PICO_CHANNEL, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aSigGenWaveform( &self, handle: i16, waveType: PICO_WAVE_TYPE, buffer: *mut i16, bufferLength: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenRange( &self, handle: i16, peakToPeakVolts: f64, offsetVolts: f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenWaveformDutyCycle( &self, handle: i16, dutyCyclePercent: f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenTrigger( &self, handle: i16, triggerType: PICO_SIGGEN_TRIG_TYPE, triggerSource: PICO_SIGGEN_TRIG_SOURCE, cycles: u64, autoTriggerPicoSeconds: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenFilter( &self, handle: i16, filterState: PICO_SIGGEN_FILTER_STATE, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenFrequency( &self, handle: i16, frequencyHz: f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenFrequencySweep( &self, handle: i16, stopFrequencyHz: f64, frequencyIncrement: f64, dwellTimeSeconds: f64, sweepType: PICO_SWEEP_TYPE, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenPhase( &self, handle: i16, deltaPhase: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenPhaseSweep( &self, handle: i16, stopDeltaPhase: u64, deltaPhaseIncrement: u64, dwellCount: u64, sweepType: PICO_SWEEP_TYPE, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenClockManual( &self, handle: i16, dacClockFrequency: f64, prescaleRatio: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenSoftwareTriggerControl( &self, handle: i16, triggerState: PICO_SIGGEN_TRIG_TYPE, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenApply( &self, handle: i16, sigGenEnabled: i16, sweepEnabled: i16, triggerEnabled: i16, automaticClockOptimisationEnabled: i16, overrideAutomaticClockAndPrescale: i16, frequency: *mut f64, stopFrequency: *mut f64, frequencyIncrement: *mut f64, dwellTime: *mut f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenLimits( &self, handle: i16, parameter: PICO_SIGGEN_PARAMETER, minimumPermissibleValue: *mut f64, maximumPermissibleValue: *mut f64, step: *mut f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSigGenFrequencyLimits( &self, handle: i16, waveType: PICO_WAVE_TYPE, numSamples: *mut u64, startFrequency: *mut f64, sweepEnabled: i16, manualDacClockFrequency: *mut f64, manualPrescaleRatio: *mut u64, maxStopFrequencyOut: *mut f64, minFrequencyStepOut: *mut f64, maxFrequencyStepOut: *mut f64, minDwellTimeOut: *mut f64, maxDwellTimeOut: *mut f64, ) -> PICO_STATUS

Source

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

Source

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

Source

pub unsafe fn ps6000aSetSimpleTrigger( &self, handle: i16, enable: i16, source: PICO_CHANNEL, threshold: i16, direction: PICO_THRESHOLD_DIRECTION, delay: u64, autoTriggerMicroSeconds: u32, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aSetTriggerChannelProperties( &self, handle: i16, channelProperties: *mut PICO_TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMicroSeconds: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetTriggerChannelConditions( &self, handle: i16, conditions: *mut PICO_CONDITION, nConditions: i16, action: PICO_ACTION, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aSetTriggerDelay( &self, handle: i16, delay: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetPulseWidthQualifierProperties( &self, handle: i16, lower: u32, upper: u32, type_: PICO_PULSE_WIDTH_TYPE, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetPulseWidthQualifierConditions( &self, handle: i16, conditions: *mut PICO_CONDITION, nConditions: i16, action: PICO_ACTION, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aSetTriggerDigitalPortProperties( &self, handle: i16, port: PICO_CHANNEL, directions: *mut PICO_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetPulseWidthDigitalPortProperties( &self, handle: i16, port: PICO_CHANNEL, directions: *mut PICO_DIGITAL_CHANNEL_DIRECTIONS, nDirections: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetTriggerTimeOffset( &self, handle: i16, time: *mut i64, timeUnits: *mut PICO_TIME_UNITS, segmentIndex: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetValuesTriggerTimeOffsetBulk( &self, handle: i16, times: *mut i64, timeUnits: *mut PICO_TIME_UNITS, fromSegmentIndex: u64, toSegmentIndex: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetDataBuffer( &self, handle: i16, channel: PICO_CHANNEL, buffer: PICO_POINTER, nSamples: i32, dataType: PICO_DATA_TYPE, waveform: u64, downSampleRatioMode: PICO_RATIO_MODE, action: PICO_ACTION, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetDataBuffers( &self, handle: i16, channel: PICO_CHANNEL, bufferMax: PICO_POINTER, bufferMin: PICO_POINTER, nSamples: i32, dataType: PICO_DATA_TYPE, waveform: u64, downSampleRatioMode: PICO_RATIO_MODE, action: PICO_ACTION, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aRunBlock( &self, handle: i16, noOfPreTriggerSamples: u64, noOfPostTriggerSamples: u64, timebase: u32, timeIndisposedMs: *mut f64, segmentIndex: u64, lpReady: ps6000aBlockReady, pParameter: PICO_POINTER, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aRunStreaming( &self, handle: i16, sampleInterval: *mut f64, sampleIntervalTimeUnits: PICO_TIME_UNITS, maxPreTriggerSamples: u64, maxPostPreTriggerSamples: u64, autoStop: i16, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetStreamingLatestValues( &self, handle: i16, streamingDataInfo: *mut PICO_STREAMING_DATA_INFO, nStreamingDataInfos: u64, triggerInfo: *mut PICO_STREAMING_DATA_TRIGGER_INFO, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aGetValues( &self, handle: i16, startIndex: u64, noOfSamples: *mut u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, segmentIndex: u64, overflow: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetValuesBulk( &self, handle: i16, startIndex: u64, noOfSamples: *mut u64, fromSegmentIndex: u64, toSegmentIndex: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, overflow: *mut i16, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetValuesAsync( &self, handle: i16, startIndex: u64, noOfSamples: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, segmentIndex: u64, lpDataReady: PICO_POINTER, pParameter: PICO_POINTER, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetValuesBulkAsync( &self, handle: i16, startIndex: u64, noOfSamples: u64, fromSegmentIndex: u64, toSegmentIndex: u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, lpDataReady: PICO_POINTER, pParameter: PICO_POINTER, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetValuesOverlapped( &self, handle: i16, startIndex: u64, noOfSamples: *mut u64, downSampleRatio: u64, downSampleRatioMode: PICO_RATIO_MODE, fromSegmentIndex: u64, toSegmentIndex: u64, overflow: *mut i16, ) -> PICO_STATUS

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000aSetNoOfCaptures( &self, handle: i16, nCaptures: u64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetTriggerInfo( &self, handle: i16, triggerInfo: *mut PICO_TRIGGER_INFO, firstSegmentIndex: u64, segmentCount: u64, ) -> PICO_STATUS

Source

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

Source

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

Source

pub unsafe fn ps6000aGetAnalogueOffsetLimits( &self, handle: i16, range: PICO_CONNECT_PROBE_RANGE, coupling: PICO_COUPLING, maximumVoltage: *mut f64, minimumVoltage: *mut f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetMinimumTimebaseStateless( &self, handle: i16, enabledChannelFlags: PICO_CHANNEL_FLAGS, timebase: *mut u32, timeInterval: *mut f64, resolution: PICO_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aNearestSampleIntervalStateless( &self, handle: i16, enabledChannelFlags: PICO_CHANNEL_FLAGS, timeIntervalRequested: f64, resolution: PICO_DEVICE_RESOLUTION, timebase: *mut u32, timeIntervalAvailable: *mut f64, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aChannelCombinationsStateless( &self, handle: i16, channelFlagsCombinations: *mut PICO_CHANNEL_FLAGS, nChannelCombinations: *mut u32, resolution: PICO_DEVICE_RESOLUTION, timebase: u32, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aSetDeviceResolution( &self, handle: i16, resolution: PICO_DEVICE_RESOLUTION, ) -> PICO_STATUS

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000aGetScalingValues( &self, handle: i16, scalingValues: *mut PICO_SCALING_FACTORS_VALUES, nChannels: i16, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aGetAdcLimits( &self, handle: i16, resolution: PICO_DEVICE_RESOLUTION, minValue: *mut i16, maxValue: *mut i16, ) -> PICO_STATUS

Source

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

Source

pub unsafe fn ps6000aStartFirmwareUpdate( &self, handle: i16, progress: PicoUpdateFirmwareProgress, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aResetChannelsAndReportAllChannelsOvervoltageTripStatus( &self, handle: i16, allChannelsTrippedStatus: *mut PICO_CHANNEL_OVERVOLTAGE_TRIPPED, nChannelTrippedStatus: u8, ) -> PICO_STATUS

Source

pub unsafe fn ps6000aReportAllChannelsOvervoltageTripStatus( &self, handle: i16, allChannelsTrippedStatus: *mut PICO_CHANNEL_OVERVOLTAGE_TRIPPED, nChannelTrippedStatus: u8, ) -> 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.