Struct pico_sys_dynamic::ps5000::PS5000Loader [−][src]
pub struct PS5000Loader {}Show fields
pub ps5000ApplyFix: Result<unsafe extern "C" fn(_: u32, _: u16), Error>, pub ps5000OpenUnit: Result<unsafe extern "C" fn(handle: *mut i16) -> PICO_STATUS, Error>, pub ps5000OpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16) -> PICO_STATUS, Error>, pub ps5000OpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>, pub ps5000GetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>, pub ps5000FlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>, pub ps5000IsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>, pub ps5000CloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps5000MemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u16, nMaxSamples: *mut i32) -> PICO_STATUS, Error>, pub ps5000SetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, enabled: i16, dc: i16, range: PS5000_RANGE) -> PICO_STATUS, Error>, pub ps5000GetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000GetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000SetSigGenArbitrary: 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: SWEEP_TYPE, whiteNoise: i16, indexMode: INDEX_MODE, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps5000SetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: SWEEP_TYPE, whiteNoise: i16, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps5000SetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: SWEEP_TYPE, whiteNoise: i16, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>, pub ps5000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>, pub ps5000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>, pub ps5000SigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>, pub ps5000SetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS5000_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>, pub ps5000SetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>, pub ps5000SetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>, pub ps5000SetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: THRESHOLD_DIRECTION, channelB: THRESHOLD_DIRECTION, channelC: THRESHOLD_DIRECTION, channelD: THRESHOLD_DIRECTION, ext: THRESHOLD_DIRECTION, aux: THRESHOLD_DIRECTION) -> PICO_STATUS, Error>, pub ps5000SetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS5000_CHANNEL, threshold: i16, direction: THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>, pub ps5000SetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>, pub ps5000SetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PWQ_CONDITIONS, nConditions: i16, direction: THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>, pub ps5000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>, pub ps5000GetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS5000_TIME_UNITS, segmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS5000_TIME_UNITS, segmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS5000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS5000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000SetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32) -> PICO_STATUS, Error>, pub ps5000SetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, buffer: *mut i16, bufferLth: i32) -> PICO_STATUS, Error>, pub ps5000SetDataBufferBulk: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, buffer: *mut i16, bufferLth: i32, waveform: u16) -> PICO_STATUS, Error>, pub ps5000SetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>, pub ps5000SetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>, pub ps5000IsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>, pub ps5000RunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u16, lpReady: ps5000BlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps5000RunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS5000_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, overviewBufferSize: u32) -> PICO_STATUS, Error>, pub ps5000GetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs5000Ready: ps5000StreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps5000NoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>, pub ps5000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: i16, segmentIndex: u16) -> PICO_STATUS, Error>, pub ps5000GetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps5000GetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, overflow: *mut i16) -> PICO_STATUS, Error>, pub ps5000GetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>, pub ps5000Stop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps5000PingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>, pub ps5000SetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u16) -> PICO_STATUS, Error>, // some fields omitted
Fields
ps5000ApplyFix: Result<unsafe extern "C" fn(_: u32, _: u16), Error>
ps5000OpenUnit: Result<unsafe extern "C" fn(handle: *mut i16) -> PICO_STATUS, Error>
ps5000OpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16) -> PICO_STATUS, Error>
ps5000OpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>
ps5000GetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>
ps5000FlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>
ps5000IsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>
ps5000CloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps5000MemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u16, nMaxSamples: *mut i32) -> PICO_STATUS, Error>
ps5000SetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, enabled: i16, dc: i16, range: PS5000_RANGE) -> PICO_STATUS, Error>
ps5000GetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16) -> PICO_STATUS, Error>
ps5000GetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16) -> PICO_STATUS, Error>
ps5000SetSigGenArbitrary: 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: SWEEP_TYPE, whiteNoise: i16, indexMode: INDEX_MODE, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps5000SetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: SWEEP_TYPE, whiteNoise: i16, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps5000SetSigGenBuiltInV2: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f64, stopFrequency: f64, increment: f64, dwellTime: f64, sweepType: SWEEP_TYPE, whiteNoise: i16, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps5000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>
ps5000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>
ps5000SigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>
ps5000SetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS5000_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>
ps5000SetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>
ps5000SetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>
ps5000SetTriggerChannelDirections: Result<unsafe extern "C" fn(handle: i16, channelA: THRESHOLD_DIRECTION, channelB: THRESHOLD_DIRECTION, channelC: THRESHOLD_DIRECTION, channelD: THRESHOLD_DIRECTION, ext: THRESHOLD_DIRECTION, aux: THRESHOLD_DIRECTION) -> PICO_STATUS, Error>
ps5000SetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS5000_CHANNEL, threshold: i16, direction: THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>
ps5000SetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>
ps5000SetPulseWidthQualifier: Result<unsafe extern "C" fn(handle: i16, conditions: *mut PWQ_CONDITIONS, nConditions: i16, direction: THRESHOLD_DIRECTION, lower: u32, upper: u32, type_: PULSE_WIDTH_TYPE) -> PICO_STATUS, Error>
ps5000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>
ps5000GetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS5000_TIME_UNITS, segmentIndex: u16) -> PICO_STATUS, Error>
ps5000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS5000_TIME_UNITS, segmentIndex: u16) -> PICO_STATUS, Error>
ps5000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS5000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16) -> PICO_STATUS, Error>
ps5000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS5000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16) -> PICO_STATUS, Error>
ps5000SetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32) -> PICO_STATUS, Error>
ps5000SetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, buffer: *mut i16, bufferLth: i32) -> PICO_STATUS, Error>
ps5000SetDataBufferBulk: Result<unsafe extern "C" fn(handle: i16, channel: PS5000_CHANNEL, buffer: *mut i16, bufferLth: i32, waveform: u16) -> PICO_STATUS, Error>
ps5000SetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>
ps5000SetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>
ps5000IsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>
ps5000RunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u16, lpReady: ps5000BlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps5000RunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS5000_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, overviewBufferSize: u32) -> PICO_STATUS, Error>
ps5000GetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs5000Ready: ps5000StreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps5000NoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>
ps5000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: i16, segmentIndex: u16) -> PICO_STATUS, Error>
ps5000GetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, overflow: *mut i16) -> PICO_STATUS, Error>
ps5000GetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, overflow: *mut i16) -> PICO_STATUS, Error>
ps5000GetValuesAsync: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, lpDataReady: *mut c_void, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps5000Stop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps5000PingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps5000SetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u16) -> PICO_STATUS, Error>
Implementations
impl PS5000Loader
[src]
impl PS5000Loader
[src]pub unsafe fn new<P>(path: P) -> Result<Self, Error> where
P: AsRef<OsStr>,
[src]
P: AsRef<OsStr>,
pub unsafe fn ps5000ApplyFix(&self, a: u32, b: u16)
[src]
pub unsafe fn ps5000OpenUnit(&self, handle: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000OpenUnitAsync(&self, status: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000OpenUnitProgress(
&self,
handle: *mut i16,
progressPercent: *mut i16,
complete: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: *mut i16,
progressPercent: *mut i16,
complete: *mut i16
) -> PICO_STATUS
pub unsafe fn ps5000GetUnitInfo(
&self,
handle: i16,
string: *mut i8,
stringLength: i16,
requiredSize: *mut i16,
info: PICO_INFO
) -> PICO_STATUS
[src]
&self,
handle: i16,
string: *mut i8,
stringLength: i16,
requiredSize: *mut i16,
info: PICO_INFO
) -> PICO_STATUS
pub unsafe fn ps5000FlashLed(&self, handle: i16, start: i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000IsLedFlashing(
&self,
handle: i16,
status: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
status: *mut i16
) -> PICO_STATUS
pub unsafe fn ps5000CloseUnit(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000MemorySegments(
&self,
handle: i16,
nSegments: u16,
nMaxSamples: *mut i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
nSegments: u16,
nMaxSamples: *mut i32
) -> PICO_STATUS
pub unsafe fn ps5000SetChannel(
&self,
handle: i16,
channel: PS5000_CHANNEL,
enabled: i16,
dc: i16,
range: PS5000_RANGE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS5000_CHANNEL,
enabled: i16,
dc: i16,
range: PS5000_RANGE
) -> PICO_STATUS
pub unsafe fn ps5000GetTimebase(
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut i32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut i32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000GetTimebase2(
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut f32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
timebase: u32,
noSamples: i32,
timeIntervalNanoseconds: *mut f32,
oversample: i16,
maxSamples: *mut i32,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000SetSigGenArbitrary(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
startDeltaPhase: u32,
stopDeltaPhase: u32,
deltaPhaseIncrement: u32,
dwellCount: u32,
arbitraryWaveform: *mut i16,
arbitraryWaveformSize: i32,
sweepType: SWEEP_TYPE,
whiteNoise: i16,
indexMode: INDEX_MODE,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
startDeltaPhase: u32,
stopDeltaPhase: u32,
deltaPhaseIncrement: u32,
dwellCount: u32,
arbitraryWaveform: *mut i16,
arbitraryWaveformSize: i32,
sweepType: SWEEP_TYPE,
whiteNoise: i16,
indexMode: INDEX_MODE,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps5000SetSigGenBuiltIn(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f32,
stopFrequency: f32,
increment: f32,
dwellTime: f32,
sweepType: SWEEP_TYPE,
whiteNoise: i16,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f32,
stopFrequency: f32,
increment: f32,
dwellTime: f32,
sweepType: SWEEP_TYPE,
whiteNoise: i16,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps5000SetSigGenBuiltInV2(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f64,
stopFrequency: f64,
increment: f64,
dwellTime: f64,
sweepType: SWEEP_TYPE,
whiteNoise: i16,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f64,
stopFrequency: f64,
increment: f64,
dwellTime: f64,
sweepType: SWEEP_TYPE,
whiteNoise: i16,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps5000SigGenFrequencyToPhase(
&self,
handle: i16,
frequency: f64,
indexMode: INDEX_MODE,
bufferLength: u32,
phase: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
frequency: f64,
indexMode: INDEX_MODE,
bufferLength: u32,
phase: *mut u32
) -> PICO_STATUS
pub unsafe fn ps5000SigGenArbitraryMinMaxValues(
&self,
handle: i16,
minArbitraryWaveformValue: *mut i16,
maxArbitraryWaveformValue: *mut i16,
minArbitraryWaveformSize: *mut u32,
maxArbitraryWaveformSize: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
minArbitraryWaveformValue: *mut i16,
maxArbitraryWaveformValue: *mut i16,
minArbitraryWaveformSize: *mut u32,
maxArbitraryWaveformSize: *mut u32
) -> PICO_STATUS
pub unsafe fn ps5000SigGenSoftwareControl(
&self,
handle: i16,
state: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
state: i16
) -> PICO_STATUS
pub unsafe fn ps5000SetEts(
&self,
handle: i16,
mode: PS5000_ETS_MODE,
etsCycles: i16,
etsInterleave: i16,
sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
mode: PS5000_ETS_MODE,
etsCycles: i16,
etsInterleave: i16,
sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
pub unsafe fn ps5000SetTriggerChannelProperties(
&self,
handle: i16,
channelProperties: *mut TRIGGER_CHANNEL_PROPERTIES,
nChannelProperties: i16,
auxOutputEnable: i16,
autoTriggerMilliseconds: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelProperties: *mut TRIGGER_CHANNEL_PROPERTIES,
nChannelProperties: i16,
auxOutputEnable: i16,
autoTriggerMilliseconds: i32
) -> PICO_STATUS
pub unsafe fn ps5000SetTriggerChannelConditions(
&self,
handle: i16,
conditions: *mut TRIGGER_CONDITIONS,
nConditions: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
conditions: *mut TRIGGER_CONDITIONS,
nConditions: i16
) -> PICO_STATUS
pub unsafe fn ps5000SetTriggerChannelDirections(
&self,
handle: i16,
channelA: THRESHOLD_DIRECTION,
channelB: THRESHOLD_DIRECTION,
channelC: THRESHOLD_DIRECTION,
channelD: THRESHOLD_DIRECTION,
ext: THRESHOLD_DIRECTION,
aux: THRESHOLD_DIRECTION
) -> PICO_STATUS
[src]
&self,
handle: i16,
channelA: THRESHOLD_DIRECTION,
channelB: THRESHOLD_DIRECTION,
channelC: THRESHOLD_DIRECTION,
channelD: THRESHOLD_DIRECTION,
ext: THRESHOLD_DIRECTION,
aux: THRESHOLD_DIRECTION
) -> PICO_STATUS
pub unsafe fn ps5000SetSimpleTrigger(
&self,
handle: i16,
enable: i16,
source: PS5000_CHANNEL,
threshold: i16,
direction: THRESHOLD_DIRECTION,
delay: u32,
autoTrigger_ms: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
enable: i16,
source: PS5000_CHANNEL,
threshold: i16,
direction: THRESHOLD_DIRECTION,
delay: u32,
autoTrigger_ms: i16
) -> PICO_STATUS
pub unsafe fn ps5000SetTriggerDelay(
&self,
handle: i16,
delay: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
delay: u32
) -> PICO_STATUS
pub unsafe fn ps5000SetPulseWidthQualifier(
&self,
handle: i16,
conditions: *mut PWQ_CONDITIONS,
nConditions: i16,
direction: THRESHOLD_DIRECTION,
lower: u32,
upper: u32,
type_: PULSE_WIDTH_TYPE
) -> PICO_STATUS
[src]
&self,
handle: i16,
conditions: *mut PWQ_CONDITIONS,
nConditions: i16,
direction: THRESHOLD_DIRECTION,
lower: u32,
upper: u32,
type_: PULSE_WIDTH_TYPE
) -> PICO_STATUS
pub unsafe fn ps5000IsTriggerOrPulseWidthQualifierEnabled(
&self,
handle: i16,
triggerEnabled: *mut i16,
pulseWidthQualifierEnabled: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
triggerEnabled: *mut i16,
pulseWidthQualifierEnabled: *mut i16
) -> PICO_STATUS
pub unsafe fn ps5000GetTriggerTimeOffset(
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS5000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS5000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000GetTriggerTimeOffset64(
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS5000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS5000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000GetValuesTriggerTimeOffsetBulk(
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS5000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS5000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000GetValuesTriggerTimeOffsetBulk64(
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS5000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS5000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000SetDataBuffers(
&self,
handle: i16,
channel: PS5000_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS5000_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps5000SetDataBuffer(
&self,
handle: i16,
channel: PS5000_CHANNEL,
buffer: *mut i16,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS5000_CHANNEL,
buffer: *mut i16,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps5000SetDataBufferBulk(
&self,
handle: i16,
channel: PS5000_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
waveform: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS5000_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
waveform: u16
) -> PICO_STATUS
pub unsafe fn ps5000SetEtsTimeBuffer(
&self,
handle: i16,
buffer: *mut i64,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
buffer: *mut i64,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps5000SetEtsTimeBuffers(
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps5000IsReady(&self, handle: i16, ready: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000RunBlock(
&self,
handle: i16,
noOfPreTriggerSamples: i32,
noOfPostTriggerSamples: i32,
timebase: u32,
oversample: i16,
timeIndisposedMs: *mut i32,
segmentIndex: u16,
lpReady: ps5000BlockReady,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfPreTriggerSamples: i32,
noOfPostTriggerSamples: i32,
timebase: u32,
oversample: i16,
timeIndisposedMs: *mut i32,
segmentIndex: u16,
lpReady: ps5000BlockReady,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps5000RunStreaming(
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS5000_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
overviewBufferSize: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS5000_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
overviewBufferSize: u32
) -> PICO_STATUS
pub unsafe fn ps5000GetStreamingLatestValues(
&self,
handle: i16,
lpPs5000Ready: ps5000StreamingReady,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
lpPs5000Ready: ps5000StreamingReady,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps5000NoOfStreamingValues(
&self,
handle: i16,
noOfValues: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfValues: *mut u32
) -> PICO_STATUS
pub unsafe fn ps5000GetMaxDownSampleRatio(
&self,
handle: i16,
noOfUnaggreatedSamples: u32,
maxDownSampleRatio: *mut u32,
downSampleRatioMode: i16,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfUnaggreatedSamples: u32,
maxDownSampleRatio: *mut u32,
downSampleRatioMode: i16,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps5000GetValues(
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: i16,
segmentIndex: u16,
overflow: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
startIndex: u32,
noOfSamples: *mut u32,
downSampleRatio: u32,
downSampleRatioMode: i16,
segmentIndex: u16,
overflow: *mut i16
) -> PICO_STATUS
pub unsafe fn ps5000GetValuesBulk(
&self,
handle: i16,
noOfSamples: *mut u32,
fromSegmentIndex: u16,
toSegmentIndex: u16,
overflow: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfSamples: *mut u32,
fromSegmentIndex: u16,
toSegmentIndex: u16,
overflow: *mut i16
) -> PICO_STATUS
pub unsafe fn ps5000GetValuesAsync(
&self,
handle: i16,
startIndex: u32,
noOfSamples: u32,
downSampleRatio: u32,
downSampleRatioMode: i16,
segmentIndex: u16,
lpDataReady: *mut c_void,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
startIndex: u32,
noOfSamples: u32,
downSampleRatio: u32,
downSampleRatioMode: i16,
segmentIndex: u16,
lpDataReady: *mut c_void,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps5000Stop(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000PingUnit(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps5000SetNoOfCaptures(
&self,
handle: i16,
nCaptures: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
nCaptures: u16
) -> PICO_STATUS