Reflection Desktop VBA Guide
Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Attachmate.Reflection.Objects.Emulation.OpenSystems Library / Terminal Object / SerialDeviceSettings Property
In This Topic
    SerialDeviceSettings Property
    In This Topic
    Gets or sets the configuration parameters for the currently configured serial printer port.
    Syntax
    expression.SerialDeviceSettings As String
    where expression is a variable that represents a Terminal Object
    Remarks
    The value of this property is only relevant when the LogToSerialDevice property is true.

    The value consists of alternating "keyword tokens" and "value tokens." The keyword token identifies a serial device setting; the value token specifies a value for the setting. SerialDeviceSettings supports four keyword tokens: Baud, ReceivePacing, TransmitPacing, and Stop Bits. (The possible values for these settings are the same as for the ConnectionSettings property.) You should include all four keyword tokens in the string using the following syntax. For each setting, replace value with the setting value you want:

    Session.SerialDeviceSettings "Baud value Parity value ReceivePacing value TransmitPacing value StopBits value"

    For example:

    SerialDeviceSettings = "Baud 14400 Parity 8/NONE ReceivePacing XON/XOFF TransmitPacing XON/XOFF StopBits 1"

    The easiest way to build this string is to record a macro while you select your settings in the Configure Serial Device Port dialog box. For more information, see the Reflection Help.

    The default value is "Baud 9600 Parity 8/None ReceivePacing Xon/Xoff TransmitPacing Xon/Xoff StopBits 1". The values used in this string are not case sensitive.

    See Also