PS6000Loader

Struct PS6000Loader 

Source
pub struct PS6000Loader {
Show 62 fields pub ps6000ApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>, pub ps6000OpenUnit: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>, pub ps6000OpenUnitAsync: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>, pub ps6000OpenUnitProgress: Result<unsafe extern "C" fn(*mut i16, *mut i16, *mut i16) -> u32, Error>, pub ps6000GetUnitInfo: Result<unsafe extern "C" fn(i16, *mut i8, i16, *mut i16, u32) -> u32, Error>, pub ps6000FlashLed: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>, pub ps6000CloseUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>, pub ps6000MemorySegments: Result<unsafe extern "C" fn(i16, u32, *mut u32) -> u32, Error>, pub ps6000SetChannel: Result<unsafe extern "C" fn(i16, u32, i16, u32, u32, f32, u32) -> u32, Error>, pub ps6000GetTimebase: Result<unsafe extern "C" fn(i16, u32, u32, *mut i32, i16, *mut u32, u32) -> u32, Error>, pub ps6000GetTimebase2: Result<unsafe extern "C" fn(i16, u32, u32, *mut f32, i16, *mut u32, u32) -> u32, Error>, pub ps6000SetSigGenArbitrary: Result<unsafe extern "C" fn(i16, i32, u32, u32, u32, u32, u32, *mut i16, i32, u32, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>, pub ps6000SetSigGenBuiltIn: Result<unsafe extern "C" fn(i16, i32, u32, i16, f32, f32, f32, f32, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>, pub ps6000SetSigGenBuiltInV2: Result<unsafe extern "C" fn(i16, i32, u32, i16, f64, f64, f64, f64, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>, pub ps6000SetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(i16, i32, u32, u32, u32, u32, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>, pub ps6000SetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(i16, i32, u32, f64, f64, f64, f64, u32, u32, u32, u32, u32, i16) -> u32, Error>, pub ps6000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(i16, f64, u32, u32, *mut u32) -> u32, Error>, pub ps6000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16, *mut u32, *mut u32) -> u32, Error>, pub ps6000SigGenSoftwareControl: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>, pub ps6000SetSimpleTrigger: Result<unsafe extern "C" fn(i16, i16, u32, i16, u32, u32, i16) -> u32, Error>, pub ps6000SetEts: Result<unsafe extern "C" fn(i16, u32, i16, i16, *mut i32) -> u32, Error>, pub ps6000SetTriggerChannelProperties: Result<unsafe extern "C" fn(i16, *mut tPS6000TriggerChannelProperties, i16, i16, i32) -> u32, Error>, pub ps6000SetTriggerChannelConditions: Result<unsafe extern "C" fn(i16, *mut tPS6000TriggerConditions, i16) -> u32, Error>, pub ps6000SetTriggerChannelDirections: Result<unsafe extern "C" fn(i16, u32, u32, u32, u32, u32, u32) -> u32, Error>, pub ps6000SetTriggerDelay: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>, pub ps6000SetPulseWidthQualifier: Result<unsafe extern "C" fn(i16, *mut tPS6000PwqConditions, i16, u32, u32, u32, u32) -> u32, Error>, pub ps6000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16) -> u32, Error>, pub ps6000GetTriggerTimeOffset: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u32) -> u32, Error>, pub ps6000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u32) -> u32, Error>, pub ps6000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u32, u32) -> u32, Error>, pub ps6000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u32, u32) -> u32, Error>, pub ps6000SetDataBuffers: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, u32, u32) -> u32, Error>, pub ps6000SetDataBuffer: Result<unsafe extern "C" fn(i16, u32, *mut i16, u32, u32) -> u32, Error>, pub ps6000SetDataBufferBulk: Result<unsafe extern "C" fn(i16, u32, *mut i16, u32, u32, u32) -> u32, Error>, pub ps6000SetDataBuffersBulk: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, u32, u32, u32) -> u32, Error>, pub ps6000SetEtsTimeBuffer: Result<unsafe extern "C" fn(i16, *mut i64, u32) -> u32, Error>, pub ps6000SetEtsTimeBuffers: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, u32) -> u32, Error>, pub ps6000RunBlock: Result<unsafe extern "C" fn(i16, u32, u32, u32, i16, *mut i32, u32, Option<unsafe extern "C" fn(i16, u32, *mut c_void)>, *mut c_void) -> u32, Error>, pub ps6000IsReady: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>, pub ps6000RunStreaming: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, i16, u32, u32, u32) -> u32, Error>, pub ps6000GetStreamingLatestValues: Result<unsafe extern "C" fn(i16, Option<unsafe extern "C" fn(i16, u32, u32, i16, u32, i16, i16, *mut c_void)>, *mut c_void) -> u32, Error>, pub ps6000NoOfStreamingValues: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>, pub ps6000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32) -> u32, Error>, pub ps6000GetValues: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, *mut i16) -> u32, Error>, pub ps6000GetValuesBulk: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, u32, *mut i16) -> u32, Error>, pub ps6000GetValuesAsync: Result<unsafe extern "C" fn(i16, u32, u32, u32, u32, u32, *mut c_void, *mut c_void) -> u32, Error>, pub ps6000GetValuesOverlapped: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, *mut i16) -> u32, Error>, pub ps6000GetValuesOverlappedBulk: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, u32, *mut i16) -> u32, Error>, pub ps6000GetValuesBulkAsyc: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, u32, *mut i16) -> u32, Error>, pub ps6000GetNoOfCaptures: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>, pub ps6000GetNoOfProcessedCaptures: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>, pub ps6000Stop: Result<unsafe extern "C" fn(i16) -> u32, Error>, pub ps6000SetNoOfCaptures: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>, pub ps6000SetWaveformLimiter: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>, pub ps6000GetTriggerInfoBulk: Result<unsafe extern "C" fn(i16, *mut tPS6000TriggerInfo, u32, u32) -> u32, Error>, pub ps6000EnumerateUnits: Result<unsafe extern "C" fn(*mut i16, *mut i8, *mut i16) -> u32, Error>, pub ps6000SetExternalClock: Result<unsafe extern "C" fn(i16, u32, i16) -> u32, Error>, pub ps6000PingUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>, pub ps6000GetAnalogueOffset: Result<unsafe extern "C" fn(i16, u32, u32, *mut f32, *mut f32) -> u32, Error>, pub ps6000QueryTemperatures: Result<unsafe extern "C" fn(i16, *mut u32, *mut f32) -> u32, Error>, pub ps6000QueryOutputEdgeDetect: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>, pub ps6000SetOutputEdgeDetect: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>, /* private fields */
}

