VI_EVENT_IO_COMPLETION

NI-VISA

VI_EVENT_IO_COMPLETION

Resources Classes

GPIB INSTR, GPIB INTFC, GPIB-VXI INSTR, GPIB-VXI MEMACC, PXI INSTR, PXI MEMACC, Serial INSTR, TCPIP INSTR, TCPIP SOCKET, USB INSTR, USB RAW, VXI INSTR, VXI MEMACC, VXI SERVANT

Description

This event notifies the application that an asynchronous operation has completed.

Event Attributes

Symbolic Name Description

VI_ATTR_EVENT_TYPE

Unique logical identifier of the event. This attribute always has the value of VI_EVENT_IO_COMPLETION for this event type.

VI_ATTR_STATUS

Contains the return code of the asynchronous I/O operation that has completed.

VI_ATTR_JOB_ID

Contains the job ID of the asynchronous operation that has completed.

VI_ATTR_BUFFER

Contains the address of the buffer that was used in the asynchronous operation.

VI_ATTR_RET_COUNT/
VI_ATTR_RET_COUNT_32/
VI_ATTR_RET_COUNT_64

Contains the actual number of elements that were asynchronously transferred.

VI_ATTR_OPER_NAME

Contains the name of the operation generating the event.


Related Topics

INSTR Resource

INTFC Resource

MEMACC Resource

SERVANT Resource

SOCKET Resource

VI_ATTR_BUFFER

VI_ATTR_EVENT_TYPE

VI_ATTR_JOB_ID

VI_ATTR_OPER_NAME

VI_ATTR_RET_COUNT/VI_ATTR_RET_COUNT_32/VI_ATTR_RET_COUNT_64

VI_ATTR_STATUS