imaq1394ReadQuadlet
Format
rval = imaq1394ReadQuadlet(SESSION_ID sessionId, unsigned long offset, unsigned long *value);
Purpose
Accesses registers on the camera and reads a 32-bit quadlet from the camera. Data is byte-swapped for little endian alignment after transfer.
Parameters
Parameter | Type | Description |
sessionId | SESSION_ID | A valid Session ID, which you can obtain using imaq1394CameraOpen2. |
Offset | unsigned long | The offset from the base register to access. Use IMG1394_ATTR_BASE_ADDRESS to obtain the base register for the camera. |
Value | unsigned longĀ * | On return, the quadlet value of 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.