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

◆ message()

GReturn message ( GCon  g)

Demonstrates how to receive messages from the controller and detect differences in Trace and crashed code.

Parameters
gConnection's handle.
Returns
The success status or error code of the function. See gclib_errors.h for possible values.

See message_example.cpp for an example.

Definition at line 14 of file message.cpp.

References e(), G_NO_ERROR, G_SMALL_BUFFER, G_UTIL_GCAPS_KEEPALIVE, GCmd(), GMessage(), GProgramDownload(), GUtility(), message(), and vector().

Referenced by Examples::Message(), and message().