TerminationCharacter Property

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)

VxiSession Class See Also


Gets or sets the termination character.

Namespace: NationalInstruments.VisaNS

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

Syntax

Visual Basic (Declaration)
Public Property TerminationCharacter As Byte

C#
public byte TerminationCharacter { get; set; }

Property Value

Termination character. The default value is 0x0A (linefeed).

Implements

IMessageBasedSession.TerminationCharacter

Exceptions

ExceptionCondition
VisaException The property is set to an invalid state.
DllNotFoundException The NI-VISA driver library cannot be found.
EntryPointNotFoundException A required operation in the NI-VISA driver library cannot be found.
ObjectDisposedException This member is called after the Dispose method is called directly from code or indirectly through a finalizer.

Remarks

When the termination character is read and TerminationCharacterEnabled is set to true (True in Visual Basic) during a read operation, the read operation terminates.

See Also

Reference

VxiSession Class

NationalInstruments.VisaNS Namespace

WAS THIS ARTICLE HELPFUL?

Not Helpful