C# Class ps4000example.ConsoleExample

显示文件 Open project: mojca/picoscope Class Usage Examples

Public Methods

Method Description
BlockCallback ( short handle, short status, IntPtr pVoid ) : void
BlockDataHandler ( string text, int offset ) : void
CollectBlockImmediate ( ) : void
CollectBlockRapid ( ) : void
CollectBlockTriggered ( ) : void
CollectStreamingImmediate ( ) : void
CollectStreamingTriggered ( ) : void
DisplaySettings ( ) : void
GetDeviceInfo ( ) : void
Run ( ) : void
SetDefaults ( ) : void
SetTimebase ( ) : void
SetVoltages ( ) : void
StreamDataHandler ( uint preTrigger ) : void
StreamingCallback ( short handle, int noOfSamples, uint startIndex, short ov, uint triggerAt, short triggered, short autoStop, IntPtr pVoid ) : void

Private Methods

Method Description
ConsoleExample ( short handle ) : System
Main ( ) : void
RapidBlockDataHandler ( ushort nRapidCaptures ) : void
SetTrigger ( Imports channelProperties, short nChannelProperties, Imports triggerConditions, short nTriggerConditions, Imports directions, Pwq pwq, uint delay, short auxOutputEnabled, int autoTriggerMs ) : short
WaitForKey ( ) : void
adc_to_mv ( int raw, int ch ) : int
mv_to_adc ( short mv, short ch ) : short

Method Details

BlockCallback() public method

public BlockCallback ( short handle, short status, IntPtr pVoid ) : void
handle short
status short
pVoid System.IntPtr
return void

BlockDataHandler() public method

public BlockDataHandler ( string text, int offset ) : void
text string
offset int
return void

CollectBlockImmediate() public method

public CollectBlockImmediate ( ) : void
return void

CollectBlockRapid() public method

public CollectBlockRapid ( ) : void
return void

CollectBlockTriggered() public method

public CollectBlockTriggered ( ) : void
return void

CollectStreamingImmediate() public method

public CollectStreamingImmediate ( ) : void
return void

CollectStreamingTriggered() public method

public CollectStreamingTriggered ( ) : void
return void

DisplaySettings() public method

public DisplaySettings ( ) : void
return void

GetDeviceInfo() public method

public GetDeviceInfo ( ) : void
return void

Run() public method

public Run ( ) : void
return void

SetDefaults() public method

public SetDefaults ( ) : void
return void

SetTimebase() public method

public SetTimebase ( ) : void
return void

SetVoltages() public method

public SetVoltages ( ) : void
return void

StreamDataHandler() public method

public StreamDataHandler ( uint preTrigger ) : void
preTrigger uint
return void

StreamingCallback() public method

public StreamingCallback ( short handle, int noOfSamples, uint startIndex, short ov, uint triggerAt, short triggered, short autoStop, IntPtr pVoid ) : void
handle short
noOfSamples int
startIndex uint
ov short
triggerAt uint
triggered short
autoStop short
pVoid System.IntPtr
return void