|
BitFlow.NET
Source code documentation of the BitFlow .NET interface.
|
C# wrapper class to access and modify registers on a CXP device via a BitFlow frame grabber. More...
Public Member Functions | |||||
| bool | IsBoardOpen () | ||||
| Alternate to the IsOpen property. More... | |||||
| bool | GetIsCxp () | ||||
| Alternate to the IsCxp property. More... | |||||
| uint | GetBoardNumber () | ||||
| Alternate to the BoardNumber property. More... | |||||
| uint | GetBoardSwitch () | ||||
| Alternate to the BoardSwitch property. More... | |||||
| uint | GetBoardConnector () | ||||
| Alternate to the BoardConnector property. More... | |||||
| void | GetBoardSWConnector (ref uint Switch, ref uint Connector) | ||||
Return the board switch and connector
| |||||
| void | Open (uint boardNumber) | ||||
| Open the specified frame grabber board. More... | |||||
| void | OpenSWConnector (uint Switch, uint Connector) | ||||
| Open the specified frame grabber board. More... | |||||
| void | Close () | ||||
| Close the current board, if any. Do nothing, otherwise. More... | |||||
| uint | CXPReadReg (uint address) | ||||
| Read the value of a single CoaXPress register. More... | |||||
| uint | CXPReadReg (uint link, uint address) | ||||
| Read the value of a single CoaXPress register. More... | |||||
| void | CXPWriteReg (uint address, uint value) | ||||
| Write the value of a single CoaXPress register. More... | |||||
| void | CXPWriteReg (uint link, uint address, uint value) | ||||
| Write the value of a single CoaXPress register. More... | |||||
| byte[] | CXPReadData (uint address, uint bytes) | ||||
| Read the values from a sequence of CoaXPress registers, and return them as an array. More... | |||||
| byte[] | CXPReadData (uint link, uint address, uint bytes) | ||||
| Read the values from a sequence of CoaXPress registers, and return them as an array. More... | |||||
| void | CXPWriteData (uint address, byte[] data) | ||||
| Write data to a sequence of CoaXPress registers. More... | |||||
| void | CXPWriteData (uint link, uint address, byte[] data) | ||||
| Write data to a sequence of CoaXPress registers. More... | |||||
Properties | |
| bool | IsOpen [get] |
| Query whether or not a board has been successfully opened. More... | |
| bool | IsCxp [get] |
| Query whether or not the opened BitFlow board is a CoaXPress device. The CXP register methods are non-functional, if the Device isn't CoaXPress. More... | |
| uint | BoardNumber [get] |
| Query the board number of the opened CXP register device. If opened by switch and connector, this throws an exception. More... | |
| uint | BoardSwitch [get] |
| Query the board switch of the opened CXP register device. If opened by board number, this throws an exception. More... | |
| uint | BoardConnector [get] |
| Query the board connector of the opened CXP register device. If opened by board number, this throws an exception. More... | |
C# wrapper class to access and modify registers on a CXP device via a BitFlow frame grabber.
| void CXPReg.Device.Close | ( | ) |
Close the current board, if any. Do nothing, otherwise.
| System.ApplicationError | Thrown if there is a problem closing the board. |
| byte [] CXPReg.Device.CXPReadData | ( | uint | address, |
| uint | bytes | ||
| ) |
Read the values from a sequence of CoaXPress registers, and return them as an array.
| address | The byte address of the first register to be read. |
| bytes | The number of bytes to be read from the register space. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| byte [] CXPReg.Device.CXPReadData | ( | uint | link, |
| uint | address, | ||
| uint | bytes | ||
| ) |
Read the values from a sequence of CoaXPress registers, and return them as an array.
| link | The camera link to read from. |
| address | The byte address of the first register to be read. |
| bytes | The number of bytes to be read from the register space. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| uint CXPReg.Device.CXPReadReg | ( | uint | address | ) |
Read the value of a single CoaXPress register.
| address | The byte address of the register to be read. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| uint CXPReg.Device.CXPReadReg | ( | uint | link, |
| uint | address | ||
| ) |
Read the value of a single CoaXPress register.
| link | The camera link to read data from. |
| address | The byte address of the register to be read. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| void CXPReg.Device.CXPWriteData | ( | uint | address, |
| byte[] | data | ||
| ) |
Write data to a sequence of CoaXPress registers.
| address | The byte address of the first register to be written. |
| data | A byte array of data to be written to the register space. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| void CXPReg.Device.CXPWriteData | ( | uint | link, |
| uint | address, | ||
| byte[] | data | ||
| ) |
Write data to a sequence of CoaXPress registers.
| link | The camera link to write on. |
| address | The byte address of the first register to be written. |
| data | A byte array of data to be written to the register space. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| void CXPReg.Device.CXPWriteReg | ( | uint | address, |
| uint | value | ||
| ) |
Write the value of a single CoaXPress register.
| address | The byte address of the register to be read. |
| value | The value to write to the specified register. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| void CXPReg.Device.CXPWriteReg | ( | uint | link, |
| uint | address, | ||
| uint | value | ||
| ) |
Write the value of a single CoaXPress register.
| link | The camera link to write on. |
| address | The byte address of the register to be read. |
| value | The value to write to the specified register. |
| System.InvalidOperationException | Thrown when the board is not open, and this method is called. |
| System.ApplicationException | Thrown when an internal error occurs. For more information on the exception, check the Message property. |
| uint CXPReg.Device.GetBoardConnector | ( | ) |
Alternate to the BoardConnector property.
| uint CXPReg.Device.GetBoardNumber | ( | ) |
| void CXPReg.Device.GetBoardSWConnector | ( | ref uint | Switch, |
| ref uint | Connector | ||
| ) |
Return the board switch and connector
| Switch | The board switch value of the opened board. |
| Connector | The board connector of the opened board. |
| uint CXPReg.Device.GetBoardSwitch | ( | ) |
Alternate to the BoardSwitch property.
| bool CXPReg.Device.GetIsCxp | ( | ) |
Alternate to the IsCxp property.
| bool CXPReg.Device.IsBoardOpen | ( | ) |
| void CXPReg.Device.Open | ( | uint | boardNumber | ) |
Open the specified frame grabber board.
| boardNumber | The index of the board to be opened. |
| System.InvalidOperationException | Thrown if this CXPReg interface has already been opened. |
| System.ApplicationException | Thrown if a board is already opened, if the board cannot be opened, or if the specified board is not a CoaXPress device. |
| void CXPReg.Device.OpenSWConnector | ( | uint | Switch, |
| uint | Connector | ||
| ) |
Open the specified frame grabber board.
| Switch | The switch setting of the board to be opened. |
| Connector | The connector of the board to be opened. |
| System.InvalidOperationException | Thrown if this CXPReg interface has already been opened. |
| System.ApplicationException | Thrown if a board is already opened, if the board cannot be opened, or if the specified board is not a CoaXPress device. |
|
get |
Query the board connector of the opened CXP register device. If opened by board number, this throws an exception.
| ApplicationException | Thrown if this is not open, or if this was not opened using the switch and connector method. |
|
get |
Query the board number of the opened CXP register device. If opened by switch and connector, this throws an exception.
| ApplicationException | Thrown if this is not open, or if this was opened using the switch and connector method. |
|
get |
Query the board switch of the opened CXP register device. If opened by board number, this throws an exception.
| ApplicationException | Thrown if this is not open, or if this was not opened using the switch and connector method. |
|
get |
|
get |
Query whether or not a board has been successfully opened.