imaqIOGetAttribute Method

NI-IMAQ I/O Visual Basic

imaqIOGetAttribute Method

Syntax

imaqIOGetAttribute id, attribute, value

Purpose

Reads one of the NI-IMAQ I/O device attributes.

Parameters

id As IMAQIO_SESSION

The ID of the session to get an attribute for.

attribute As IMAQIOAttribute

The attribute to retrieve.

value As Long

(Output Parameter) The value of the attribute retrieved.

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

imaqIOSetAttribute