imaq1394WriteQuadlet

NI-IMAQ for IEEE 1394 Cameras Function

imaq1394WriteQuadlet

Format

rval = imaq1394WriteQuadlet(SESSION_ID sessionId, unsigned long offset, unsigned long value);

Accesses registers on the camera and writes a 32-bit quadlet 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.
value unsigned long The quadlet to write to 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 or, if you are using Microsoft Visual Basic, imaq1394ShowErrorCW.