The Protocol_PRO4_InterfaceAdapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | Protocol_PRO4_InterfaceAdapter | Initializes a new instance of the Protocol_PRO4_InterfaceAdapter class |
Methods
Name | Description | |
---|---|---|
![]() | Close |
Close the communication port
|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | HandleResponse_CSR |
Handler for standard CSR read responses
|
![]() | HandleResponse_DeviceSpecific |
Handler for device specific responses
|
![]() | Open | Overloaded. |
![]() | Port_ReceivedData | |
![]() | Rx |
Called by the handler of the PRO4 protocol communications port when
data has been recieved.
This data is either que'd or immeditatly sent to the port depending upon the
ImmediateOutput flag
|
![]() | ToString | (Inherited from Object.) |
![]() | Tx |
Get an encapulated packet with bytes to be sent to the device
|
![]() | Write | Overloaded. |
Fields
Name | Description | |
---|---|---|
![]() ![]() | REPLY_SEND_MAX_AVAILABLE_FLAG |
Properties
Name | Description | |
---|---|---|
![]() | BaudRate |
BaudRate to use to communicate with external application
Usually does not matter if using a virtual serial port
|
![]() | CommsTimeout | |
![]() | ConsecutiveMissedResponseCount | |
![]() | CountPacketsToSend | |
![]() | DeviceName | |
![]() | DeviceType |
Get the Device Type
|
![]() | ExpectedResponseLength | |
![]() | HostInitiatedComms |
Flag to indicate if all comms to the device are host initiated
Examples would be standard VR devices, KCF nodes, etc.
If this flag is false than the
|
![]() | ImmediateOutput |
Flag to indicated that output from device should be sent immediately to the
communication port. If false data is que'd in an output que which can be accessed via
the Read functions.
Default is true;
|
![]() | MaxLength_input | |
![]() | MaxLength_output | |
![]() | MaxRxCount |
Set limit on the maximum size to send to the device
|
![]() | MaxTxCount |
Set limit on the maximum size to send to the device
|
![]() | NetworkID |
Get Network Node ID
|
![]() | NextPacketToSend | |
![]() | PortName |
Comm port to use to communicate with external application
Typically this will be a virtual serial port, but could be a real one
|
![]() | Read |
Return any bytes available from the device
|
![]() | RxCount |
Get the number of bytes in the recieve buffer
This is used for polled operation
|
![]() | UsesRawComms |