gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ Commands()

static int Commands ( gclib  gclib)
inlinestatic

Demonstrates various uses of GCommand() and basic controller queries.

Parameters
gclibA gclib object with a valid connection.
Returns
The success status or error code of the function.

See commands_example.cs for an example.

For VB.NET, see definition in file commands.vb

Definition at line 28 of file commands.cs.

References Examples.GALIL_EXAMPLE_OK, gclib.GCmdD(), gclib.GCmdI(), and gclib.GCommand().

Referenced by Commands_Example.Main().