SOCKET Resource

NI-VISA

SOCKET Resource

This section lists the attributes, events, and operations for the SOCKET Resource. The attributes, events, and operations in the VISA Resource Template are available to this resource in addition to the attributes and operations listed below.

Attributes

VI_ATTR_FILE_APPEND_EN

VI_ATTR_INTF_INST_NAME

VI_ATTR_INTF_NUM

VI_ATTR_INTF_TYPE

VI_ATTR_IO_PROT

VI_ATTR_RD_BUF_OPER_MODE

VI_ATTR_SEND_END_EN

VI_ATTR_TCPIP_ADDR

VI_ATTR_TCPIP_HOSTNAME

VI_ATTR_TCPIP_KEEPALIVE

VI_ATTR_TCPIP_NODELAY

VI_ATTR_TCPIP_PORT

VI_ATTR_TERMCHAR

VI_ATTR_TERMCHAR_EN

VI_ATTR_TMO_VALUE

VI_ATTR_TRIG_ID

VI_ATTR_WR_BUF_OPER_MODE

Events

VI_EVENT_IO_COMPLETION

Operations

viAssertTrigger (vi, protocol)

viBufRead (vi, buf, count, retCount)

viBufWrite (vi, buf, count, retCount)

viClear (vi)

viFlush (vi, mask)

viPrintf (vi, writeFmt, ...)

viQueryf (vi, writeFmt, readFmt, ...)

viRead (vi, buf, count, retCount)

viReadAsync (vi, buf, count, jobId)

viReadSTB (vi, status)

viReadToFile (vi, fileName, count, retCount)

viScanf (vi, readFmt, ...)

viSetBuf (vi, mask, size)

viSPrintf (vi, buf, writeFmt, ...)

viSScanf (vi, buf, readFmt, ...)

viVPrintf (vi, writeFmt, params)

viVQueryf (vi, writeFmt, readFmt, params)

viVScanf (vi, readFmt, params)

viVSPrintf (vi, buf, writeFmt, params)

viVSScanf (vi, buf, readFmt, params)

viWrite (vi, buf, count, retCount)

viWriteAsync (vi, buf, count, jobId)

viWriteFromFile (vi, fileName, count, retCount)