imgSetCameraAttributeNumeric
Usage
rval imgSetCameraAttributeNumeric (SESSION_ID sid, const char* attributeString, double newValue);
Purpose
Sets the value of numeric camera attributes. Camera attributes vary according to which camera you are using. Refer to Measurement & Automation Explorer (MAX) for information about valid camera attributes for your camera and image acquisition device.
Parameters
Name | Type | Direction |
sid | SESSION_ID | input |
attributeString | const char* | input |
newValue | double | input |
rval | Int32 | output |
Parameter Discussion
sid: valid SESSION_ID.
attributeString: attribute name as described in the Camera Attributes tab in MAX.
newValue: new value of the attribute.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.