ExecuteCommandWithResults Method

This method sends commands to the serial port and waits for the results. After results are received by the port, data are returned in a buffer.

The method returns a buffer which has been returned by the serial port.

Parameters

Parameter Type Description
Command String (Context Store Reference, Data Constant Reference) String that should be send to the serial port. After sending the string, any output is fetched by the service and appended to the return buffer.
Port Integer (Context Store Reference, Data Constant Reference) COM port number.
OutputEndType Integer(Context Store Reference, Data Constant Reference)
Settings String (Context Store Reference, Data Constant Reference)