imaqIOSetAttribute

NI-IMAQ I/O C Function

imaqIOSetAttribute

Format

rval = imaqIOSetAttribute(IMAQIO_SESSION id, IMAQIOAttribute attribute, unsigned long value);

Purpose

Sets an attribute on the NI-IMAQ I/O device.

Note  This function is reserved for future use. All of the valid values for the attribute are currently not settable.

Parameters

Name Type Direction
id IMAQIO_SESSION input
attribute IMAQIOAttribute input
value unsigned long input

Parameter Discussion

id is the ID of the session to set an attribute on.

attribute is the attribute to set.

Note  Currently, there are no settable attributes.

value is a value to set the attribute to.

Return Value

This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imaqIOGetErrorText.