Specifies the available methods to terminate a read operation on the UsbRaw object.

Syntax

Namespace: NationalInstruments.Visa

public enum UsbTerminationMethod

Members

NameValueDescription
None0

The read operation ignores short packets. Reads do not terminate until all of the requested data is received, or an error occurs.

Short4

The read operation terminates on a short packet. Use this setting if the device terminates all read transfers with a short packet, including sending a zero (short) packet when the last data packet is full.

ShortOrCount5

The read operation terminates on a short packet or when it receives the requested count of data bytes. Use this setting if the device does not send zero packets.