IBaseMessage::TerminationCharacter

Description

The ASCII character used to end reading. Setting this property does not enable/disable the use of this character for terminating reads; that is done by the TerminationCharacterEnabled property. The default character in most VISA implementations and most instruments is ASCII code 10 (linefeed).

VB Prototype

Dim value As Byte
value = object.TerminationCharacter

object.TerminationCharacter = value

C++ Prototype

HRESULT get_TerminationCharacter(
  BYTE* TerminationCharacter
);

HRESULT put_TerminationCharacter(
  BYTE TerminationCharacter
);

Return Value

Refer to the table of return codes.

See Also

ComponentVersion, SpecVersion, HardwareInterfaceName, HardwareInterfaceNumber, HardwareInterfaceType, LockState, OptionString, ProgID, ResourceName, SessionType, SoftwareManufacturerID, SoftwareManufacturerName, Timeout, LastStatus, IOProtocol, SendEndEnabled, TerminationCharacter, TerminationCharacterEnabled, GetAttribute, SetAttribute, LockRsrc, UnlockRsrc, Init, Close, AssertTrigger, Clear, ReadSTB, IBaseMessage Overview