WriteRegister
Top  Previous  Next

Description

Writes a 32-bit integer value to the specified bootstrap register of the current camera.


Syntax


[VB]
objActiveGeni.WriteRegister Reg, Value


[C/C++]
HRESULT WriteRegister( long Reg, long Value );


Data Types
[VB]

Reg: Long


Parameters
[C/C++]

Reg [in]  
The 32-bit offset of the register in the camera's address space  
Value [in]  
The value to be written in the register  


Return Values


S_OK  
Success  
E_FAIL  
Failure.  

Example


This C++ example changes the value of the heartbeat timeout using the corresponding GigE Vision™ register.

value=ActiveGeni.WriteRegister(0x0938,5000);

This VB example modifies a value of the custom camera feature.

ActiveGeni.WriteRegister &HA080,512


Remarks


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