OpenTAP 9.27
API Reference
|
Interface implemented by VISA libraries More...
Public Member Functions | |
int | viOpenDefaultRM (out int sesn) |
Open default RM session | |
int | viFindRsrc (int sesn, string expr, out int vi, out int retCount, StringBuilder desc) |
Find device | |
int | viFindNext (int vi, StringBuilder desc) |
Find next device | |
int | viParseRsrc (int sesn, string desc, ref short intfType, ref short intfNum) |
Parse resource string to get interface information | |
int | viParseRsrcEx (int sesn, string desc, ref short intfType, ref short intfNum, StringBuilder rsrcClass, StringBuilder expandedUnaliasedName, StringBuilder aliasIfExists) |
Parse resource string to get extended interface information | |
int | viOpen (int sesn, string viDesc, int mode, int timeout, out int vi) |
Open session | |
int | viClose (int vi) |
Close session | |
int | viGetAttribute1 (int vi, int attrName, out byte attrValue) |
Get attribute, returning a byte | |
int | viGetAttribute2 (int vi, int attrName, StringBuilder attrValue) |
Get attribute, filling a pre-allocated StringBuilder buffer | |
int | viGetAttribute3 (int vi, int attrName, out int attrValue) |
Get attribute, returning an int | |
int | viSetAttribute1 (int vi, int attrName, byte attrValue) |
Set attribute, providing a byte value | |
int | viSetAttribute2 (int vi, int attrName, int attrValue) |
Set attribute, providing an int value | |
int | viStatusDesc (int vi, int status, StringBuilder desc) |
Get status code description | |
int | viEnableEvent (int vi, int eventType, short mechanism, int context) |
Enable event | |
int | viDisableEvent (int vi, int eventType, short mechanism) |
Disable event | |
int | viInstallHandler (int vi, int eventType, viEventHandler handler, int UserHandle) |
Install handler | |
int | viUninstallHandler (int vi, int eventType, viEventHandler handler, int userHandle) |
Uninstall handler | |
unsafe int | viRead (int vi, ArraySegment< Byte > buffer, int count, out int retCount) |
Read data from device | |
unsafe int | viWrite (int vi, ArraySegment< Byte > buffer, int count, out int retCount) |
Write data to device | |
int | viReadSTB (int vi, ref short status) |
Read status byte | |
int | viClear (int vi) |
Clear a device | |
int | viLock (int vi, int lockType, int timeout, string requestedKey, StringBuilder accessKey) |
Lock resource | |
int | viUnlock (int vi) |
Unlock resource | |
delegate int | viEventHandler (int vi, int eventType, int context, int userHandle) |
Event handler prototype | |
Interface implemented by VISA libraries
OpenTAP 9.27 API built Wed Nov 27 2024 13:14:45