Get single image from the SVS board.

Namespace:  AForge.Robotics.Surveyor
Assembly:  AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public Bitmap GetImage(
	SVS..::.Camera camera
)

Parameters

camera
Type: AForge.Robotics.Surveyor..::.SVS..::.Camera
Camera to get image from.

Return Value

Returns image received from the specified camera of the SVS board or nullNothingnullptra null reference (Nothing in Visual Basic) if failed decoding provided response.

Remarks

The method provides single video frame retrieved from the specified SVS's camera. However in many cases it is required to receive video frames one after another, so the GetCamera(SVS..::.Camera) method is more preferred for continuous video frames.

Exceptions

ExceptionCondition
AForge..::.NotConnectedExceptionNot connected to SRV-1. Connect to SRV-1 before using this method.
AForge..::.ConnectionLostExceptionConnection lost or communicaton failure. Try to reconnect.

See Also