#include "rtgapi.h" rtg_t * rtg_init(char *name);
Establishes a connection between the client application and the RTG realtime graphics server. The name specified is the channel name. rtg_init() must be called once for each distinct data channel.
The RTG server is located by means of its registered name, "huarp/rtg". rtg_init() will look for this name on the current node or on the node specified by the environment variable RTGNODE.
A pointer to a structure identifying the channel. This identifier is passed to either the rtg_report() or rtg_sequence() function when data is ready. Even if the server is not located, an identifier will be returned. If a server subsequently comes up, the connection will be reattempted.
rtg_report(), rtg_sequence(), RTG, TMG: A TMC Preprocessor for interfacing to RTG.