PDPRP Technical Telcon Loading New Image Process

PDPRP Technical Telcon Loading New Image Process


The loading of a new Telcon Image involves several programs. The user can initiate a request with the Telcon Load Image button, or one can come automatically by Telpos which currently request one every 15 minutes. The request is sent to HQ. Telpos constantly polls HQ to see if a request has arrived. Telcon also polls HQ to see if a request has arrived (it is possible it could have come from the other Telcon, or from Telpos, for example).

If Telpos finds out a new request has arrived, it sets an internal flag which tells it not to load additional images until this one is done. It then calls the make_image.tcl program (which in turn calls the shell script, make_image) which does all the image loading and processing. Once make_image.tcl is done, it sets a flag in HQ which says the image is done and clears the flag which says a load is in progress. When Telpos sees this image_done flag is clears it's own in_progress flag so it will once again respond to a setting of HQ's image_request flag.

Once Telcon sees that an image load request has occurred, it sets some internal flags to tell it to get ready to load the new image when it's ready. When it sees that HQ's image_done flag has been set, it clears this internal waiting flag and loads the new image.

The image_done flag in HQ is cleared only by Telcon at the start of each Load Image request. This should give both Telcons ample time to see the new image is done and load it.


Return to Technical Telcon Description Page

Return to PDPRP Technical Info Page

Return toPDPRP Main Page.

sjk@begonias.bbso.njit.edu
12Dec97