Struct pico_sys_dynamic::ps4000::PS4000Loader [−][src]
Fields
ps4000OpenUnit: Result<unsafe extern "C" fn(handle: *mut i16) -> PICO_STATUS, Error>
ps4000OpenUnitAsync: Result<unsafe extern "C" fn(status: *mut i16) -> PICO_STATUS, Error>
ps4000OpenUnitEx: Result<unsafe extern "C" fn(handle: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>
ps4000OpenUnitAsyncEx: Result<unsafe extern "C" fn(status: *mut i16, serial: *mut i8) -> PICO_STATUS, Error>
ps4000OpenUnitProgress: Result<unsafe extern "C" fn(handle: *mut i16, progressPercent: *mut i16, complete: *mut i16) -> PICO_STATUS, Error>
ps4000GetUnitInfo: Result<unsafe extern "C" fn(handle: i16, string: *mut i8, stringLength: i16, requiredSize: *mut i16, info: PICO_INFO) -> PICO_STATUS, Error>
ps4000FlashLed: Result<unsafe extern "C" fn(handle: i16, start: i16) -> PICO_STATUS, Error>
ps4000IsLedFlashing: Result<unsafe extern "C" fn(handle: i16, status: *mut i16) -> PICO_STATUS, Error>
ps4000CloseUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps4000MemorySegments: Result<unsafe extern "C" fn(handle: i16, nSegments: u16, nMaxSamples: *mut i32) -> PICO_STATUS, Error>
ps4000SetChannel: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, enabled: i16, dc: i16, range: PS4000_RANGE) -> PICO_STATUS, Error>
ps4000SetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: u16) -> PICO_STATUS, Error>
ps4000GetTimebase: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut i32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16) -> PICO_STATUS, Error>
ps4000GetTimebase2: Result<unsafe extern "C" fn(handle: i16, timebase: u32, noSamples: i32, timeIntervalNanoseconds: *mut f32, oversample: i16, maxSamples: *mut i32, segmentIndex: u16) -> PICO_STATUS, Error>
ps4000SigGenOff: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps4000SetSigGenArbitrary: 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, operationType: i16, indexMode: INDEX_MODE, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps4000SetSigGenBuiltIn: Result<unsafe extern "C" fn(handle: i16, offsetVoltage: i32, pkToPk: u32, waveType: i16, startFrequency: f32, stopFrequency: f32, increment: f32, dwellTime: f32, sweepType: SWEEP_TYPE, operationType: i16, shots: u32, sweeps: u32, triggerType: SIGGEN_TRIG_TYPE, triggerSource: SIGGEN_TRIG_SOURCE, extInThreshold: i16) -> PICO_STATUS, Error>
ps4000SigGenFrequencyToPhase: Result<unsafe extern "C" fn(handle: i16, frequency: f64, indexMode: INDEX_MODE, bufferLength: u32, phase: *mut u32) -> PICO_STATUS, Error>
ps4000SigGenArbitraryMinMaxValues: Result<unsafe extern "C" fn(handle: i16, minArbitraryWaveformValue: *mut i16, maxArbitraryWaveformValue: *mut i16, minArbitraryWaveformSize: *mut u32, maxArbitraryWaveformSize: *mut u32) -> PICO_STATUS, Error>
ps4000SigGenSoftwareControl: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>
ps4000SetEts: Result<unsafe extern "C" fn(handle: i16, mode: PS4000_ETS_MODE, etsCycles: i16, etsInterleave: i16, sampleTimePicoseconds: *mut i32) -> PICO_STATUS, Error>
ps4000SetSimpleTrigger: Result<unsafe extern "C" fn(handle: i16, enable: i16, source: PS4000_CHANNEL, threshold: i16, direction: THRESHOLD_DIRECTION, delay: u32, autoTrigger_ms: i16) -> PICO_STATUS, Error>
ps4000SetTriggerChannelProperties: Result<unsafe extern "C" fn(handle: i16, channelProperties: *mut TRIGGER_CHANNEL_PROPERTIES, nChannelProperties: i16, auxOutputEnable: i16, autoTriggerMilliseconds: i32) -> PICO_STATUS, Error>
ps4000SetExtTriggerRange: Result<unsafe extern "C" fn(handle: i16, extRange: PS4000_RANGE) -> PICO_STATUS, Error>
ps4000SetTriggerChannelConditions: Result<unsafe extern "C" fn(handle: i16, conditions: *mut TRIGGER_CONDITIONS, nConditions: i16) -> PICO_STATUS, Error>
ps4000SetTriggerChannelDirections: 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>
ps4000SetTriggerDelay: Result<unsafe extern "C" fn(handle: i16, delay: u32) -> PICO_STATUS, Error>
ps4000SetPulseWidthQualifier: 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>
ps4000IsTriggerOrPulseWidthQualifierEnabled: Result<unsafe extern "C" fn(handle: i16, triggerEnabled: *mut i16, pulseWidthQualifierEnabled: *mut i16) -> PICO_STATUS, Error>
ps4000GetTriggerTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS4000_TIME_UNITS, segmentIndex: u16) -> PICO_STATUS, Error>
ps4000GetTriggerChannelTimeOffset: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, timeUnits: *mut PS4000_TIME_UNITS, segmentIndex: u16, channel: PS4000_CHANNEL) -> PICO_STATUS, Error>
ps4000GetTriggerTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS4000_TIME_UNITS, segmentIndex: u16) -> PICO_STATUS, Error>
ps4000GetTriggerChannelTimeOffset64: Result<unsafe extern "C" fn(handle: i16, time: *mut i64, timeUnits: *mut PS4000_TIME_UNITS, segmentIndex: u16, channel: PS4000_CHANNEL) -> PICO_STATUS, Error>
ps4000GetValuesTriggerTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS4000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16) -> PICO_STATUS, Error>
ps4000GetValuesTriggerChannelTimeOffsetBulk: Result<unsafe extern "C" fn(handle: i16, timesUpper: *mut u32, timesLower: *mut u32, timeUnits: *mut PS4000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16, channel: PS4000_CHANNEL) -> PICO_STATUS, Error>
ps4000GetValuesTriggerTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS4000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16) -> PICO_STATUS, Error>
ps4000GetValuesTriggerChannelTimeOffsetBulk64: Result<unsafe extern "C" fn(handle: i16, times: *mut i64, timeUnits: *mut PS4000_TIME_UNITS, fromSegmentIndex: u16, toSegmentIndex: u16, channel: PS4000_CHANNEL) -> PICO_STATUS, Error>
ps4000SetDataBufferBulk: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, buffer: *mut i16, bufferLth: i32, waveform: u16) -> PICO_STATUS, Error>
ps4000SetDataBuffers: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32) -> PICO_STATUS, Error>
ps4000SetDataBufferWithMode: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, buffer: *mut i16, bufferLth: i32, mode: RATIO_MODE) -> PICO_STATUS, Error>
ps4000SetDataBuffersWithMode: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, bufferMax: *mut i16, bufferMin: *mut i16, bufferLth: i32, mode: RATIO_MODE) -> PICO_STATUS, Error>
ps4000SetDataBuffer: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, buffer: *mut i16, bufferLth: i32) -> PICO_STATUS, Error>
ps4000SetEtsTimeBuffer: Result<unsafe extern "C" fn(handle: i16, buffer: *mut i64, bufferLth: i32) -> PICO_STATUS, Error>
ps4000SetEtsTimeBuffers: Result<unsafe extern "C" fn(handle: i16, timeUpper: *mut u32, timeLower: *mut u32, bufferLth: i32) -> PICO_STATUS, Error>
ps4000RunBlock: Result<unsafe extern "C" fn(handle: i16, noOfPreTriggerSamples: i32, noOfPostTriggerSamples: i32, timebase: u32, oversample: i16, timeIndisposedMs: *mut i32, segmentIndex: u16, lpReady: ps4000BlockReady, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps4000RunStreaming: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS4000_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, overviewBufferSize: u32) -> PICO_STATUS, Error>
ps4000RunStreamingEx: Result<unsafe extern "C" fn(handle: i16, sampleInterval: *mut u32, sampleIntervalTimeUnits: PS4000_TIME_UNITS, maxPreTriggerSamples: u32, maxPostPreTriggerSamples: u32, autoStop: i16, downSampleRatio: u32, downSampleRatioMode: i16, overviewBufferSize: u32) -> PICO_STATUS, Error>
ps4000IsReady: Result<unsafe extern "C" fn(handle: i16, ready: *mut i16) -> PICO_STATUS, Error>
ps4000GetStreamingLatestValues: Result<unsafe extern "C" fn(handle: i16, lpPs4000Ready: ps4000StreamingReady, pParameter: *mut c_void) -> PICO_STATUS, Error>
ps4000NoOfStreamingValues: Result<unsafe extern "C" fn(handle: i16, noOfValues: *mut u32) -> PICO_STATUS, Error>
ps4000GetMaxDownSampleRatio: Result<unsafe extern "C" fn(handle: i16, noOfUnaggreatedSamples: u32, maxDownSampleRatio: *mut u32, downSampleRatioMode: i16, segmentIndex: u16) -> PICO_STATUS, Error>
ps4000GetValues: Result<unsafe extern "C" fn(handle: i16, startIndex: u32, noOfSamples: *mut u32, downSampleRatio: u32, downSampleRatioMode: i16, segmentIndex: u16, overflow: *mut i16) -> PICO_STATUS, Error>
ps4000GetValuesBulk: Result<unsafe extern "C" fn(handle: i16, noOfSamples: *mut u32, fromSegmentIndex: u16, toSegmentIndex: u16, overflow: *mut i16) -> PICO_STATUS, Error>
ps4000GetValuesAsync: 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>
ps4000Stop: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps4000SetProbe: Result<unsafe extern "C" fn(handle: i16, probe: PS4000_PROBE, range: PS4000_RANGE) -> PICO_STATUS, Error>
ps4000HoldOff: Result<unsafe extern "C" fn(handle: i16, holdoff: u64, type_: PS4000_HOLDOFF_TYPE) -> PICO_STATUS, Error>
ps4000GetProbe: Result<unsafe extern "C" fn(handle: i16, probe: *mut PS4000_PROBE) -> PICO_STATUS, Error>
ps4000GetChannelInformation: Result<unsafe extern "C" fn(handle: i16, info: PS4000_CHANNEL_INFO, probe: i32, ranges: *mut i32, length: *mut i32, channels: i32) -> PICO_STATUS, Error>
ps4000SetFrequencyCounter: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, enabled: i16, range: PS4000_FREQUENCY_COUNTER_RANGE, thresholdMajor: i16, thresholdMinor: i16) -> PICO_STATUS, Error>
ps4000EnumerateUnits: Result<unsafe extern "C" fn(count: *mut i16, serials: *mut i8, serialLth: *mut i16) -> PICO_STATUS, Error>
ps4000PingUnit: Result<unsafe extern "C" fn(handle: i16) -> PICO_STATUS, Error>
ps4000SetBwFilter: Result<unsafe extern "C" fn(handle: i16, channel: PS4000_CHANNEL, enable: i16) -> PICO_STATUS, Error>
ps4000TriggerWithinPreTriggerSamples: Result<unsafe extern "C" fn(handle: i16, state: i16) -> PICO_STATUS, Error>
ps4000GetNoOfCaptures: Result<unsafe extern "C" fn(handle: i16, nCaptures: *mut u16) -> PICO_STATUS, Error>
Implementations
impl PS4000Loader
[src]
pub unsafe fn new<P>(path: P) -> Result<Self, Error> where
P: AsRef<OsStr>,
[src]
P: AsRef<OsStr>,
pub unsafe fn ps4000OpenUnit(&self, handle: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000OpenUnitAsync(&self, status: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000OpenUnitEx(
&self,
handle: *mut i16,
serial: *mut i8
) -> PICO_STATUS
[src]
&self,
handle: *mut i16,
serial: *mut i8
) -> PICO_STATUS
pub unsafe fn ps4000OpenUnitAsyncEx(
&self,
status: *mut i16,
serial: *mut i8
) -> PICO_STATUS
[src]
&self,
status: *mut i16,
serial: *mut i8
) -> PICO_STATUS
pub unsafe fn ps4000OpenUnitProgress(
&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 ps4000GetUnitInfo(
&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 ps4000FlashLed(&self, handle: i16, start: i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000IsLedFlashing(
&self,
handle: i16,
status: *mut i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
status: *mut i16
) -> PICO_STATUS
pub unsafe fn ps4000CloseUnit(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000MemorySegments(
&self,
handle: i16,
nSegments: u16,
nMaxSamples: *mut i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
nSegments: u16,
nMaxSamples: *mut i32
) -> PICO_STATUS
pub unsafe fn ps4000SetChannel(
&self,
handle: i16,
channel: PS4000_CHANNEL,
enabled: i16,
dc: i16,
range: PS4000_RANGE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
enabled: i16,
dc: i16,
range: PS4000_RANGE
) -> PICO_STATUS
pub unsafe fn ps4000SetNoOfCaptures(
&self,
handle: i16,
nCaptures: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
nCaptures: u16
) -> PICO_STATUS
pub unsafe fn ps4000GetTimebase(
&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 ps4000GetTimebase2(
&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 ps4000SigGenOff(&self, handle: i16) -> PICO_STATUS
[src]
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: SWEEP_TYPE,
operationType: 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,
operationType: i16,
indexMode: INDEX_MODE,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps4000SetSigGenBuiltIn(
&self,
handle: i16,
offsetVoltage: i32,
pkToPk: u32,
waveType: i16,
startFrequency: f32,
stopFrequency: f32,
increment: f32,
dwellTime: f32,
sweepType: SWEEP_TYPE,
operationType: 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,
operationType: i16,
shots: u32,
sweeps: u32,
triggerType: SIGGEN_TRIG_TYPE,
triggerSource: SIGGEN_TRIG_SOURCE,
extInThreshold: i16
) -> PICO_STATUS
pub unsafe fn ps4000SigGenFrequencyToPhase(
&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 ps4000SigGenArbitraryMinMaxValues(
&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 ps4000SigGenSoftwareControl(
&self,
handle: i16,
state: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
state: i16
) -> PICO_STATUS
pub unsafe fn ps4000SetEts(
&self,
handle: i16,
mode: PS4000_ETS_MODE,
etsCycles: i16,
etsInterleave: i16,
sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
mode: PS4000_ETS_MODE,
etsCycles: i16,
etsInterleave: i16,
sampleTimePicoseconds: *mut i32
) -> PICO_STATUS
pub unsafe fn ps4000SetSimpleTrigger(
&self,
handle: i16,
enable: i16,
source: PS4000_CHANNEL,
threshold: i16,
direction: THRESHOLD_DIRECTION,
delay: u32,
autoTrigger_ms: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
enable: i16,
source: PS4000_CHANNEL,
threshold: i16,
direction: THRESHOLD_DIRECTION,
delay: u32,
autoTrigger_ms: i16
) -> PICO_STATUS
pub unsafe fn ps4000SetTriggerChannelProperties(
&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 ps4000SetExtTriggerRange(
&self,
handle: i16,
extRange: PS4000_RANGE
) -> PICO_STATUS
[src]
&self,
handle: i16,
extRange: PS4000_RANGE
) -> PICO_STATUS
pub unsafe fn ps4000SetTriggerChannelConditions(
&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 ps4000SetTriggerChannelDirections(
&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 ps4000SetTriggerDelay(
&self,
handle: i16,
delay: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
delay: u32
) -> PICO_STATUS
pub unsafe fn ps4000SetPulseWidthQualifier(
&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 ps4000IsTriggerOrPulseWidthQualifierEnabled(
&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 ps4000GetTriggerTimeOffset(
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps4000GetTriggerChannelTimeOffset(
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
[src]
&self,
handle: i16,
timeUpper: *mut u32,
timeLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
pub unsafe fn ps4000GetTriggerTimeOffset64(
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps4000GetTriggerChannelTimeOffset64(
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
[src]
&self,
handle: i16,
time: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
segmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
pub unsafe fn ps4000GetValuesTriggerTimeOffsetBulk(
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps4000GetValuesTriggerChannelTimeOffsetBulk(
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
[src]
&self,
handle: i16,
timesUpper: *mut u32,
timesLower: *mut u32,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
pub unsafe fn ps4000GetValuesTriggerTimeOffsetBulk64(
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16
) -> PICO_STATUS
pub unsafe fn ps4000GetValuesTriggerChannelTimeOffsetBulk64(
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
[src]
&self,
handle: i16,
times: *mut i64,
timeUnits: *mut PS4000_TIME_UNITS,
fromSegmentIndex: u16,
toSegmentIndex: u16,
channel: PS4000_CHANNEL
) -> PICO_STATUS
pub unsafe fn ps4000SetDataBufferBulk(
&self,
handle: i16,
channel: PS4000_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
waveform: u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
waveform: u16
) -> PICO_STATUS
pub unsafe fn ps4000SetDataBuffers(
&self,
handle: i16,
channel: PS4000_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps4000SetDataBufferWithMode(
&self,
handle: i16,
channel: PS4000_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
mode: RATIO_MODE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
buffer: *mut i16,
bufferLth: i32,
mode: RATIO_MODE
) -> PICO_STATUS
pub unsafe fn ps4000SetDataBuffersWithMode(
&self,
handle: i16,
channel: PS4000_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32,
mode: RATIO_MODE
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
bufferMax: *mut i16,
bufferMin: *mut i16,
bufferLth: i32,
mode: RATIO_MODE
) -> PICO_STATUS
pub unsafe fn ps4000SetDataBuffer(
&self,
handle: i16,
channel: PS4000_CHANNEL,
buffer: *mut i16,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
buffer: *mut i16,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps4000SetEtsTimeBuffer(
&self,
handle: i16,
buffer: *mut i64,
bufferLth: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
buffer: *mut i64,
bufferLth: i32
) -> PICO_STATUS
pub unsafe fn ps4000SetEtsTimeBuffers(
&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 ps4000RunBlock(
&self,
handle: i16,
noOfPreTriggerSamples: i32,
noOfPostTriggerSamples: i32,
timebase: u32,
oversample: i16,
timeIndisposedMs: *mut i32,
segmentIndex: u16,
lpReady: ps4000BlockReady,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfPreTriggerSamples: i32,
noOfPostTriggerSamples: i32,
timebase: u32,
oversample: i16,
timeIndisposedMs: *mut i32,
segmentIndex: u16,
lpReady: ps4000BlockReady,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps4000RunStreaming(
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS4000_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
overviewBufferSize: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS4000_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
overviewBufferSize: u32
) -> PICO_STATUS
pub unsafe fn ps4000RunStreamingEx(
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS4000_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
downSampleRatioMode: i16,
overviewBufferSize: u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
sampleInterval: *mut u32,
sampleIntervalTimeUnits: PS4000_TIME_UNITS,
maxPreTriggerSamples: u32,
maxPostPreTriggerSamples: u32,
autoStop: i16,
downSampleRatio: u32,
downSampleRatioMode: i16,
overviewBufferSize: u32
) -> PICO_STATUS
pub unsafe fn ps4000IsReady(&self, handle: i16, ready: *mut i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000GetStreamingLatestValues(
&self,
handle: i16,
lpPs4000Ready: ps4000StreamingReady,
pParameter: *mut c_void
) -> PICO_STATUS
[src]
&self,
handle: i16,
lpPs4000Ready: ps4000StreamingReady,
pParameter: *mut c_void
) -> PICO_STATUS
pub unsafe fn ps4000NoOfStreamingValues(
&self,
handle: i16,
noOfValues: *mut u32
) -> PICO_STATUS
[src]
&self,
handle: i16,
noOfValues: *mut u32
) -> PICO_STATUS
pub unsafe fn ps4000GetMaxDownSampleRatio(
&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 ps4000GetValues(
&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 ps4000GetValuesBulk(
&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 ps4000GetValuesAsync(
&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 ps4000Stop(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000SetProbe(
&self,
handle: i16,
probe: PS4000_PROBE,
range: PS4000_RANGE
) -> PICO_STATUS
[src]
&self,
handle: i16,
probe: PS4000_PROBE,
range: PS4000_RANGE
) -> PICO_STATUS
pub unsafe fn ps4000HoldOff(
&self,
handle: i16,
holdoff: u64,
type_: PS4000_HOLDOFF_TYPE
) -> PICO_STATUS
[src]
&self,
handle: i16,
holdoff: u64,
type_: PS4000_HOLDOFF_TYPE
) -> PICO_STATUS
pub unsafe fn ps4000GetProbe(
&self,
handle: i16,
probe: *mut PS4000_PROBE
) -> PICO_STATUS
[src]
&self,
handle: i16,
probe: *mut PS4000_PROBE
) -> PICO_STATUS
pub unsafe fn ps4000GetChannelInformation(
&self,
handle: i16,
info: PS4000_CHANNEL_INFO,
probe: i32,
ranges: *mut i32,
length: *mut i32,
channels: i32
) -> PICO_STATUS
[src]
&self,
handle: i16,
info: PS4000_CHANNEL_INFO,
probe: i32,
ranges: *mut i32,
length: *mut i32,
channels: i32
) -> PICO_STATUS
pub unsafe fn ps4000SetFrequencyCounter(
&self,
handle: i16,
channel: PS4000_CHANNEL,
enabled: i16,
range: PS4000_FREQUENCY_COUNTER_RANGE,
thresholdMajor: i16,
thresholdMinor: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
enabled: i16,
range: PS4000_FREQUENCY_COUNTER_RANGE,
thresholdMajor: i16,
thresholdMinor: i16
) -> PICO_STATUS
pub unsafe fn ps4000EnumerateUnits(
&self,
count: *mut i16,
serials: *mut i8,
serialLth: *mut i16
) -> PICO_STATUS
[src]
&self,
count: *mut i16,
serials: *mut i8,
serialLth: *mut i16
) -> PICO_STATUS
pub unsafe fn ps4000PingUnit(&self, handle: i16) -> PICO_STATUS
[src]
pub unsafe fn ps4000SetBwFilter(
&self,
handle: i16,
channel: PS4000_CHANNEL,
enable: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
channel: PS4000_CHANNEL,
enable: i16
) -> PICO_STATUS
pub unsafe fn ps4000TriggerWithinPreTriggerSamples(
&self,
handle: i16,
state: i16
) -> PICO_STATUS
[src]
&self,
handle: i16,
state: i16
) -> PICO_STATUS
pub unsafe fn ps4000GetNoOfCaptures(
&self,
handle: i16,
nCaptures: *mut u16
) -> PICO_STATUS
[src]
&self,
handle: i16,
nCaptures: *mut u16
) -> PICO_STATUS
Auto Trait Implementations
impl !RefUnwindSafe for PS4000Loader
impl Send for PS4000Loader
impl Sync for PS4000Loader
impl Unpin for PS4000Loader
impl !UnwindSafe for PS4000Loader
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,