gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ PrintError()

void examples.PrintError ( Gclib  gclib,
Exception  ex 
)

Prints the exception to the console And queries the controller for the most recent error message.

Parameters
gclibThe gclib object from where the exception originated.
exThe exception object caught by the example.

See commands_example.cs for an example.