gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ PrintError()

void 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.