pub struct PS4000Loader {Show 66 fields
pub ps4000ApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>,
pub ps4000OpenUnit: Result<unsafe extern "C" fn(*mut i16) -> u32, Error>,
pub ps4000OpenUnitAsync: Result<unsafe extern "C" fn(*mut i16) -> u32, Error>,
pub ps4000OpenUnitEx: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>,
pub ps4000OpenUnitAsyncEx: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>,
pub ps4000OpenUnitProgress: Result<unsafe extern "C" fn(*mut i16, *mut i16, *mut i16) -> u32, Error>,
pub ps4000GetUnitInfo: Result<unsafe extern "C" fn(i16, *mut i8, i16, *mut i16, u32) -> u32, Error>,
pub ps4000FlashLed: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>,
pub ps4000IsLedFlashing: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>,
pub ps4000CloseUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>,
pub ps4000MemorySegments: Result<unsafe extern "C" fn(i16, u16, *mut i32) -> u32, Error>,
pub ps4000SetChannel: Result<unsafe extern "C" fn(i16, u32, i16, i16, u32) -> u32, Error>,
pub ps4000SetNoOfCaptures: Result<unsafe extern "C" fn(i16, u16) -> u32, Error>,
pub ps4000GetTimebase: Result<unsafe extern "C" fn(i16, u32, i32, *mut i32, i16, *mut i32, u16) -> u32, Error>,
pub ps4000GetTimebase2: Result<unsafe extern "C" fn(i16, u32, i32, *mut f32, i16, *mut i32, u16) -> u32, Error>,
pub ps4000SigGenOff: Result<unsafe extern "C" fn(i16) -> u32, Error>,
pub ps4000SetSigGenArbitrary: Result<unsafe extern "C" fn(i16, i32, u32, u32, u32, u32, u32, *mut i16, i32, u32, i16, u32, u32, u32, u32, u32, i16) -> u32, Error>,
pub ps4000SetSigGenBuiltIn: Result<unsafe extern "C" fn(i16, i32, u32, i16, f32, f32, f32, f32, u32, i16, u32, u32, u32, u32, i16) -> u32, Error>,
pub ps4000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(i16, f64, u32, u32, *mut u32) -> u32, Error>,
pub ps4000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16, *mut u32, *mut u32) -> u32, Error>,
pub ps4000SigGenSoftwareControl: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>,
pub ps4000SetEts: Result<unsafe extern "C" fn(i16, u32, i16, i16, *mut i32) -> u32, Error>,
pub ps4000SetSimpleTrigger: Result<unsafe extern "C" fn(i16, i16, u32, i16, u32, u32, i16) -> u32, Error>,
pub ps4000SetTriggerChannelProperties: Result<unsafe extern "C" fn(i16, *mut tTriggerChannelProperties, i16, i16, i32) -> u32, Error>,
pub ps4000SetExtTriggerRange: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>,
pub ps4000SetTriggerChannelConditions: Result<unsafe extern "C" fn(i16, *mut tTriggerConditions, i16) -> u32, Error>,
pub ps4000SetTriggerChannelDirections: Result<unsafe extern "C" fn(i16, u32, u32, u32, u32, u32, u32) -> u32, Error>,
pub ps4000SetTriggerDelay: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>,
pub ps4000SetPulseWidthQualifier: Result<unsafe extern "C" fn(i16, *mut tPwqConditions, i16, u32, u32, u32, u32) -> u32, Error>,
pub ps4000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16) -> u32, Error>,
pub ps4000GetTriggerTimeOffset: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16) -> u32, Error>,
pub ps4000GetTriggerChannelTimeOffset: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16, u32) -> u32, Error>,
pub ps4000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16) -> u32, Error>,
pub ps4000GetTriggerChannelTimeOffset64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16, u32) -> u32, Error>,
pub ps4000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16, u16) -> u32, Error>,
pub ps4000GetValuesTriggerChannelTimeOffsetBulk: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16, u16, u32) -> u32, Error>,
pub ps4000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16, u16) -> u32, Error>,
pub ps4000GetValuesTriggerChannelTimeOffsetBulk64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16, u16, u32) -> u32, Error>,
pub ps4000SetDataBufferBulk: Result<unsafe extern "C" fn(i16, u32, *mut i16, i32, u16) -> u32, Error>,
pub ps4000SetDataBuffers: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, i32) -> u32, Error>,
pub ps4000SetDataBufferWithMode: Result<unsafe extern "C" fn(i16, u32, *mut i16, i32, u32) -> u32, Error>,
pub ps4000SetDataBuffersWithMode: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, i32, u32) -> u32, Error>,
pub ps4000SetDataBuffer: Result<unsafe extern "C" fn(i16, u32, *mut i16, i32) -> u32, Error>,
pub ps4000SetEtsTimeBuffer: Result<unsafe extern "C" fn(i16, *mut i64, i32) -> u32, Error>,
pub ps4000SetEtsTimeBuffers: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, i32) -> u32, Error>,
pub ps4000RunBlock: Result<unsafe extern "C" fn(i16, i32, i32, u32, i16, *mut i32, u16, Option<extern "C" fn(i16, u32, *mut c_void)>, *mut c_void) -> u32, Error>,
pub ps4000RunStreaming: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, i16, u32, u32) -> u32, Error>,
pub ps4000RunStreamingEx: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, i16, u32, i16, u32) -> u32, Error>,
pub ps4000IsReady: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>,
pub ps4000GetStreamingLatestValues: Result<unsafe extern "C" fn(i16, Option<unsafe extern "C" fn(i16, i32, u32, i16, u32, i16, i16, *mut c_void)>, *mut c_void) -> u32, Error>,
pub ps4000NoOfStreamingValues: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>,
pub ps4000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(i16, u32, *mut u32, i16, u16) -> u32, Error>,
pub ps4000GetValues: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, i16, u16, *mut i16) -> u32, Error>,
pub ps4000GetValuesBulk: Result<unsafe extern "C" fn(i16, *mut u32, u16, u16, *mut i16) -> u32, Error>,
pub ps4000GetValuesAsync: Result<unsafe extern "C" fn(i16, u32, u32, u32, i16, u16, *mut c_void, *mut c_void) -> u32, Error>,
pub ps4000Stop: Result<unsafe extern "C" fn(i16) -> u32, Error>,
pub ps4000SetProbe: Result<unsafe extern "C" fn(i16, u32, u32) -> u32, Error>,
pub ps4000HoldOff: Result<unsafe extern "C" fn(i16, u64, u32) -> u32, Error>,
pub ps4000GetProbe: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>,
pub ps4000GetChannelInformation: Result<unsafe extern "C" fn(i16, u32, i32, *mut i32, *mut i32, i32) -> u32, Error>,
pub ps4000SetFrequencyCounter: Result<unsafe extern "C" fn(i16, u32, i16, u32, i16, i16) -> u32, Error>,
pub ps4000EnumerateUnits: Result<unsafe extern "C" fn(*mut i16, *mut i8, *mut i16) -> u32, Error>,
pub ps4000PingUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>,
pub ps4000SetBwFilter: Result<unsafe extern "C" fn(i16, u32, i16) -> u32, Error>,
pub ps4000TriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>,
pub ps4000GetNoOfCaptures: Result<unsafe extern "C" fn(i16, *mut u16) -> u32, Error>,
/* private fields */
}
Fields§
§ps4000ApplyFix: Result<unsafe extern "C" fn(u32, u16), Error>
§ps4000OpenUnit: Result<unsafe extern "C" fn(*mut i16) -> u32, Error>
§ps4000OpenUnitAsync: Result<unsafe extern "C" fn(*mut i16) -> u32, Error>
§ps4000OpenUnitEx: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>
§ps4000OpenUnitAsyncEx: Result<unsafe extern "C" fn(*mut i16, *mut i8) -> u32, Error>
§ps4000OpenUnitProgress: Result<unsafe extern "C" fn(*mut i16, *mut i16, *mut i16) -> u32, Error>
§ps4000GetUnitInfo: Result<unsafe extern "C" fn(i16, *mut i8, i16, *mut i16, u32) -> u32, Error>
§ps4000FlashLed: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>
§ps4000IsLedFlashing: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>
§ps4000CloseUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>
§ps4000MemorySegments: Result<unsafe extern "C" fn(i16, u16, *mut i32) -> u32, Error>
§ps4000SetChannel: Result<unsafe extern "C" fn(i16, u32, i16, i16, u32) -> u32, Error>
§ps4000SetNoOfCaptures: Result<unsafe extern "C" fn(i16, u16) -> u32, Error>
§ps4000GetTimebase: Result<unsafe extern "C" fn(i16, u32, i32, *mut i32, i16, *mut i32, u16) -> u32, Error>
§ps4000GetTimebase2: Result<unsafe extern "C" fn(i16, u32, i32, *mut f32, i16, *mut i32, u16) -> u32, Error>
§ps4000SigGenOff: Result<unsafe extern "C" fn(i16) -> u32, Error>
§ps4000SetSigGenArbitrary: Result<unsafe extern "C" fn(i16, i32, u32, u32, u32, u32, u32, *mut i16, i32, u32, i16, u32, u32, u32, u32, u32, i16) -> u32, Error>
§ps4000SetSigGenBuiltIn: Result<unsafe extern "C" fn(i16, i32, u32, i16, f32, f32, f32, f32, u32, i16, u32, u32, u32, u32, i16) -> u32, Error>
§ps4000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(i16, f64, u32, u32, *mut u32) -> u32, Error>
§ps4000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16, *mut u32, *mut u32) -> u32, Error>
§ps4000SigGenSoftwareControl: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>
§ps4000SetEts: Result<unsafe extern "C" fn(i16, u32, i16, i16, *mut i32) -> u32, Error>
§ps4000SetSimpleTrigger: Result<unsafe extern "C" fn(i16, i16, u32, i16, u32, u32, i16) -> u32, Error>
§ps4000SetTriggerChannelProperties: Result<unsafe extern "C" fn(i16, *mut tTriggerChannelProperties, i16, i16, i32) -> u32, Error>
§ps4000SetExtTriggerRange: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>
§ps4000SetTriggerChannelConditions: Result<unsafe extern "C" fn(i16, *mut tTriggerConditions, i16) -> u32, Error>
§ps4000SetTriggerChannelDirections: Result<unsafe extern "C" fn(i16, u32, u32, u32, u32, u32, u32) -> u32, Error>
§ps4000SetTriggerDelay: Result<unsafe extern "C" fn(i16, u32) -> u32, Error>
§ps4000SetPulseWidthQualifier: Result<unsafe extern "C" fn(i16, *mut tPwqConditions, i16, u32, u32, u32, u32) -> u32, Error>
§ps4000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(i16, *mut i16, *mut i16) -> u32, Error>
§ps4000GetTriggerTimeOffset: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16) -> u32, Error>
§ps4000GetTriggerChannelTimeOffset: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16, u32) -> u32, Error>
§ps4000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16) -> u32, Error>
§ps4000GetTriggerChannelTimeOffset64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16, u32) -> u32, Error>
§ps4000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16, u16) -> u32, Error>
§ps4000GetValuesTriggerChannelTimeOffsetBulk: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, *mut u32, u16, u16, u32) -> u32, Error>
§ps4000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16, u16) -> u32, Error>
§ps4000GetValuesTriggerChannelTimeOffsetBulk64: Result<unsafe extern "C" fn(i16, *mut i64, *mut u32, u16, u16, u32) -> u32, Error>
§ps4000SetDataBufferBulk: Result<unsafe extern "C" fn(i16, u32, *mut i16, i32, u16) -> u32, Error>
§ps4000SetDataBuffers: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, i32) -> u32, Error>
§ps4000SetDataBufferWithMode: Result<unsafe extern "C" fn(i16, u32, *mut i16, i32, u32) -> u32, Error>
§ps4000SetDataBuffersWithMode: Result<unsafe extern "C" fn(i16, u32, *mut i16, *mut i16, i32, u32) -> u32, Error>
§ps4000SetDataBuffer: Result<unsafe extern "C" fn(i16, u32, *mut i16, i32) -> u32, Error>
§ps4000SetEtsTimeBuffer: Result<unsafe extern "C" fn(i16, *mut i64, i32) -> u32, Error>
§ps4000SetEtsTimeBuffers: Result<unsafe extern "C" fn(i16, *mut u32, *mut u32, i32) -> u32, Error>
§ps4000RunBlock: Result<unsafe extern "C" fn(i16, i32, i32, u32, i16, *mut i32, u16, Option<extern "C" fn(i16, u32, *mut c_void)>, *mut c_void) -> u32, Error>
§ps4000RunStreaming: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, i16, u32, u32) -> u32, Error>
§ps4000RunStreamingEx: Result<unsafe extern "C" fn(i16, *mut u32, u32, u32, u32, i16, u32, i16, u32) -> u32, Error>
§ps4000IsReady: Result<unsafe extern "C" fn(i16, *mut i16) -> u32, Error>
§ps4000GetStreamingLatestValues: Result<unsafe extern "C" fn(i16, Option<unsafe extern "C" fn(i16, i32, u32, i16, u32, i16, i16, *mut c_void)>, *mut c_void) -> u32, Error>
§ps4000NoOfStreamingValues: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>
§ps4000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(i16, u32, *mut u32, i16, u16) -> u32, Error>
§ps4000GetValues: Result<unsafe extern "C" fn(i16, u32, *mut u32, u32, i16, u16, *mut i16) -> u32, Error>
§ps4000GetValuesBulk: Result<unsafe extern "C" fn(i16, *mut u32, u16, u16, *mut i16) -> u32, Error>
§ps4000GetValuesAsync: Result<unsafe extern "C" fn(i16, u32, u32, u32, i16, u16, *mut c_void, *mut c_void) -> u32, Error>
§ps4000Stop: Result<unsafe extern "C" fn(i16) -> u32, Error>
§ps4000SetProbe: Result<unsafe extern "C" fn(i16, u32, u32) -> u32, Error>
§ps4000HoldOff: Result<unsafe extern "C" fn(i16, u64, u32) -> u32, Error>
§ps4000GetProbe: Result<unsafe extern "C" fn(i16, *mut u32) -> u32, Error>
§ps4000GetChannelInformation: Result<unsafe extern "C" fn(i16, u32, i32, *mut i32, *mut i32, i32) -> u32, Error>
§ps4000SetFrequencyCounter: Result<unsafe extern "C" fn(i16, u32, i16, u32, i16, i16) -> u32, Error>
§ps4000EnumerateUnits: Result<unsafe extern "C" fn(*mut i16, *mut i8, *mut i16) -> u32, Error>
§ps4000PingUnit: Result<unsafe extern "C" fn(i16) -> u32, Error>
§ps4000SetBwFilter: Result<unsafe extern "C" fn(i16, u32, i16) -> u32, Error>
§ps4000TriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(i16, i16) -> u32, Error>
§ps4000GetNoOfCaptures: Result<unsafe extern "C" fn(i16, *mut u16) -> u32, Error>
Implementations§
Source§impl PS4000Loader
impl PS4000Loader
pub unsafe fn new<P>(path: P) -> Result<PS4000Loader, Error>
pub unsafe fn ps4000ApplyFix(&self, a: u32, b: u16)
pub unsafe fn ps4000OpenUnit(&self, handle: *mut i16) -> u32
pub unsafe fn ps4000OpenUnitAsync(&self, status: *mut i16) -> u32
pub unsafe fn ps4000OpenUnitEx(&self, handle: *mut i16, serial: *mut i8) -> u32
pub unsafe fn ps4000OpenUnitAsyncEx( &self, status: *mut i16, serial: *mut i8, ) -> u32
pub unsafe fn ps4000OpenUnitProgress( &self, handle: *mut i16, progressPercent: *mut i16, complete: *mut i16, ) -> u32
pub unsafe fn ps4000GetUnitInfo( &self, handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: u32, ) -> u32
pub unsafe fn ps4000FlashLed(&self, handle: i16, start: i16) -> u32
pub unsafe fn ps4000IsLedFlashing(&self, handle: i16, status: *mut i16) -> u32
pub unsafe fn ps4000CloseUnit(&self, handle: i16) -> u32
pub unsafe fn ps4000MemorySegments( &self, handle: i16, nSegments: u16, nMaxSamples: *mut i32, ) -> u32
pub unsafe fn ps4000SetChannel( &self, handle: i16, channel: u32, enabled: i16, dc: i16, range: u32, ) -> u32
pub unsafe fn ps4000SetNoOfCaptures(&self, handle: i16, nCaptures: u16) -> u32
pub unsafe fn ps4000GetTimebase( &self, handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16, ) -> u32
pub unsafe fn ps4000GetTimebase2( &self, handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16, ) -> u32
pub unsafe fn ps4000SigGenOff(&self, handle: i16) -> u32
pub unsafe fn ps4000SetSigGenArbitrary( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, startDeltaPhase: u32, stopDeltaPhase: u32, deltaPhaseIncrement: u32, dwellCount: u32, arbitraryWaveform: *mut i16, arbitraryWaveformSize: i32, sweepType: u32, operationType: i16, indexMode: u32, shots: u32, sweeps: u32, triggerType: u32, triggerSource: u32, extInThreshold: i16, ) -> u32
pub unsafe fn ps4000SetSigGenBuiltIn( &self, handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: u32, operationType: i16, shots: u32, sweeps: u32, triggerType: u32, triggerSource: u32, extInThreshold: i16, ) -> u32
pub unsafe fn ps4000SigGenFrequencyToPhase( &self, handle: i16, frequency: f64, indexMode: u32, bufferLength: u32, phase: *mut u32, ) -> u32
pub unsafe fn ps4000SigGenArbitraryMinMaxValues( &self, handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32, ) -> u32
pub unsafe fn ps4000SigGenSoftwareControl(&self, handle: i16, state: i16) -> u32
pub unsafe fn ps4000SetEts( &self, handle: i16, mode: u32, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32, ) -> u32
pub unsafe fn ps4000SetSimpleTrigger( &self, handle: i16, enable: i16, source: u32, threshold: i16, direction: u32, delay: u32, autoTrigger_ms: i16, ) -> u32
pub unsafe fn ps4000SetTriggerChannelProperties( &self, handle: i16, channelProperties: *mut tTriggerChannelProperties, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32, ) -> u32
pub unsafe fn ps4000SetExtTriggerRange(&self, handle: i16, extRange: u32) -> u32
pub unsafe fn ps4000SetTriggerChannelConditions( &self, handle: i16, conditions: *mut tTriggerConditions, nConditions: i16, ) -> u32
pub unsafe fn ps4000SetTriggerChannelDirections( &self, handle: i16, channelA: u32, channelB: u32, channelC: u32, channelD: u32, ext: u32, aux: u32, ) -> u32
pub unsafe fn ps4000SetTriggerDelay(&self, handle: i16, delay: u32) -> u32
pub unsafe fn ps4000SetPulseWidthQualifier( &self, handle: i16, conditions: *mut tPwqConditions, nConditions: i16, direction: u32, lower: u32, upper: u32, type_: u32, ) -> u32
pub unsafe fn ps4000IsTriggerOrPulseWidthQualifierEnabled( &self, handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16, ) -> u32
pub unsafe fn ps4000GetTriggerTimeOffset( &self, handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut u32, segmentIndex: u16, ) -> u32
pub unsafe fn ps4000GetTriggerChannelTimeOffset( &self, handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut u32, segmentIndex: u16, channel: u32, ) -> u32
pub unsafe fn ps4000GetTriggerTimeOffset64( &self, handle: i16, time: *mut i64, timeUnits: *mut u32, segmentIndex: u16, ) -> u32
pub unsafe fn ps4000GetTriggerChannelTimeOffset64( &self, handle: i16, time: *mut i64, timeUnits: *mut u32, segmentIndex: u16, channel: u32, ) -> u32
pub unsafe fn ps4000GetValuesTriggerTimeOffsetBulk( &self, handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, ) -> u32
pub unsafe fn ps4000GetValuesTriggerChannelTimeOffsetBulk( &self, handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, channel: u32, ) -> u32
pub unsafe fn ps4000GetValuesTriggerTimeOffsetBulk64( &self, handle: i16, times: *mut i64, timeUnits: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, ) -> u32
pub unsafe fn ps4000GetValuesTriggerChannelTimeOffsetBulk64( &self, handle: i16, times: *mut i64, timeUnits: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, channel: u32, ) -> u32
pub unsafe fn ps4000SetDataBufferBulk( &self, handle: i16, channel: u32, buffer: *mut i16, bufferLth: i32, waveform: u16, ) -> u32
pub unsafe fn ps4000SetDataBuffers( &self, handle: i16, channel: u32, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, ) -> u32
pub unsafe fn ps4000SetDataBufferWithMode( &self, handle: i16, channel: u32, buffer: *mut i16, bufferLth: i32, mode: u32, ) -> u32
pub unsafe fn ps4000SetDataBuffersWithMode( &self, handle: i16, channel: u32, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, mode: u32, ) -> u32
pub unsafe fn ps4000SetDataBuffer( &self, handle: i16, channel: u32, buffer: *mut i16, bufferLth: i32, ) -> u32
pub unsafe fn ps4000SetEtsTimeBuffer( &self, handle: i16, buffer: *mut i64, bufferLth: i32, ) -> u32
pub unsafe fn ps4000SetEtsTimeBuffers( &self, handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32, ) -> u32
pub unsafe fn ps4000RunBlock( &self, handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u16, lpReady: Option<extern "C" fn(i16, u32, *mut c_void)>, pParameter: *mut c_void, ) -> u32
pub unsafe fn ps4000RunStreaming( &self, handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: u32, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, overviewBufferSize: u32, ) -> u32
pub unsafe fn ps4000RunStreamingEx( &self, handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: u32, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: i16, overviewBufferSize: u32, ) -> u32
pub unsafe fn ps4000IsReady(&self, handle: i16, ready: *mut i16) -> u32
pub unsafe fn ps4000GetStreamingLatestValues( &self, handle: i16, lpPs4000Ready: Option<unsafe extern "C" fn(i16, i32, u32, i16, u32, i16, i16, *mut c_void)>, pParameter: *mut c_void, ) -> u32
pub unsafe fn ps4000NoOfStreamingValues( &self, handle: i16, noOfValues: *mut u32, ) -> u32
pub unsafe fn ps4000GetMaxDownSampleRatio( &self, handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: i16, segmentIndex: u16, ) -> u32
pub unsafe fn ps4000GetValues( &self, handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, overflow: *mut i16, ) -> u32
pub unsafe fn ps4000GetValuesBulk( &self, handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, overflow: *mut i16, ) -> u32
pub unsafe fn ps4000GetValuesAsync( &self, handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, lpDataReady: *mut c_void, pParameter: *mut c_void, ) -> u32
pub unsafe fn ps4000Stop(&self, handle: i16) -> u32
pub unsafe fn ps4000SetProbe(&self, handle: i16, probe: u32, range: u32) -> u32
pub unsafe fn ps4000HoldOff(&self, handle: i16, holdoff: u64, type_: u32) -> u32
pub unsafe fn ps4000GetProbe(&self, handle: i16, probe: *mut u32) -> u32
pub unsafe fn ps4000GetChannelInformation( &self, handle: i16, info: u32, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32, ) -> u32
pub unsafe fn ps4000SetFrequencyCounter( &self, handle: i16, channel: u32, enabled: i16, range: u32, thresholdMajor: i16, thresholdMinor: i16, ) -> u32
pub unsafe fn ps4000EnumerateUnits( &self, count: *mut i16, serials: *mut i8, serialLth: *mut i16, ) -> u32
pub unsafe fn ps4000PingUnit(&self, handle: i16) -> u32
pub unsafe fn ps4000SetBwFilter( &self, handle: i16, channel: u32, enable: i16, ) -> u32
pub unsafe fn ps4000TriggerWithinPreTriggerSamples( &self, handle: i16, state: i16, ) -> u32
pub unsafe fn ps4000GetNoOfCaptures( &self, handle: i16, nCaptures: *mut u16, ) -> u32
Auto Trait Implementations§
impl Freeze for PS4000Loader
impl !RefUnwindSafe for PS4000Loader
impl Send for PS4000Loader
impl Sync for PS4000Loader
impl Unpin for PS4000Loader
impl !UnwindSafe for PS4000Loader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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