Fields§

§ps6000ApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>§ps6000OpenUnit: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>§ps6000OpenUnitAsync: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>§ps6000OpenUnitProgress: Result<unsafe extern "C" fn(*mut i16, *mut i16, *mut i16) -> u32, Error>§ps6000GetUnitInfo: Result<unsafe extern "C" fn(i16, *mut i8, i16, *mut i16, u32) -> u32, Error>§ps6000FlashLed: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>§ps6000CloseUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>§ps6000MemorySegments: Result<unsafe extern "C" fn(i16, u32, *mut u32) -> u32, Error>§ps6000SetChannel: Result<unsafe extern "C" fn(i16, u32, i16, u32, u32, f32, u32) -> u32, Error>§ps6000GetTimebase: Result<unsafe extern "C" fn(i16, u32, u32, *mut i32, i16, *mut u32, u32) -> u32, Error>§ps6000GetTimebase2: Result<unsafe extern "C" fn(i16, u32, u32, *mut f32, i16, *mut u32, u32) -> u32, Error>§ps6000SetSigGenArbitrary: Result<unsafe extern "C" fn(i16, i32, u32, u32, u32, u32, u32, *mut i16, i32, u32, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>§ps6000SetSigGenBuiltIn: Result<unsafe extern "C" fn(i16, i32, u32, i16, f32, f32, f32, f32, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>§ps6000SetSigGenBuiltInV2: Result<unsafe extern "C" fn(i16, i32, u32, i16, f64, f64, f64, f64, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>§ps6000SetSigGenPropertiesArbitrary: Result<unsafe extern "C" fn(i16, i32, u32, u32, u32, u32, u32, u32, u32, u32, u32, u32, i16) -> u32, Error>§ps6000SetSigGenPropertiesBuiltIn: Result<unsafe extern "C" fn(i16, i32, u32, f64, f64, f64, f64, u32, u32, u32, u32, u32, i16) -> u32, Error>§ps6000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(i16, f64, u32, u32, *mut u32) -> u32, Error>§ps6000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16, *mut u32, *mut u32) -> u32, Error>§ps6000SigGenSoftwareControl: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>§ps6000SetSimpleTrigger: Result<unsafe extern "C" fn(i16, i16, u32, i16, u32, u32, i16) -> u32, Error>§ps6000SetEts: Result<unsafe extern "C" fn(i16, u32, i16, i16, *mut i32) -> u32, Error>§ps6000SetTriggerChannelProperties: Result<unsafe extern "C" fn(i16, *mut tPS6000TriggerChannelProperties, i16, i16, i32) -> u32, Error>§ps6000SetTriggerChannelConditions: Result<unsafe extern "C" fn(i16, *mut tPS6000TriggerConditions, i16) -> u32, Error>§ps6000SetTriggerChannelDirections: Result<unsafe extern "C" fn(i16, u32, u32, u32, u32, u32, u32) -> u32, Error>§ps6000SetTriggerDelay: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>§ps6000SetPulseWidthQualifier: Result<unsafe extern "C" fn(i16, *mut tPS6000PwqConditions, i16, u32, u32, u32, u32) -> u32, Error>§ps6000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16) -> u32, Error>§ps6000GetTriggerTimeOffset: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u32) -> u32, Error>§ps6000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u32) -> u32, Error>§ps6000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u32, u32) -> u32, Error>§ps6000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u32, u32) -> u32, Error>§ps6000SetDataBuffers: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, u32, u32) -> u32, Error>§ps6000SetDataBuffer: Result<unsafe extern "C" fn(i16, u32, *mut i16, u32, u32) -> u32, Error>§ps6000SetDataBufferBulk: Result<unsafe extern "C" fn(i16, u32, *mut i16, u32, u32, u32) -> u32, Error>§ps6000SetDataBuffersBulk: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, u32, u32, u32) -> u32, Error>§ps6000SetEtsTimeBuffer: Result<unsafe extern "C" fn(i16, *mut i64, u32) -> u32, Error>§ps6000SetEtsTimeBuffers: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, u32) -> u32, Error>§ps6000RunBlock: Result<unsafe extern "C" fn(i16, u32, u32, u32, i16, *mut i32, u32, Option<unsafe extern "C" fn(i16, u32, *mut c_void)>, *mut c_void) -> u32, Error>§ps6000IsReady: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>§ps6000RunStreaming: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, i16, u32, u32, u32) -> u32, Error>§ps6000GetStreamingLatestValues: Result<unsafe extern "C" fn(i16, Option<unsafe extern "C" fn(i16, u32, u32, i16, u32, i16, i16, *mut c_void)>, *mut c_void) -> u32, Error>§ps6000NoOfStreamingValues: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>§ps6000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32) -> u32, Error>§ps6000GetValues: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, *mut i16) -> u32, Error>§ps6000GetValuesBulk: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, u32, *mut i16) -> u32, Error>§ps6000GetValuesAsync: Result<unsafe extern "C" fn(i16, u32, u32, u32, u32, u32, *mut c_void, *mut c_void) -> u32, Error>§ps6000GetValuesOverlapped: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, *mut i16) -> u32, Error>§ps6000GetValuesOverlappedBulk: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, u32, *mut i16) -> u32, Error>§ps6000GetValuesBulkAsyc: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, u32, u32, u32, *mut i16) -> u32, Error>§ps6000GetNoOfCaptures: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>§ps6000GetNoOfProcessedCaptures: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>§ps6000Stop: Result<unsafe extern "C" fn(i16) -> u32, Error>§ps6000SetNoOfCaptures: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>§ps6000SetWaveformLimiter: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>§ps6000GetTriggerInfoBulk: Result<unsafe extern "C" fn(i16, *mut tPS6000TriggerInfo, u32, u32) -> u32, Error>§ps6000EnumerateUnits: Result<unsafe extern "C" fn(*mut i16, *mut i8, *mut i16) -> u32, Error>§ps6000SetExternalClock: Result<unsafe extern "C" fn(i16, u32, i16) -> u32, Error>§ps6000PingUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>§ps6000GetAnalogueOffset: Result<unsafe extern "C" fn(i16, u32, u32, *mut f32, *mut f32) -> u32, Error>§ps6000QueryTemperatures: Result<unsafe extern "C" fn(i16, *mut u32, *mut f32) -> u32, Error>§ps6000QueryOutputEdgeDetect: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>§ps6000SetOutputEdgeDetect: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>

