| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ GCommand()

String GCommand | ( | String | command | ) | throws GclibJavaException
| inline

Performs a command-and-response transaction on the connection.

Parameters

  command | command string to send to the controller. The library will append a carriage return to the command string.

Returns
  The response from the controller.

Exceptions

  GclibJavaException | If an error is generated by gclib.

Definition at line 167 of file GclibJava.java.