DeviceFactoryOpenBoard Method

CVB.Net Documentation
Open a device with the given provider and board.

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Device OpenBoard(
	string provider,
	int board
)

Parameters

provider
Type: SystemString
Name of the device provider.
board
Type: SystemInt32
Board number to open.

Return Value

Type: Device
Device object for given provider and board.
Exceptions

ExceptionCondition
IOExceptionIf the given provider could not be opened.
ArgumentOutOfRangeExceptionIf the given board is outside its allowed range.
NullReferenceExceptionIf board select interfaces are missing.
Remarks

For this method the provider is a vin-driver on which a specific board is to be opened.

If the driver does not support board select interfaces, you can set the board parameter to 0. For non-0 values an exception will be thrown.

See Also

Reference