Go up one levelGo to Previous Go to Next

RtdServerTool(n)

NAME

 
 RtdServerTool - class for controlling the realtime image server

NAMESPACE

 
 rtd

PARENT CLASS

 
 util::TopLevelWidget

SYNOPSIS

 
 RtdServerTool <path> ?options?

DESCRIPTION

 
 The RtdServerTool [incr Tk] widget class, a subclass of TopLevelWidget,
 is used to manage a simulation of real-time image updates by
 communicating with the rtdServer and offering a Tcl level interface to
 it.  A toplevel window is created with widgets for loading a FITS file
 for the simulation, setting a timer for image updates and starting and
 stopping the simulation.

 Note: the simulation done with this class does not work for rapid
 frames.


WIDGET OPTIONS

 
 -fits_file
        FITS file to use for the simulation.

 -rtd
        Widget name of Rtd.

PUBLIC METHODS

 
 close {}
        Stop all actions and delete the window.

 etcl {cmd}
        Send the given command to rtd to be evaluated and return the
        result.

 loadImage {{errdiag 1}}
        Specify an image to use for the simulation.

 lock {}
        This method is called when the "Lock" button is pressed.

 rapidFrame {id x y w h}
        Initialize or modify a rapid frame.  The args are: the frame id (a
        number), the x,y coords of the frame and the width and height.

 removeRapidFrame {id}
        Remove the rapid frame given by the id.

 simStart {}
        Start the simulation.

 simStop {}
        Stop the simulation.

 timerSet {}
        Set the simulation timer.

PROTECTED METHODS

 
 chooseFile {}
        Display the a file browser and get the name of a FITS file to
        load.

 init {}
        This method is called after the constructors have completed.

 readInput {}
        This method is called whenever there is data to read on the
        rtdServer socket.  This is used to determine when the rtdServer
        has died.

PROTECTED VARIABLES

 
 readFd
        Read file descriptor for rtdServer.

 rtd_fd
        File descriptor returned by connect_to_rtd.

 writeFd
        Write file descriptor for rtdServer.

SEE ALSO

 
 TopLevelWidget(n)

 


- - - - - -
Last change: 07 May 99

 

 


Go up one levelGo to Previous Go to Next

Please send questions or comments to abrighto@eso.org.
Copyright © 1998 ESO - European Southern Observatory