C# Class DAQ.HAL.RS232Instrument

Inheritance: Instrument
显示文件 Open project: ColdMatter/EDMSuite

Protected Properties

Property Type Description
address string
connected bool
serial SerialSession

Public Methods

Method Description
Connect ( ) : void
Disconnect ( ) : void
RS232Instrument ( String visaAddress ) : System

Protected Methods

Method Description
Clear ( ) : void
Connect ( SerialTerminationMethod method ) : void
Query ( string q ) : string
QueryDouble ( string q ) : double
Read ( ) : string
Read ( int bytes ) : string
Write ( byte command ) : void
Write ( string command ) : void

Method Details

Clear() protected method

protected Clear ( ) : void
return void

Connect() public method

public Connect ( ) : void
return void

Connect() protected method

protected Connect ( SerialTerminationMethod method ) : void
method SerialTerminationMethod
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Query() protected method

protected Query ( string q ) : string
q string
return string

QueryDouble() protected method

protected QueryDouble ( string q ) : double
q string
return double

RS232Instrument() public method

public RS232Instrument ( String visaAddress ) : System
visaAddress String
return System

Read() protected method

protected Read ( ) : string
return string

Read() protected method

protected Read ( int bytes ) : string
bytes int
return string

Write() protected method

protected Write ( byte command ) : void
command byte
return void

Write() protected method

protected Write ( string command ) : void
command string
return void

Property Details

address protected_oe property

protected string address
return string

connected protected_oe property

protected bool connected
return bool

serial protected_oe property

protected SerialSession serial
return SerialSession