gclib  2.0.8
Communications API for Galil controllers and PLCs

◆ GMessage()

string GMessage ( )

Provides access to unsolicited messages.

Returns
String containing all messages received by controller.

Wrapper around gclib GMessage(), http://www.galil.com/sw/pub/all/doc/gclib/html/gclib_8h.html#aabc5eaa09ddeca55ab8ee048b916cbcd An empty string is returned on error. -s ALL or -s MG must be specified in the address argument of GOpen() to receive messages.