Implementations§

Source§

impl PS6000Loader

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000FlashLed(&self, handle: i16, start: i16) -> u32

Source

pub unsafe fn ps6000CloseUnit(&self, handle: i16) -> u32

Source

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

Source

pub unsafe fn ps6000SetChannel( &self, handle: i16, channel: u32, enabled: i16, type_: u32, range: u32, analogueOffset: f32, bandwidth: u32, ) -> u32

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000SetSigGenBuiltIn( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: u32, operation: u32, shots: u32, sweeps: u32, triggerType: u32, triggerSource: u32, extInThreshold: i16, ) -> u32

Source

pub unsafe fn ps6000SetSigGenBuiltInV2( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: u32, operation: u32, shots: u32, sweeps: u32, triggerType: u32, triggerSource: u32, extInThreshold: i16, ) -> u32

Source

pub unsafe fn ps6000SetSigGenPropertiesArbitrary( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, sweepType: u32, shots: u32, sweeps: u32, triggerType: u32, triggerSource: u32, extInThreshold: i16, ) -> u32

Source

pub unsafe fn ps6000SetSigGenPropertiesBuiltIn( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: u32, shots: u32, sweeps: u32, triggerType: u32, triggerSource: u32, extInThreshold: i16, ) -> u32

Source

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

Source

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

