Class PvGenRegister
GenICam feature: Register, or IRegister. A feature providing direct access to a section of the device's register map.
Implements
Inherited Members
Namespace: eBUSDotNet
Assembly: eBUSDotNet.dll
Syntax
public class PvGenRegister : PvGenParameter, IDisposable
Remarks
To use this class, see #PvGenParameter.
Methods
View SourceDispose(bool)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
View SourceGet(byte[], long)
Reads from the register.
Declaration
public PvResult Get(byte[] aBuffer, long aLength)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | aBuffer | Data read from the register. |
| long | aLength | Length of the buffer, in bytes. |
Returns
| Type | Description |
|---|---|
| PvResult | See #Set. |
GetLength(out long)
Returns the length of the register mapped with this feature.
Declaration
public PvResult GetLength(out long aLength)
Parameters
| Type | Name | Description |
|---|---|---|
| long | aLength | Length of the register, in bytes. |
Returns
| Type | Description |
|---|---|
| PvResult | See #Set. |
Set(byte[], long)
Write to the register.
Declaration
public PvResult Set(byte[] aBuffer, long aLength)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | aBuffer | Data to write to the register. |
| long | aLength | Length of the buffer, in bytes. |
Returns
| Type | Description |
|---|---|
| PvResult | Includes:
|