ReadRegister
Top  Previous  Next

Description

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


Syntax


[VB]
Value=objActiveGige.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=ActiveGige.ReadRegister(0x00D8);

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

value=ActiveGige.ReadRegister(&HA080)

Remarks


The list of standard bootstrap registers can be found in "GigE Vision Video Streaming and Device Control Over Ethernet Standard" published by the Automated Imaging Association.

This method can be used to access custom camera attributes not available through GigE Vision™ feature interface. Refer to the camera documentation for the list of the manufacturer-specific registers.