imaqIOSetAttribute Method

NI-IMAQ I/O Visual Basic

imaqIOSetAttribute Method

Syntax

imaqIOSetAttribute id, attribute, value

Purpose

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

Note  This method is reserved for future use.

Parameters

id As IMAQIO_SESSION

The ID of the session to set an attribute for.

attribute As IMAQIOAttribute

The attribute to set.

Note  All of the valid values for the attribute are currently not settable.

value As Long

The 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 imaqIOGetErrorTextVB.

 


See Also

imaqIOGetAttribute