Communications is through an asynchronous serial interface at 9600 Baud. There is a 16 character buffer.
The diifractometer microprocessor is controlled from a PC, currently a 486-33 with 16 M RAM running OS2 Warp connect. This PC runs the diffractometer while simultaneously processing the data, converting the diffractogram into a GIF format and running the Web Server.
A screen conversion program (in Rexx) looks at the archive bit of the screen capture file. 5 seconds after a screen update is completed the conversion program reads the file and changes it into a portable pixel map format. A second program (in "C" , freeware from the Web) converts this into a GIF format which is saved and available for transfer via any properly configured web browser. (Care was needed to avoid read/write collisions with the basic program.) Compression takes about 30 seconds to complete and explains the occasional slow-down you might observe in updating screen images. User parameters are submitted through standard HTML forms. These parameters are manipulated by Rexx programs that do password checking and prevent inappropriate commands from reaching the diffractometer. (For example, submission of a starting angle that isn't a multiple of 0.005 degrees would hang the system.)
The server is running GOSERVE 2.3, available from the IBM web site.
Back to the Web Accessible Diffractometer Homepage
Return to the Geoscience Homepage
Send technical Questions and Comments to the WebMaster
URL: HTTP://www.geosci.ipfw.edu/
Questions and comments about the diffractometer project to Anne Argast
ARGAST@IPFW.EDU
Last Modified $Date:$ EST