Page 1
WebMCA Multichannel Data Processor MCDWIN User Manual copyright FAST ComTec GmbH Grünwalder Weg 28a, 82041 Oberhaching, Germany Tel ++49 89 665180 50; FAX ++49 89 665180 40 Version 1.0, March 6, 2006...
Page 2
You have purchased the license to use this software, not the software itself. Since title to this software remains with FAST ComTec, you may not sell or transfer this software. This license allows you to use this software on only one compatible computer at a time. You must get FAST ComTec's written permission for any exception to this license.
Network Configuration 2.5. Updating the Firmware Hardware Description 3.1. Signal description of the 25-pin ADC connector 3.2. Jumper settings for the FAST ComTec 7070 ADC 3.3. Network parameters Windows Server Program 4.1.1. WEBMCA.INI file 4.1.2. Data Operations 4.1.3. MCA Settings 4.1.4.
The sophisticated WINDOWS based control and analysis software MCDWIN ensures quick learning and easy usage. Some of MCDWIN’s features are high resolution graphics displays with zoom, linear and logarithmic (auto)scaling, grids, ROIs, Gaussian fit, calibration using diverse formulas. and FWHM calculations.
• 10+ Mbit network connection • A PC with Microsoft Windows 98 / ME / 2000 / XP installed is required for use of the supplied control and analysis software MCDWIN. 2.2. Hardware Installation The webMCA has to be connected to the local network either with a Power over Ethernet (PoE) adapter DWL-P100 or a PoE switch using a +48V power supply for the PoE device (optional).
“100M” indicates a 100 Mbit connection. 2.3. Software Installation To install the MCDWIN software on your hard disk insert the MCDWIN CD and start the installation program file by double clicking SETUP A directory called C:\WEBMCA is created on the hard disk and all webMCA and MCDWIN files are transferred to this directory.
Installation Procedure 2.4. Network Configuration The default IP address of a webMCA is 192.168.1.2. To change this address the “WebMCA Config” utility has to be used. It can be found using the start button in the program folder "FAST ComTec WebMCA" Figure 2.3: WebMCA Config utility The entries for user name and password in the login dialog are not evaluated currently and can be left blank.
Installation Procedure Figure 2.4: Network configuration dialog To transmit these parameters to the webMCA the “Configure” button has to be pressed. After the transmission is done you will be asked to reboot the webMCA in order to accept these settings. The “Status”...
Installation Procedure On the “Search” page it is possible to scan for all available devices in the current subnet. All found devices will be listed with their IP address and their MAC address. Figure 2.6: Scan result ComTec GmbH...
Installation Procedure 2.5. Updating the Firmware On the page “Update” a dialog to update the firmware of the webMCA is available. Figure 2.7: Update dialog The IP-address has to be selected from the selection box. If the list is empty a network scan has to be done (s.a.).
Hardware Description Hardware Description 3.1. Signal description of the 25-pin ADC connector Sub-D male pin layout Direction Mnemonic Signal 1-12 D[0-12] Inverted Data D0-D12 *DRDY Inverted Data Ready 14,15 D13,D14 Inverted Data D13, D14 *ACC Data Accepted *STOP Stop ADC Inverted Data D15 Inhibit, Drop Data DTIME...
Figure 3.1: Timing of the handshake signals 3.2. Jumper settings for the FAST ComTec 7070 ADC To use the webMCA with the 7070 ADC the jumpers of the 7070 must be set as follows: Figure 3.2: Jumper setting for FAST ComTec 7070 ADC ComTec GmbH...
Hardware Description 3.3. Network parameters For the communication with the webMCA the following IP protocols and ports are used: Kind of communication Protocol Port Standard communication 6668 Network broadcast 9176-9178 Update 9176 NTP time synchronization SNTP ComTec GmbH...
This program has no own graphic capabilities, but it provides - via a DLL („dynamic link library“) - access to all functions, parameters and data. The server can be completely controlled from the MCDWIN software that provides all necessary graphic displays.
Windows Server Program Figure 4.3: Data Operations dialog box This dialog allows to edit the data settings. Mark the checkbox „Save at Halt“ to store a spectrum- and a configuration file at the end of a measurement. The filename can be entered. If the checkbox auto incr.
.MCD is saved. This header also contains all settings and in addition some information like the date and time of the measurement, comments and calibration parameters entered in the MCDWIN program. ComTec GmbH...
A sequence of commands that are stored in a file with extension .CTL can be executed by the WEBMCA server program or MCDWIN with the „Load “ command. Also the configuration files WEBMCAA.CFG or the header files with extension .MCD ontain such commands to set the parameters.
Page 20
Windows Server Program The file WEBMCAA.CFG contains a complete list of commands for setting parameters; an example is: range=4096 ; Memory size for spectra rtpreset=1000 ; Realtimepreset value (seconds) rtprena=0 ; Realtime preset enable (1=enabled) ltpreset=1000 ; Lifetime preset value (seconds) ltprena=0 ;...
Page 21
Windows Server Program cmline7=3 cmline8=Ge cmline9=test range=2048 ; subset of parameters as in a WEBMCAA.CFG file... rtpreset=1000 rtprena=0 ltpreset=1000 ltprena=0 roipreset=0 roiprena=0 roimin=0 roimax=2048 autoinc=0 datname=C:\MCA\DATA\SD0002.mcd savedata=1 fmt=dat caluse=1 ; Use Energy calibration calch00=1172.00 ; Calibration points.. calvl00=1173.264000 calch01=1331.00 calvl01=1332.500000 caloff=-0.506315 ;...
Page 22
; Smoothes the data in actual multichannel analyzer eras ; Clears the data of system 1. exit ; Exits the MCA.exe (and MCDWIN) programs alert Message ; Displays a Messagebox containing Message and an OK button that ; must be pressed before execution can continue.
Page 23
ADC? ; Sends the AXAS Status sendfile filename ; Sends the ASCII file with name ‘filename’ via the serial line. The execution of a control file can be finished from the Server or MCDWIN with any Halt command. ComTec GmbH...
Windows Server Program 4.3. Controlling the WEBMCA Server via DDE The WEBMCA program can be a server for a DDE (Dynamic Data Exchange). Many Windows software packages can use the DDE standard protocols to communicate with other Windows programs, for example GRAMS, FAMOS or LabVIEW. In the following the DDE capabilities of the server program are described together with a demo VI („Virtual Instrument“) for LabVIEW.
Windows Server Program Figure 4.8: Executing a control command from a LabVIEW application 4.3.3. DDE Request The DDE Request is a message exchange to obtain the value of a specified item. Only two items are defined for DDE request up to now: RANGE and DATA. The value is obtained as an ASCII string, i.e.
Windows Server Program DATA With the DATA item the data are obtained. The value of this item is a multiline string that contains in each line a decimal number as an ASCII string. Figure 4.10: Getting the data with LabVIEW 4.3.4.
Windows Server Program The following figure shows the „Panel“ of the described VI for LabVIEW. Figure 4.12: Control Panel of the demo VI for LabVIEW ComTec GmbH 4-12...
Controlling the WEBMCA Server via DLL The WEBMCA server program provides - via a DLL („dynamic link library“) - access to all functions, parameters and data. So the server can be completely controlled from the MCDWIN software that provides all necessary graphic displays.
Page 29
// Number of displays (active MCA's): 0...4 int nSystems; // Number of systems int bRemote; // 1 if server controled by MCDWIN int sys; // System definition word } ACQDEF; /*** FUNCTION PROTOTYPES (do not change) ***/ VOID APIENTRY StoreSettingData(ACQSETTING FAR *Setting, int nDisplay);...
Page 30
Windows Server Program GetSettingData StoreStatusData GetStatusData Start Halt Continue NewSetting ServExec StoreData GetData GetSpec SaveSetting GetStatus Erase SaveData GetBlock StoreDefData GetDefData LoadData NewData HardwareDlg UnregisterClient DestroyClient ClientExec LVGetDat RunCmd AddData LVGetRoi LVGetCnt LVGetStr SubData Smooth ComTec GmbH 4-15...
MCDWIN Program MCDWIN Program The window of the MCDWIN program is shown here. It enables the full control of the webMCA via the server program to perform measurements and save data, and shows the data on-line in several windows. The server program WEBMCA.EXE automatically starts MCDWIN. If you try to start MCDWIN before the server is started, a message box warns that you should start the server first.
MCDWIN Program Figure 5.2: MCDWIN Map and Isometric display In the following the several menu functions are described together with the corresponding toolbar icons. 5.1. File Menu Load...,Add..., Save, Save As... These menu items provide the usual functions for loading and saving data into the MCA selected by the active window.
MCDWIN Program Figure 5.3: File New Display dialog box Open All By selecting the Open All menu item, all available Displays are shown. The windows of the last opened Display becomes active. Close All By selecting the Close All menu item, all available Displays are closed.
The Window menu allows to arrange the Display windows. Tile With the Tile menu item or clicking the corresponding icon, all opened and displayed MCDWIN Display windows are arranged over the full MCDWIN client area trying to allocate the same size for each window. Cascade The Cascade menu item or respective icon arranges all windows in a cascade display.
Page 35
MCDWIN Program Zoom The Zoom item or respective icon enlarges a Region to the maximum Spectrum Display size. Back The Back menu item or clicking the corresponding icon restores the last zoom view. Each time a Back command is clicked the view is stepped back one step.
MCDWIN Program Edit... With the Edit item, a dialog box is opened which allows to edit the ROI list, i.e. create a new or delete, change and activate an existing ROI. Also the peak values for an automatic calibration can be entered here.
MCDWIN Program Figure 5.6: Single Gaussian Peak Fit The full width at half maximum FWHM and Position of the Gaussian can be changed and a New Fit can be performed, they even can be fixed to the entered value by marking the respective checkbox.
MCDWIN Program Figure 5.7: Log file Options for the Single Gaussian Peak Fit The several quantities are written in standard text format with Tabs as separators and a Newline character at the end of each line, so the file can be read with standard calculation programs like EXCEL.
MCDWIN Program Figure 5.8: Colors dialog box Display... The Display menu item or the corresponding icon opens the Display Options dialog box. Here the graphic display mode of single spectra can be chosen. The 'type' combo box gives a choice between dot, histogram, spline I and line.
It allows to change the ranges and attributes of a Spectrum axis. By setting the Auto scaling mode, the MCDWIN will automatically recalculate the maximum y axes of the visible Spectrum region only. To keep the same height of the visible region for a longer time, set the Auto scaling mode off.
MCDWIN Program Lin / Log scale For a Lin scale all data intervals have the same size. With Log scale the intervals will be small for small y values and large for large y values. All options have effect only on the active Display.
MCDWIN Program Figure 5.13: Comments dialog box Range, Preset... The Range, Preset dialog box allows to make all the respective MCA settings (See chapter 4.1.3). Figure 5.14: Settings dialog box ComTec GmbH 5-12...
MCDWIN Program Data... The Data dialog box allows to make all the respective Data operations and settings (See chapter 4.1.2). Figure 5.15: Data Operations dialog box System... The System Definition dialog box allows to make all the respective settings (See chapter 4.1.4).
Status window The same way it is possible to hide or show the status window at the left side of the MCDWIN main window. The fonts can be chosen between a larger and smaller set if again selecting this item.
5.5. Action Menu The Action Menu or corresponding toolbar icons contain the commands to start, stop, continue and erase a measurement. If more than one systems are formed, also more actions menus are available, otherwise they are grayed. Start The Start toolbar button erases the data and starts a new measurement. Halt The Halt toolbar button stops a measurement.
WEBMCA Programming WEBMCA Programming 6.1. Overview of the XML commands for controlling the webMCA 6.1.1. Version-Object VERSION Contains the actual protocol version. Attribute(s) req. Content Description Protocol version Protocol version 6.1.2. Error-Object VERSION Contains the error number of a REQUEST Element req.
WEBMCA Programming 6.1.5. Serial-Object SERIAL Contains the srial number Element req. Content Description SERIAL Serial (max. 25 characters) Serial number as string 6.1.6. REVISION-Object REVISION Contains the hard- and software revision Element req. Content Description SOFTWARE Software version HARDWARE Hardware version Attribute(s) req.
WEBMCA Programming 6.1.11. Preset-Object PRESET Start-/Stop conditions Elements req. Content START_CONDITION Value (only for date/time) STOP_CONDITION Value (for date/time, realtime, livetime, counts) 6.1.12. START_CONDITION-Object START_CONDITION Attribute(s) req. Content TYPE Type of start condition 0 - manual 1 - external via gate signal 2 - via date/time specification 6.1.13.
WEBMCA Programming 6.1.16. COMMAND-Object COMMAND Elements req. Content NAME Name of command NAME: GETDEVICES results a list of connected devices. GETDEVICE results the parameters of a device. CLEARSPECTRUM cleares spectra; select spectra via parameter OBJECTID=n ACQUISITION starts or stops measurement; select device via DEVICETYPE=TYPE and ACQUISITIOPN=0/1 6.1.17.
WEBMCA Programming COMMENT Comment (r/w) NAME Spectra name (r/w) UNIT_X Unit of X-axis (r/w) UNIT_Y Unit of Y-axis (r/w) STABILIZATION Parameter for software-controlled peak position stabilization im PHAS-mode (r/w) (for future use) Parameter for software MCS-mode (r/w) (for future use) LINEARIZATION Structure array for linearization of spectra (each structure contains the coefficients of...
WEBMCA Programming 6.1.21. Calibration-Object CALIBRATION_X/_Y Parameter for spectra Elements req. Content DATA Polynome parameter 6.1.22. DATA-Object DATA Polynome parameters for calibration Attribute(s) req. Content Actual content of array ComTec GmbH...
WEBMCA Programming 6.3. Delphi programming example The example is based on the ICS - Internet Component Suite http://www.overbyte.be http://www.rtfm.be/fpiette/indexuk.htm http://users.swing.be/francois.piette/indexuk.htm Copyright (C) 1997-2001 by François PIETTE Rue de Grady 24, 4053 Embourg, Belgium 6.3.1. TCPTest.dpr program TCPTest; uses Forms, TCPTestUnit in 'TCPTestUnit.pas' {Form1}; {$R *.res} begin Application.Initialize;...