imaq1394WriteBlock
Format
rval = imaq1394WriteBlock(SESSION_ID sessionId, unsigned long offset, unsigned long count, unsigned long *array);
Purpose
Accesses registers on the camera and writes an array of contiguous 32-bit quadlets to the camera. Data is byte-swapped for big endian alignment before transfer.
Parameters
Parameter | Type | Description |
sessionId | SESSION_ID | A valid Session ID, which you can obtain using imaq1394CameraOpen2. |
offset | unsigned long | The offset register location to access. Use IMG1394_ATTR_BASE_ADDRESS to obtain the base register for the camera. Refer to the camera documentation for more information about camera-specific register ranges. |
count | unsigned long | The number of 32-bit quadlets to write. |
array | unsigned longĀ * | The array of 32-bit quadlets to write at the specified offset. |
Return Value
On success, this function returns IMG1394_ERR_GOOD. On failure, this function returns an error code. You can obtain a more detailed error message with imaq1394ShowError.