IMAQdxWriteRegister
Format
rval = IMAQdxWriteRegister(IMAQdxSession id, unsigned int offset, unsigned int value);
Purpose
Accesses registers on the camera and writes a 32-bit value to the camera. Data is byte-swapped for big endian alignment before transfer.
Parameters
Parameter | Type | Description |
id | IMAQdxSession | A valid Session ID, which you can obtain using IMAQdxOpenCamera. |
offset | unsigned int | The register location to access. Refer to the camera documentation for more information about camera-specific register ranges. Use attribute IMAQdxAttributeBaseAddress to obtain the base address for the camera. |
value | unsigned int | Specifies the value to write to the memory offset. |
Return Value
On success, this function returns IMAQdxErrorSuccess. On failure, this function returns an error code. You can obtain a more detailed error message with IMAQdxGetErrorString.