VISA Resource Template

NI-VISA

VISA Resource Template

This section lists the attributes, events, and operations for the VISA Resource Template. The attributes, events, and operations in the VISA Resource Template are available to all other resources.

Attributes

VI_ATTR_MAX_QUEUE_LENGTH

VI_ATTR_RM_SESSION

VI_ATTR_RSRC_CLASS

VI_ATTR_RSRC_IMPL_VERSION

VI_ATTR_RSRC_LOCK_STATE

VI_ATTR_RSRC_MANF_ID

VI_ATTR_RSRC_MANF_NAME

VI_ATTR_RSRC_NAME

VI_ATTR_RSRC_SPEC_VERSION

VI_ATTR_USER_DATA/VI_ATTR_USER_DATA_32/VI_ATTR_USER_DATA_64

Events

VI_EVENT_EXCEPTION

Operations

viClose (vi)

viDisableEvent (vi, eventType, mechanism)

viDiscardEvents (vi, eventType, mechanism)

viEnableEvent (vi, eventType, mechanism, context)

viGetAttribute (vi, attribute, attrState)

viInstallHandler (vi, eventType, handler, userHandle)

viLock (vi, lockType, timeout, requestedKey, accessKey)

viSetAttribute (vi, attribute, attrState)

viStatusDesc (vi, status, desc)

viTerminate (vi, degree, jobId)

viUninstallHandler (vi, eventType, handler, userHandle)

viUnlock (vi)

viWaitOnEvent (vi, inEventType, timeout, outEventType, outContext)