Source

pub unsafe fn ps6000SigGenSoftwareControl(&self, handle: i16, state: i16) -> u32

Source

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

Source

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

Source

pub unsafe fn ps6000SetTriggerChannelProperties( &self, handle: i16, channelProperties: *mut tPS6000TriggerChannelProperties, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32, ) -> u32

Source

pub unsafe fn ps6000SetTriggerChannelConditions( &self, handle: i16, conditions: *mut tPS6000TriggerConditions, nConditions: i16, ) -> u32

Source

pub unsafe fn ps6000SetTriggerChannelDirections( &self, handle: i16, channelA: u32, channelB: u32, channelC: u32, channelD: u32, ext: u32, aux: u32, ) -> u32

Source

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

Source

pub unsafe fn ps6000SetPulseWidthQualifier( &self, handle: i16, conditions: *mut tPS6000PwqConditions, nConditions: i16, direction: u32, lower: u32, upper: u32, type_: u32, ) -> u32

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000SetDataBuffers( &self, handle: i16, channel: u32, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: u32, downSampleRatioMode: u32, ) -> u32

Source

pub unsafe fn ps6000SetDataBuffer( &self, handle: i16, channel: u32, buffer: *mut i16, bufferLth: u32, downSampleRatioMode: u32, ) -> u32

Source

pub unsafe fn ps6000SetDataBufferBulk( &self, handle: i16, channel: u32, buffer: *mut i16, bufferLth: u32, waveform: u32, downSampleRatioMode: u32, ) -> u32

Source

pub unsafe fn ps6000SetDataBuffersBulk( &self, handle: i16, channel: u32, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: u32, waveform: u32, downSampleRatioMode: u32, ) -> u32

Source

pub unsafe fn ps6000SetEtsTimeBuffer( &self, handle: i16, buffer: *mut i64, bufferLth: u32, ) -> u32

Source

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

Source

pub unsafe fn ps6000RunBlock( &self, handle: i16, noOfPreTriggerSamples: u32, noOfPostTriggerSamples: u32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u32, lpReady: Option<unsafe extern "C" fn(i16, u32, *mut c_void)>, pParameter: *mut c_void, ) -> u32

Source

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

Source

pub unsafe fn ps6000RunStreaming( &self, handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: u32, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: u32, overviewBufferSize: u32, ) -> u32

Source

pub unsafe fn ps6000GetStreamingLatestValues( &self, handle: i16, lpPs6000Ready: Option<unsafe extern "C" fn(i16, u32, u32, i16, u32, i16, i16, *mut c_void)>, pParameter: *mut c_void, ) -> u32

Source

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

Source

pub unsafe fn ps6000GetMaxDownSampleRatio( &self, handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: u32, segmentIndex: u32, ) -> u32

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

pub unsafe fn ps6000Stop(&self, handle: i16) -> u32

Source

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

Source

pub unsafe fn ps6000SetWaveformLimiter( &self, handle: i16, nWaveformsPerSecond: u32, ) -> u32

Source

pub unsafe fn ps6000GetTriggerInfoBulk( &self, handle: i16, triggerInfo: *mut tPS6000TriggerInfo, fromSegmentIndex: u32, toSegmentIndex: u32, ) -> u32

Source

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

Source

pub unsafe fn ps6000SetExternalClock( &self, handle: i16, frequency: u32, threshold: i16, ) -> u32

Source

pub unsafe fn ps6000PingUnit(&self, handle: i16) -> u32

Source

pub unsafe fn ps6000GetAnalogueOffset( &self, handle: i16, range: u32, coupling: u32, maximumVoltage: *mut f32, minimumVoltage: *mut f32, ) -> u32

Source

pub unsafe fn ps6000QueryTemperatures( &self, handle: i16, types: *mut u32, temperatures: *mut f32, ) -> u32

Source

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

Source

pub unsafe fn ps6000SetOutputEdgeDetect(&self, handle: i16, state: i16) -> u32

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more