Experimental Nuclear Physics Laboratory,University of Liège, Belgium

The GesSpectre Program & Applet

 

A new multiplatform version of the program is under development (compatible with Windows, OS X and Linux) : see http://www.ipnas.org/garnir/javaspectre

The GesSpectre program (Macintosh only!)

GesSpectre visualizes and analyzes spectra obtained from nuclear particle detectors. It emulates the display of a multichannel analyser (MCA). The acquisition is made by an external ADC connected to the Macintosh through a serial RS422 line or with a direct connection to an ADC via a PIA interface. Data can also be read from text files. It is specially oriented to PIXE (Particle Induced X-ray Emission) spectra.

Main characteristics

Latest version : V9.1 -August 1999 ; Base server : http://www.ulg.ac.be/ipne/nMCA
 

The GesSpectre Applet (all browsers)

The GesSpectre applet is written in the JAVA language and offers to the user a control panel which displays the spectra in real time. The spectrum appears in a window surrounded by different buttons controlling the remote MCA. We have tested the Applet with Netscape and Internet Explorer running on different operating systems.

This applet has to connect to a Macintosh computer connected to the Internet and running GesSpectre with the menu item "Gadget/TCP server "activated.We try to keep two Mac running GesSpectre : ulcn5.pne.ulg.ac.be and sopra2.pne.ulg.ac.be (Caution: these computers are not always on!)

The applet will try to connect itself to a that computer, if you get a "security violation" error you should check your browser security options. It's possible to configure IE but not Netscape. Some help (in french) with that.

To load and try the Applet call :GesSpectre Applet (from a local LC - OK for Netscape - but not always on!)


If you are working on a Mac:

Dowload the The GesSpectre kit (500 k self extracting archive with the program , server & applet)

Help, manual and sources files



Publications related to nMCA GesSpectre


Technical note : How the GesSpectre server reacts?

How to activate it?

The GesSpectre server works on port 5521, to make it actif, the option "TCP server" of the menu "Gadget" must be activated after each start.

How to read a remote spectrum directly from a browser?
To read a spectrum from a browser, use the following URL:
http://<machine name>:5521/data (version binaire)
http://<machine name>:5521/dataT (version textuelle)
Ex: http://sopra2.pne.ulg.ac.be:5521/dataT

What kind of data are transfered?
The text version is formed by the canal content values on successive lines (could be read by any program accepting textual input).The binary version is compatible with GesSpectre binary data format.

The MIME signature of the files are:

spectre/octet-stream (binary)
spectreT/octet-stream (text)


On a Macintosh, the files could be signed to automaticaly open GesSpectre:


Creator : IPN1
Type : SPEC (binaire) or TEXT (texte)

What commands are available?
GesSpectre reacts by detecting in the first line of the Internet calling message some words (cf. function POS() of Pascal). To call a function, you have to use a "fake" URL formed as follow : http://<machine name>:5521/< word(s)>

The actif words are:

Ex: To get the status : http://sopra2.pne.ulg.ac.be:5521/status

------------------------------------------------------------------------
H.P. Garnir , P.H. Lefebvre, M. Clar, F. Monjoie August 99