Writes a 32-bit integer value to the specified bootstrap register of the current camera.
Syntax
[VB]
objActiveGige.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=ActiveGige.WriteRegister(0x0938,5000);
This VB example modifies a value of the custom camera feature.
ActiveGige.WriteRegister &HA080,512
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 control custom camera attributes not available through GigE Vision feature interface. Refer to the camera documentation for the list of the manufacturer-specific registers.