UsbTerminationMethod Enumeration

NI-VisaNS .NET Class Library Help for Visual Studio 2010

Edition Date: August 2012

Part Number: 370627F-01

»View Product Info
Download Help (Windows Only)

See Also


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

Namespace: NationalInstruments.VisaNS

Assembly: NationalInstruments.VisaNS (in NationalInstruments.VisaNS.dll) Version: 13.0.40.167

Syntax

Visual Basic (Declaration)
Public Enumeration UsbTerminationMethod

C#
public enum UsbTerminationMethod

Members

Member nameDescription
None The read operation ignores short packets. Reads do not terminate until all of the requested data is received, or an error occurs.
Short 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.
ShortOrCount 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.

See Also

Reference

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful