FZ_FormBase.SendString

Sends string

Public Shared Function SendString( _
    ByVal ioIdent As String, _
    ByVal outputString As String _
) As Integer

Parameters
ioIdent
I/O identify name
Input
outputString
String for output
Input

Return Value
Returns 0 when output string is successful.
Otherwise returns a non-zero value.

Description
Output the string which is specified by argument outputString to I/O("SerialNormal", "UdpNormal" and so on) which is specified by argument ioIdent.
The character-code is treated with Unicode in Windows, and when the character string of usual Windows (That is, Unicode) is specified for argument outputString, a necessary character-code is converted in this library in cereal teletype protocol/Ethernet UDP teletype protocol though the character-code is ASCII(Shift_JIS).
Moreover, the delimiter specified by the system construction is added to the terminal of the transmission character string when outputting it to the cereal teletype protocol.

Example
    Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click

        ' Sends string
        SendString(SerialNormal, " ")

    End Sub