GReturn GCALL GCmd ( GCon  g,
GCStringIn  command 
)

Wrapper around GCommand for use when the return value is not desired.

The returned data is still checked for error, e.g. `?` or timeout, but is not brought out through the prototype.

Parameters:
g Connection's handle.
command Null-terminated command string to send to the controller.
Returns:
The success status or error code of the function. See gclib_errors.h for possible values.

See x_gcommand.cpp for an example.

Definition at line 44 of file gclibo.c.

References GCommand().

Referenced by GRecordRate(), and H_DownloadArraysFromList().