rtg_init

Synopsis

    
      #include "rtgapi.h"
    
      rtg_t * rtg_init(char *name);
    

Description

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.

Returns

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.

See Also

rtg_report(), rtg_sequence(), RTG, TMG: A TMC Preprocessor for interfacing to RTG.

Source File

/usr/local/src/nortlib/rtgapi.c

Alphabetical List
Subject List
Return to Manuals Page
webmaster@huarp.harvard.edu
Copyright 2001 by the President and Fellows of Harvard College