DeviceFactoryTryOpen Method (String, Device)

CVB.Net Documentation
Tries to open a device with the given provider with its default board and port (if applicable).

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

public static bool TryOpen(
	string provider,
	out Device device
)

Parameters

provider
Type: SystemString
Name of the device provider.
device
Type: Stemmer.CvbDevice
Device object on success; null otherwise.

Return Value

Type: Boolean
true on success; false on failure.
Remarks

The opened board/port need not necessary be 0 as this depends on the driver configuration!
See Also

Reference