GReturn GCALL GCmdI | ( | GCon | g, |
GCStringIn | command, | ||
int * | value | ||
) |
Wrapper around GCommand that provides the return value of a command parsed into an int.
Use this function to get most values including TP, RP, TE, Digital I/O states, etc.
g | Connection's handle. |
command | Null-terminated command string to send to the controller. |
value | Pointer to an int that will be filled with the return value. |
See x_gcommand.cpp for an example.