gclib  1.37.6
Communications API for Galil controllers and PLCs

◆ message()

GReturn message ( GCon  g)

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

gConnection's handle.
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(), and GUtility().

Referenced by Examples::Message().