Enqueue communication request and wait for reply.
Namespace:
AForge.Robotics.SurveyorAssembly: AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
Parameters
- request
- Type: array<
System..::.Byte
>[]()[]
Array of bytes (command) to send to SRV-1 Blackfin robot/camera.
- responseBuffer
- Type: array<
System..::.Byte
>[]()[]
Buffer to read response into.
Return Value
Returns total bytes read into the response buffer.
Remarks
The method puts specified command into communication queue and waits until the command is sent to SRV-1 Blackfin robot and reply is received.

Exceptions
Exception | Condition |
---|---|
AForge..::.NotConnectedException | Not connected to SRV-1. |
AForge..::.ConnectionLostException | Connection lost or communicaton failure. |
System..::.IndexOutOfRangeException | Response buffer is too small. |