ReadRegister
Top  Previous  Next

Description

Reads a 32-bit integer value from the specified bootstrap register of the current camera.


Syntax


[VB]
Value=objActiveGeni.ReadRegister( Reg )


[C/C++]
HRESULT ReadRegister( long Reg, long* pValue );


Data Types
[VB]

Reg: Long
Return value: Long


Parameters
[C/C++]

Reg [in]  
The 32-bit offset of the register in the camera's address space  
pValue [out,retval]  
Pointer to the registers's 32-bit value  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Examples


This C++ example reads the value of the heartbeat timeout from the corresponding GigE Vision™ register :

value=ActiveGeni.ReadRegister(0x00D8);

This VB example reads the value of the custom camera feature:

value=ActiveGeni.ReadRegister(&HA080)

Remarks


For the list of specific hardware registers please refer to the camera documentation.