CVB.Net 14.0
VinConnectionInformation Class Reference

Contains the board and port information of a Device or its access token. More...

Public Member Functions

 VinConnectionInformation (Device device)
 Retrieves the information from the given device . More...
 

Properties

int CurrentBoard = -1 [get]
 Gets the board number the device is on. More...
 
int CurrentPort = -1 [get]
 Gets the camera port number the device is on. More...
 
string AccessToken = null [get]
 Gets the device access token if available. More...
 

Detailed Description

Contains the board and port information of a Device or its access token.

Either CurrentBoard and CurrentPort are used (e.g. by configuring a vin-driver and opening it) or the AccessToken is used (if openen via it).

Constructor & Destructor Documentation

◆ VinConnectionInformation()

Retrieves the information from the given device .

Parameters
deviceDevice to fill information from.

Property Documentation

◆ AccessToken

string AccessToken = null
get

Gets the device access token if available.

The device access token; null if CurrentBoard and CurrentPort are in use.

◆ CurrentBoard

int CurrentBoard = -1
get

Gets the board number the device is on.

If the device has no board select interface this will always return 0.

A zero based, positive board index; -1 if AccessToken is in use.

◆ CurrentPort

int CurrentPort = -1
get

Gets the camera port number the device is on.

If the device has no camera select interface this will always return 0.

A zero based, positive camera port index; -1 if AccessToken is in use.