RFIO.RFAux

boolean RFAux(BSTR pszData)

Function RFAux(pszData As String) As Boolean

Sends data to the auxiliary port (COM1:).

Return value
True=successful, False=error, RF link lost, comm port not connected, time-out.

Parameters

pszData
    The data to send through the serial port.

Remarks
Configure the port (COM1:) before using this function.

Example

Public wsRfIo As New RFIO
Public wsRfAuxPort As New RFAUXPORT

...

bResult = wsRfAuxPort.ConfigurePort(
WLCOM1, BAUD9600, DATABITS8, STOPBITS1, PARITYNONE, NOFLOWCTL)
bResult = wsRfIo.RFAux("To serial");

...

See also    RFIO, RFAUXPORT, ConfigurePort