IMAQdxWriteMemory
Format
rval = IMAQdxWriteMemory (IMAQdxSession id, unsigned int offset, char *value, unsigned int count);
Purpose
Accesses registers on the camera and writes a string to the camera.
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 | charĀ * | Specifies the string to write to the memory offset. |
count | unsigned int | Specifies the length of the string 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.