| gclib 2.0.7 Communications API for Galil controllers and PLCs |

## ◆ commands()

GReturn commands | ( | GCon | g | ) |

Demonstrates various uses of GCommand() and GUtility().

Parameters

  g | Connection's handle.

Returns
  The success status or error code of the function. See gclib_errors.h for possible values.

See commands_example.cpp for an example.

Definition at line 16 of file commands.cpp.