Home
winTMCA 32 User Manual
Contents
1. pan IP xxx xXxx XxXX XXX n relates to the winTMCA32 acquisition port to which the webMCA shall be connected Please note that it is not allowed to connect any other MCA devices like scintiSPEC etc to this port Chapter Credits User manual winTMCA32 Credits 131 8 Credits A list of additional used Delphi freeware components is given TColorPickerButton 1999 from Dipl Ing Mike Lischke public lischke online de TComPort 1998 2001 from Dejan Crnila dejancrn yahoo com TWSocket ICS 1997 2001 from Fran ois Piette francois piette rtfm be Index oy ae acquisition 20 acquisition mode 20 starting all acquisitions 20 starting an acquisition 19 status 52 stopping all acquisitions 20 stopping an acquisition 20 acquisition hardware 7 8 dMCA card 7 identiFINDER 8 nanoSPEC 8 acquisition menu 19 adapting the menu header 63 add spectrum 37 alarm 57 setting alarm parameters 57 arrange icons 35 _B background stabilisation 32 Batch file examples 123 Batch files 66 examples 123 executing batch files 47 batch status 54 Batch structure 66 baud rate 31 buttons 53 Pe Gee cards 7 plug in cards 7 cascade windows 35 change password 16 changing graphical user interface 63 changing marked peaks to ROIs 58 channel to energy 58 clear marked peaks 26 clear spectrum 23 close all windows 35 coarse gain 30 coincidence 33 com 31 Index 132 compute menu 35 configuration file TMCAINIT TXT 114 conve
2. Button O allows to exit the program at any time Quality Control The command line parameter q enables the customer to perform a quality control with the NAJCALC program Therefore a spectrum must be acquired with the help of the calibration source and the same geometry as used in an earlier performed calibration session When this spectrum is evaluated the calculated activities are compared to the values stored in the nuclide database The half life of the nuclides is taken into consideration during the comparison The following command line parameters are necessary resp possible Command line parameters Function q Starts the NAJCALC program for quality control s lt n gt n states the number of the spectrum being evaluated User manual winTMCA32 Appendix 122 p lt calibration source parameter Specifies the name of the parameter file file gt containing the activity declarations of the calibration source The file name must be given without path but with file name extension default PAR b lt n gt n specifies the number of the background spectrum taken into consideration optionally w lt f gt The parameter w creates an energy window around the desired peak energy Peaks lying within this window are identified The window width is f keV optionally f 3 0 by default e lt f gt This factor is used to multiply the activity error and the error of the minimum detectable activity These errors correspond
3. Y CURSOR This menu item enables you to select how the channel contents of the channel having the cursor within are displayed v Counts Gros Gros CPS You can select between channel contents COUNTS complete counts over all spectra ranges having the same color as the cursor channel GROS or the complete count rate over all spectra ranges having the same color as the cursor channel but with dead time corrected acquisition time GROS CPS These values will be displayed within the vertical scroll bar e Y AXES This menu item enables you to select the display mode for the vertical scroll bar v lin log sqr You can select between the modes LIN linear LOG logarithmic and SQR square User manual winTMCA32 Operating winTMCA32 60 METER This menu item enables you to activate a meter within the spectrum window You can select between the modes COUNT RATE and REFRESH RATE y Count Rate Refresh Rate In the mode COUNT RATE the whole count rate for the spectrum is displayed In the mode REFRESH RATE the frequency for screen refresh is displayed DISPLAY REAL LIVE TIME With this menu item the real and or the dead time corrected acquisition time in the upper right corner of the spectrum is displayed y Live e DISABLE SCROLLBAR The vertical and horizontal scroll bar are enabled or disabled OVERLAY WINDOWS Other spectra can be overlaid within the actual spectrum and compared directly By using the menu item S
4. lt V2 gt 0 5 3 In order to identify smaller peaks a lower value must be entered The peaks which were found are marked as ROIs PreampPower lt V1 gt lt V2 gt Enables lt V2 gt 1 or disables lt V2 gt 0 the preamplifier of acquisition port lt V1 gt PresetCounts lt V1 gt lt V2 gt Acquisitions on port lt V1 gt will be stopped if count rate lt V2 gt is reached See also Preset Menu gt Services in the winTMCA32 menu header PresetDwelltime lt V1 gt lt V2 gt User manual winTMCA32 Batch files 87 Pre sets the dwell time for MCS mode acquisition for the active port lt V1 gt The time in seconds is given as real number lt V2 gt The time resolution for MCS compatible hard ware as the dMCA card is lt 1 us PresetLivetime lt V1 gt lt V2 gt Pre sets the acquisition time lt V2 gt dead time corrected of an acquisition port lt V1 gt in seconds Acquisitions will be stopped if this time is reached See also Preset Menu gt Services in the winTMCA32 menu header PresetMaximumCounts lt V1 gt lt V2 gt Acquisitions of port lt V1 gt will be stopped if the content of one channel reaches the given rate lt V2 gt See also Preset Menu gt Services in the winTMCA32 menu header PresetNextChannel lt V gt With this command the preset mode NEXTCHANNEL is set This allows it to respond to the channel changes within a batch file in connection to a amp operator PresetRealtime lt
5. 57 57 57 58 61 63 63 63 66 66 67 105 105 105 106 107 108 109 112 114 114 115 116 117 119 121 123 123 User manual winTMCA32 Contents 74 2 7 4 3 7 4 4 7 4 5 7 5 7 6 7 6 1 7 6 2 7 6 3 7 7 Creating a mcs spectrum Inserting values into excel files Example for a startup batch file Acquiring and integrating Spectra format Trouble Shooting No spectrum can be acquired Spectra are not stored in the chosen directory Malfunction peak integration Using webMCA Chapter 8 Credits Index 123 124 125 126 127 128 128 128 129 129 131 132 Chapter Introduction User manual winTMCA32 Introduction 6 1 1 1 1 2 1 3 Introduction Manufacturer Hardware and software requirements Installation issues Available acquisition hardware and their technical data Manufacturer winTMCA3 2 is developed and distributed by ICx Technologies Hardware and software requirements The following items are required for the use of winTMCA3 2 e personal computer IBM or compatible with either Pentium or a faster processor with a minimum frequency of 200 MHz hard disk with at least 20 MB free disk space dMCA respectively external acquisition hardware nanoSPEC or identiF NDER VGA graphic card MS Windows version 9x ME NT 2000 or XP Installation issues Insert the winTMCA32 distribution CD into your CD ROM drive Select the desired winTMCA version on the CD for exampl
6. Calculates the time s for radioactive decay until the starting activity lt V1 gt has fallen to the value lt V2 gt at a half life time lt V3 gt given in seconds The result is assigned to variable lt N gt DecryptString lt N gt lt V gt This command decrypts string lt V gt which was encrypted by the command EncryptString The result is assigned to variable lt N gt DefineEnergyROI lt V1 gt lt V2 gt lt V3 gt A ROL is defined in spectrum lt V1 gt ranging between energy lt V2 gt and energy lt V3 gt lt V3 gt has to be larger than lt V2 gt In order to use this command you have to carry out an energy calibration before You can also define ROIs with the batch command MkNalIROI or by selecting Spectrum gt ROIs in the winTMCA32 menu header DeleteAlIROIs lt V gt Erases all defined ROIs region of interest ina spectrum lt V gt ROIs are defined with the command DefineEnergyROI or MkNalIROI DeleteLoopTask lt V1 gt lt V2 gt lt V3 gt Deletes the loop batch lt V1 gt on port lt V2 gt from the list of batches to be continuously repeated lt V3 gt is optional If the loop batch lt V1 gt does not exist an error message is displayed on the screen If lt V3 gt is set to 1 this error message is suppressed DisableScrollbar lt V gt Disables the horizontal and vertical scroll bar in spectrum window lt V gt DisableSpectrumSelection Disables the spectrum selection window within the icon bar
7. Starts the execution or continuation of a batch file For the command line parameters lt V gt please see winPROC commanc line parameters Wpbt lt V1 gt lt N gt lt V2 gt Value lt V2 gt is assigned to variable lt N gt in batch file lt V1 gt as permanent starting value The batch file must have the extension WPB Example Wpbt STARTUP WPB HV 800 or Wpbt STARTUP WPB HV AkKtHV WriteMCSChannel lt V1 gt lt V2 gt lt V3 gt lt V4 gt Writes a numerical value lt V2 gt into an acquisition channel of spectrum lt V1 gt The first value will be written to channel number 0 or into the channel specified by the command SetMCSChannelNumber The channel number is incremented automatically with each execution of this command If you use the optional parameter lt V3 gt 1 2 the given User manual winTMCA32 Batch files 105 5 3 5 4 5 5 value lt V2 gt will also be written in the following channels counted by lt V3 gt Setting lt V4 gt to M enables the representation of the channels and their contents as histogram For each channel a bar in the respective color is chosen WriteMCSToEnergy lt V1 gt lt V2 gt lt V3 gt The value lt V2 gt is written into mcs spectrum lt V 1 gt The x axis is time scaled the corresponding time lt V3 gt has to be a real number i e batch command GetActualDateTime Special Characters You can set two special characters at the end of a line amp After command
8. lt N2 gt sets the channel and lt N3 gt the corresponding energy Here is an example SetEnergyCalibrationEx Res 13 ChE VARIABLES Res d CH1 f 81 02 CH2 f 162 99 CH3 f 230 13 CH4 f 518 62 CH5 f 641 75 CH6 f 734 03 CH7 f 938 0 E1 f 81 02 E2 f 162 99 E3 f 230 13 E4 f 518 62 E5 f 641 75 E6 f 734 03 E7 f 938 0 User manual winTMCA32 Batch files 96 SetErrorWaitTime lt V gt Sets the time lt V gt 0 60 seconds in which a batch error message shall be displayed If you select lt V gt 0 this is the default value the error message must be confirmed with the ENTER key SetExcelWorksheetValueFormat lt V gt Parameter lt V gt gives the format which is used for inserting values into an excel file Parameter lt V gt must be given using excel format You can use this command before you insert values with batch command JnsertltemInExcelWorksheet to fix the format for the inserted values SetExclusiveFlag lt V1 gt lt V2 gt Determines if other batch files having the port number lt V1 gt shall be executed lt V2 gt 0 or not lt V2 gt 1 Using this command you avoid calling up a batch file for more than one time without having finished SetFineGain lt V1 gt lt V2 gt The fine gain of an acquisition port lt V1 gt is set to the given value lt V2 gt SetHV lt V1 gt lt V2 gt Sets the hardware parameter high voltage of an acquisition port lt V1 gt to the given value lt V2 gt S
9. ons M Gate EE Hee Neat S Pen Ws Te Ped A O Operating winTMCA32 33 Default values for GROS are within the range of 300 and 500 The statistical error of centroid calculation sinks with rising number of events Otherwise more time is used until the required events are registered and the fine gain factor is corrected Clicking the LATENT button activates the background stabilisation This means that stabilisation is active even if no acquisition takes place scintiSPEC does not allow background stabilisation You have to confirm all parameters by clicking the SET button This dialog allows the registration of events depending on an external triggering signal which must be connected to the input of each acquisition port With the button TRIGGER POLARITY you choose between the positive light green LED and the negative light red LED flank With the MODE button you select between trigger mode COINC coincident and ANTICOINC anti coincident In the COINC mode an event is only registered if a corresponding triggering signal exists In ANTICOINC mode the event is registered if no triggering signal is given When you use the DELAY slider a delay between event and triggering signal is set Ifa positive time is given it means that the triggering signal must lie before the event A negative time means that the event lies before the triggering signal The parameter GATE sets up the time interval for the triggering
10. 3 1 8 3 3 2 3 3 3 3 3 3 1 3 3 3 2 3 3 3 3 3 3 3 4 3 3 3 5 3 3 4 3 3 4 1 3 3 4 2 Introduction Manufacturer Hardware and software requirements Installation issues Available acquisition hardware and their technical data Plug in cards dMCA card External acquisition hardware identiFINDER nanoSPEC Software specifications Operating winTMCA32 Starting instructions Main Program Menu Header Program Menu winTMCA information Select nuclide database Select language Help Exit Register User Change Password User Administration View Menu Acquisition Menu Start Stop Start All Stop All Mode Spectrum Menu Energy calibration Clear nN o o IAN NY AA Aa 11 User manual winTMCA32 3 3 4 3 Length 3 3 4 4 Save 3 3 4 5 Save as 3 3 4 6 Load 3 3 4 7 Definitions 3 3 4 8 ROIs 3 3 4 9 Clear marked peaks 3 3 4 10 Select spectrum 3 3 4 11 Select sub spectrum 3 3 5 Hardware Menu 3 3 5 1 High Voltage 3 3 5 2 ULD 3 3 5 3 Gain 3 3 5 4 COM 3 3 5 5 Stabilisation 3 3 5 6 Coincidence only MCA 3 3 5 7 Pole Zero 3 3 6 Print Menu 3 3 7 Window Menu 3 3 8 Compute Menu 3 3 8 1 Integrate 3 3 8 2 Add spectrum 3 3 8 3 Subtract spectrum 3 3 8 4 Multiply spectrum 3 3 8 5 Divide spectrum 3 3 8 6 Rescaling x axis 3 3 8 7 Smooth spectrum 3 3 8 8 Peak search 3 3 9 Preset Menu 3 3 10 Miscellaneous Menu 3 3 10 1 Editor 3 3 10 2 WinPROC Monitor 3 3 10 3 WinPROC Error Wait 3 3 10 4 Execute Batch 3 3 1
11. 5 5 3 5 6 Horizontal scroll bar The horizontal scroll bar number 9 in figure spectrum window enables you to influence the left respectively right margin of the spectra display You can push the display margin into cursor direction by using the corresponding cursor buttons 4 When you click the button the minimum respectively maximum channel is used as margin Additionally the position of the spectra cursor vertical red line is displayed within the scroll bar using the form XtkeV 661 5 If an energy calibration was carried out the position is displayed in energy units otherwise in channels If the x axis is declared as time axis using days d or hours h the display of the cursor position can be changed between the formats hours and date by mouse clicking on the x position Within the vertical scroll bar the number of events for the channel onto which the cursor is positioned is also displayed 3140_ alternatively the number of total counts within the spectrum Gros 1677880 or the gross count rate Gros CPS 129068 can be selected Meter Within the spectrum window a meter can be displayed number 6 in figure spectrum window which shows the count rate or the refresh rate by displaying the window In the count rate display an alarm function can be activated If you double click the meter a dialog window pops up In order to use the alarm function the ALARM field has to be activated by mouse click on the
12. DisconnectMCSAuxSpectrum lt V gt If mcs mode is used the mcs spectrum of spectrum lt V gt is displayed in spectrum lt V gt see also ConnectMCSAuxSpectrum EnableAutoTransfer lt V1 gt lt V2 gt Enables V2 1 or disables V2 0 for acquisition port lt V1 gt the REMOTE acquisition mode User manual winTMCA32 Batch files 74 EnableGaussFit lt V gt For lt V gt 1 this is the default setting the gauss fit is used within the batch file command Integrate and the menu command Integrate lt V gt 0 disables the gauss fit EnableMenuBar lt V1 gt lt V2 gt Enables V2 1 or disables V2 0 the menu items within the tool bar The following menu items can be used V1 BATCHMENU TIMEMENU PORTMENU ACQSTATUSMENU WINDOWSELECTMENU RATEMETERMENU BUTTONMENU WINDOWLISTMENU EnablePearsonFit lt V gt Setting lt V gt 1 enables the pearson fit for the batch and menu command Integrate lt V gt 0 disables the pearson fit EnableScrollbar lt V gt Enables the horizontal and vertical scroll bar in spectrum window lt V gt EnableSpectrumSelection Enables the spectrum selection window within the icon bar EncryptString lt N gt lt V gt String lt V gt is encrypted and assigned to variable lt N gt EnergyCalibration lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V9 gt Executes an energy calibration within spectrum lt V1 gt by assigning channels to energies At least one combination lt V2 gt lt V3 gt m
13. N gt lt V1 gt lt V2 gt lt V3 gt The activity from the beginning lt V1 gt for a time interval lt V2 gt in seconds is corrected the half life time lt V3 gt in seconds is taken into consideration HideStatus Closes the communication window opened by the command ShowStatus Hide Window lt V gt This command closes spectrum window lt V gt 1 64 respectively the information window lt V 0 gt If lt V gt Else This function allows the execution of following commands depending on the boolean term lt V gt If lt V gt is TRUE the following instructions will be executed otherwise the instructions after ELSE If ELSE does not exist the next following command after the IF instruction will be executed If more than one instruction should be executed all commands must be set in brackets Note that no command can be in the same line as a bracket For boolean terms the following operators can be used equal lt smaller gt bigger lt smaller or equal gt bigger or equal unequal AND and OR or XOR exclusive or negation If these operators are used the range has to be marked with brackets for example if A gt 3 and B lt 10 instruction 1 else instruction 2 In this example instruction 1 and the following will be executed if the value of variable A is greater than 3 and variable B is greater than 10 Otherwise instruction 2 and the following will be e
14. V1 gt lt V2 gt lt V3 gt This command gives date and time for nanoSPEC measurement on port lt V1 gt Parameter lt V2 gt is set to time using format hh nn ss parameter lt V3 gt to date format dd mm yyyy SetNanoNumberOfRuns lt V1 gt lt V2 gt This command fixes the number of measurements lt V2 gt for nanoSPEC on port lt V1 gt It is required to define a starting point The runs are executed continuously SetNanoSystemTime lt V1 gt lt V2 gt lt V3 gt Sets the system timer of nanoSPEC connected to port lt V1 gt to date lt V2 gt using format dd mm yyyy respectively time lt V3 gt format hh nn ss SetNoiseLevel lt V1 gt lt V2 gt The hardware parameter noise level of port lt V1 gt is set to value lt V2 gt SetNuclideDatabaseName lt V gt Allows it to change the actual nuclide database The nuclide database is needed to display the name of the nuclides in the spectrum window and the resulting integration window File lt V gt must be located in the NUCDATA directory SetNumberOfSubSpectra lt V1 gt lt V2 gt This command defines the number of sub spectra lt V2 gt for spectrum lt V1 gt SetOffset lt V1 gt lt V2 gt Sets the hardware parameter offset of port lt V1 gt to value lt V2 gt SetPar lt N gt lt V gt Assigns value lt V gt in the temporary batch file to variable lt N gt SetPortUDPInfo lt V1 gt lt V2 gt lt V3 gt This command prepares the network connection to an
15. be loaded If the name does not exist no menu and button files are loaded If you wish to install user management please contact target systemelectronic for further information Register User Change Password User Administration 3 3 1 1 winTMCA information Shows the version of the operating system and the modules which are used by the winTMCA32 program 3 3 1 2 Select nuclide database Enables you to select the nuclide database which is used for online display in the spectrum The nuclide databases are located in the NUCDATA directory By default only the file NUCLIDE DB is available 3 3 1 3 Select language Enables you to select the language for the winTMCA32 software These settings take effekt to all modules and programs as for example the winTMCA32 editor or the winTMCA372 help files Select Select language english a You can select between german english or french 3 3 1 4 Help Starts the winTMCA32 help By selecting an object or an area within the winTMCA32 a help text pops up User manual winTMCA32 Operating winTMCA32 16 3 3 1 5 3 3 1 6 3 3 1 7 Exit Terminates the program Register User This command enables the user to register Enter the name of the user to be registered or select it from the list in the upper text field The password corresponding to the selected user must be entered in the text field ENTER PASSWORD Register User Enie Usemame EENET Enter Password Whe
16. created with the command SetSpecTextWindow MaximizeSpecWindow lt V gt This command enlarges spectrum window lt V gt to its maximum window size MinimizeSpecTextWindow lt V gt Minimizes the spectrum text window of a spectrum lt V gt to its original size This text window is created with the command SetSpecTextWindow MinimizeSpecWindow lt V gt Minimizes spectrum window lt V gt to its minimum window size MKNalIROI lt V1 gt lt V2 gt lt V3 gt lt N1 gt lt N2 gt lt N3 gt User manual winTMCA32 Batch files 86 Creates a region of interest ROT in a spectrum lt V 1 gt symmetrically around energy lt V2 gt which is taken as centroid The margins are calculated automatically The standard resolution of 7 of the Cs 662 keV peak and its energy dependence are taken into consideration By assigning a value greater then 1 to the factor lt V3 gt it is possible to enlarge the width of the ROI But spreading the ROI reduces its resolution A factor of 2 doubles the width of the ROI Optionally three other variables can be specified to which the left lt N1 gt respectively the right lt N2 gt margin of the ROI and the earlier defined energy lt N3 gt can be assigned You can also define a ROI by using the batch command DefineEnergyROI or by selecting Spectrum Menu gt ROlIs from the winTMCA32 menu header MultiplySpectrum lt V1 gt lt V2 gt All channel contents of spectrum lt V1 gt are multiplied by factor lt
17. display area winTMCA32 SUPERVISOR 10 Program View Acquisition Hardware Print Window Compute Preset Misc Real s Dead Pie Status 12345678 aniran 200 400600 8001000 17 0 l STP FONRBHEB Y Count Rate eee 2 gt owe Awbale IES D PHA SPC 1 1 0 SAMPLE1K SPC PL 10 Jog Cs 137 1 500 00 Test 4 gt X keV 661 5 Y 6190 13 01 2006 15 42 56 NUCLIDE DB Menu Header You specify the menu header optionally by editing the menu file This file depends on user name if the user administration is activated The program menu and view menu are always available The menu items Acquisition Menu Spectrum Menu Hardware Menu Print Menu Window Menu Compute Menu Preset Menu Miscellaneous Menu and nanoSPEC identiFINDER Menu are declared in the definition file MENU DEF and can be specified by the user Program Menu The program menu does not depend on the menu configuration file and is always available You can select the following registers winTMCA information Select nuclide database Select language Help Exit User manual winTMCA32 Operating winTMCA32 15 The following three menu items are optional i e they are normally not selectable They provide options to specify different users Each user can have his own customized menubar and buttons If user administration is activated the actual user name registered for windows will be searched and its configuration files will
18. displayed in spectrum window lt VI1 gt The rescaled spectrum will be displayed in spectrum window lt V2 gt The channel contents are distributed corresponding to the rescaling function Ks Ae Ki Bu K74 0 K4D The polynomial coefficients A B C and D are given by lt V3 gt lt V4 gt lt V5 gt and lt V6 gt If the coefficients shall be applied to the inverse function K AWKI Be K7 408 K4D lt V7 gt must be set to 1 otherwise to 0 ResetService lt V gt Deletes all preset adjustments for port lt V gt Rpbt lt V gt lt N1 gt lt N2 gt The value of variable lt N1 gt within batch file lt V gt can be assigned to a variable lt N2 gt within the temporary copy of the batch file being executed SaveDMCASetup lt V1 gt lt V2 gt The DMCA hardware parameters of port lt V1 gt are written to file lt V2 gt which is stored in the SETUP directory Using the batch command LoadDMCASetup reloads the configuration SaveFileAs lt N1 gt lt N2 gt lt N3 gt lt V1 gt lt V2 gt lt V3 gt lt V4 gt This command calls up the default file open box for saving files lt V1 gt defines the window caption lt V2 gt the file type i e text file lt V3 gt the default extension i e TXT The file path is specified by lt V4 gt If a file was chosen lt N1 gt is set to 1 the file name is assigned to lt N2 gt and the file path to lt N3 gt If the dialog was cancelled a 0 is assigned to lt N1 gt Save
19. efficiency calibration and the quality control of Nal acquisition ports In order to execute NAJCALC it must be started with the corresponding command line User manual winTMCA32 Appendix 117 7 3 1 parameters This can result from menu registers within the winTMCA32 buttons and batch file commands This program can be started for testing via START EXECUTE and the specific command line parameters Evaluation Efficiency Calibration Quality Control Evaluation In order to determine the activity for a nuclide line the integration area is defined around the desired energy line The width of this integration area is proportional to ARE A B JE keV Within the area it is tried to describe the spectrum shape using a gauss function _ E Eo 2 E e 2 If this fit is not successful a mean background is determined at the margins of the integration range Therefore five channels are taken into consideration in each case These points are used to determine the straight line equation for background The responding net area is assigned to the corresponding nuclide if the centroid of the net area lies within a pre fixed energy window 3 keV by default and the FWHM full width of half maximum lies within margins depending on energy If a background spectrum is given the channel contents are normalized by acquisition time and subtracted from the measured spectrum before the evaluation of the net area takes place In order to evalu
20. execution the batch is set into SLEEP mode With the command line WINPROC p n the process is continued If you use amp in connection to the commands StartAcquisition and SetAcquisitionDate this command line will be entered automatically as program which will be started after the preset command is executed see SetProgramName With this option it is possible to start an acquisition and to continue executing a batch file if acquisition has finished With this special character the command line will be delivered as shell command which means that executable programs can be called up Example CALC EXE This calls up the windows calculator The batch file will be continued when the external program is finished ATTENTION A in front of a command line defines this line as a comment Example This line is a comment Pre defined internal variables The following variables are predefined and need not be declared WintmcaDir Gives the winTMCA32z installation directory ConfigDir Gives the path of the CONFIG directory WinprocPort Gives the batch port number Program winproc The program winPROC which is located in the winTMCA32 working directory allows batch file execution This can be done via dialog window or command line parameters User manual winTMCA32 Batch files 106 5 5 1 winPROC command line parameters winPROC dialog window winPROC monitor winproc command line parameters If a batch file s
21. factor optionally default f 1 0 e lt f gt This factor is used to multiply the activity error and the error of the minimum detectable activity These errors correspond then to the root mean square deviation multiplied by f optionally default f 1 0 a Evaluates for every nuclide the decay time until the value is smaller than the value given in the field for allowed activity in the nuclide database All nuclides selected in the chosen nuclide database are taken into consideration during evaluation The nuclides must by activated by setting their CHECK fields in the nuclide database editor DBEDIT If more than one gamma peak is activated for a nuclide the mean for the activities of the single lines is evaluated The evaluation results are stored in the file NAJCRES TXT The file is stored in the CONFIG subdirectory of the winTMCA directory Example for a NAJCRES TXT file NUCLID Cs 137 NET lt 908 88 GROS 7383 76 ERROR 0 00 NWG 908 88 ERRORREL 0 00 NETCOUNTS 0 HLT 951200000 EFFICIENCY 0 000670 NUCLID I 131 CENTROID 361 41 CENTROIDERROR 6 30 FWHM 32 71 NUCLID I 131 NET 6795 19 GROS 14994 26 ERROR 1279 45 NWG 943 93 ERRORREL 18 83 NETCOUNTS 848 HLT 694656 004445798 EFFICIENCY 0 001262 NUCLID Tc 99m NET lt 1061 52 GROS 25679 50 ERROR 0 00 NWG 1 061 52 ERRORREL 0 00 NETCOUNTS 0 HLT 21620 EFFICIENCY 0 001709 NUCLID TI 201 CENTROID 70 22 CENTROIDERROR 6 01 FWHM 22 65 NUCLID TI 201 NET 4231 32 GROS 37240 26 ERRO
22. field which appears after clicking icon Peaks located in another database for example NUCLIDE DB can be appended via Icon FX In order to select all peaks for evaluation icon activates the CHECK fields Icon E deselects all peaks The decay probability at each gamma energy is given as a percentage rate In the next field the detector efficiency is displayed which is evaluated by efficiency calibration If no calibration with this database was carried out the value is set to 100 If the calibration was carried out an evaluation of the detector efficiency dependent on the gamma energy will be accomplished Attention Only gamma energies which have their CHECK fields activated will be taken into consideration in the spectra display and the integration window In order to append new nuclides the name must be entered into the nuclide field After that icon serves to select the energy lines amp Nuclide Data Base Editor NUCLIDE DB PARADOX 7 DataBase e B Fann oA nK S Nuclide Cs 137 X Peak kev Halflifetime s Decay probability 4 Efficiency Check 32 00 9 5120E 08 9 00 52 00000 Yes 661 64 9 5120E 08 56 00 100 00000 Yes Chapter Appendix User manual winTMCA32 Appendix 114 7 7 1 Appendix Configuration file TMCAINIT TXT Example for a layout file created with batch command PrintFormattedPage Evaluation module NAJCALC Spectra format Trouble shooting U
23. signal That means that in the COINC mode an event is only registered if it lies within this time interval which is located before or after the triggering signal as preset by delay time User manual winTMCA32 Operating winTMCA32 34 You change values for DELAY or GATE by using the slider or by typing the values into the text field You have to confirm by pressing the ENTER 4 key 3 3 5 7 Pole Zero rte asta x You determine the decay constant of the internal differentiation stage by specifying PZ Stabilisation Coincidence INTERNAL PZ1 Thi luei b High Voltage ULD com RN Dr preset Uy gt manufacturer and should not be changed Pole zero Shaping Gain CPZ internal PZ1 With PZ EXTERNAL PZ2 the decay 0 5 10 00 ns constant of the detector preamplifier can be str 10 00 us A 02540 75 x compensated ea 10 n In order to set up these values you move the corresponding control knob with the mouse or type in the values directly confirmed by pressing the ENTER 4 key 10 000 ps The parameter COMPENSATION PZ3 n serves to compensate the signal outbreaks Compensation PZ3 Hj 0 ps Decay constant tne anaes if factors 0 0 Amplitude PZ Estimation 6 Exit 3 3 6 Print Menu Printer Setup This command opens the default printer dialog window command PRINTERSETUP Spectrum Prints the active spectrum with regard to
24. system Ifthe connection to the DDE server can be built the variable lt N gt is set to 1 otherwise to 0 With winTMCA32 a second DDE channel can be used the commands for this option are DDEAux DDEAuxConnectServer for example Connection must be closed with the DDECloseConnection command DDEExecuteAnd Wait lt N gt lt V1 gt lt V2 gt This command erases the content of item lt V1 gt of a DDE server delivers command lt V2 gt and waits for the server changing the value of item lt V1 gt as a fact of command lt V2 gt see also DDEConnectServer The new value of the item is assigned to variable lt N gt If the value doesn t change within ten seconds the command will be cancelled and an error message will appear DDEExecuteMakro lt V gt Delivers makro command lt V gt to DDE server see DDEConnectServer DDEPokeData lt V1 gt lt V2 gt User manual winTMCA32 Batch files 73 Sets item lt V1 gt from the DDE server to value lt V2 gt see DDEConnectServer DDERequestAndWait lt N gt lt V1 gt lt V2 gt This command waits for DDE server see DDEConnectServer setting item lt V1 gt to value lt V2 gt maximum waiting time 30 seconds If this happens in time variable lt N gt is set to one otherwise to zero DDERequestData lt N gt lt V gt The content of item lt V gt of the DDE server is assigned to variable lt N gt see DDEConnectServer DecayTime lt N gt lt V1 gt lt V2 gt lt V3 gt
25. then to the root mean square deviation multiplied by f optionally default f 1 0 The results are written to a file named NAJQRES TXT which is stored in the CONFIG subdirectory of the winTMCA32 directory Example for a NAJQRES TXT file NUCLID Ba 133 CENTROID 356 01 CENTROID C 363 43 ACT 3379 19 ACT C 3394 02 DELTAACT 0 1 NUCLID Cs 137 CENTROID 661 64 CENTROID C 661 49 ACT 4449 31 ACT C 4606 31 DELTAACT 0 6 NUCLID Co 60 CENTROID 1173 23 CENTROID C 1159 44 ACT 3234 31 ACT C 3280 69 DELTAACT 0 2 NUCLID Co 60 CENTROID 1332 51 CENTROID C 1318 51 ACT 3234 31 ACT C 5235 73 DELTAACT 6 4 AVRDELTAACTIVITY 1 82 In the result file the following information is displayed for each selected nuclide from the database e name e energy CENTROID as it is stated in the database in keV e the energy CENTROID C determined of the peak centroid of the spectrum being evaluated in keV e the nuclide activity at the actual date ACT in Bq e the activity ACT C calculated from the spectrum with respect to the efficiency e calibration in Bq e the difference of these two activities as multiples of the root mean square deviation of this difference In the last line of the file the value AVRDELTAACTIVITY states the medium deviation of all evaluated peaks in multiples of the root mean square deviation User manual winTMCA32 Appendix 123 7 4 7 4 1 7 4 2 The quality control feature of the NAJCALC program enables you to check
26. this spectrum lt V2 gt and lt V3 gt are interpreted as channel numbers In order to determine the peak area it is tried to describe the peak form fitting a gauss function T x _ x lin e If the fit is not convergent the background is determined by adapting a straight line In addition to that the mean of several channel contents of the left and right margins is evaluated You can also integrate an area by selecting Compute Menu gt Integrate from the winTMCA32 menu header LoadDMCASetup lt V1 gt lt V2 gt Loads the setup file lt V2 gt for acquisition port lt V1 gt only dMCA card LoadNanoActSpec lt V gt Loads the current spectrum stored in the acquisition memory of external connected nanoSPEC nanoPROBE or identiFINDER in spectrum lt V gt LoadNanoAllSpecs lt V gt Loads all spectra from the spectra memory of nanoSPEC nanoPROBE or identiFINDER on acquisition port lt V gt Thereby the spectra data of spectrum lt V gt are lost LoadNanoTopSpec lt V gt Loads the actual spectrum stored in the spectrum memory of external connected nanoSPEC nanoPROBE or identiFINDER in spectrum lt V gt LoadSpectrum lt V1 gt lt V2 gt Loads spectrum file lt V2 gt into spectrum window lt V1 gt Only spectra within the specified directory can be loaded see SetSpectrumPath MaximizeSpecTextWindow lt V gt Maximizes the spectrum text window of a spectrum lt V gt to full window size This text window is
27. whether an efficiency calibration is still valid A new calibration session should be run if the medium deviation is larger then three times the root mean square deviation and the system setup should be checked too Batch file examples Inserting values into excel files Generating specturm names Creating a mcs spectrum Example for a startup batch file Acquiring and integrating Generating spectrum names GetsDate sDate GenerateSPCName SpcName 1 s s SPC_ sDate SetSpectrumName 1 SpcName StartAcquisition 1 amp SaveSpectrum 1 SpcName VARIABLES sDate s SpcName s This batch file generates a spectrum name using the format SPC_ddmmyy nnn where ddmmyy relates to the date and nnn is an autoincrementing number starting from 000 If this batch file is executed more then one time the extension increments by 1 An example for a spectrum name generated with this batch file is SPC_131003 002 You can see directly from the spectrum name that the spectrum was acquired on 13 10 2003 it was the third spectrum created on the day extension 002 Creating a mcs spectrum Using this batch file a mcs spectrum can be created SetSpectrumLength 3 16384 DeleteAIIROIs 1 GetsDate sDate GenerateSPCName MCSSpectrum 3 s s MCS_ sDate SetSpectrumName 3 MCSSpectrum ClearSpectrum 3 TimeCalibration 3 30 PresetLivetime 1 30 MkNaiROI 1 662 1 2 SetMCSWindow 3 30 LOOP ClearSpectrum 1 StartAcquisition 1 amp Integrate 1 Cen
28. 0 5 Peak Search Sensitivity 3 3 10 6 Preferences 3 3 11 nanoSPEC identiFINDER Menu 3 4 Tool Bar 3 4 1 Real Time 3 4 2 Port Number Contents 2 23 23 24 24 24 24 26 26 26 26 27 28 30 31 32 33 34 34 35 35 36 37 38 38 39 39 40 41 41 45 45 47 47 47 48 49 50 51 52 52 User manual winTMCA32 3 4 3 3 4 4 3 4 5 3 4 6 3 4 7 3 4 8 3 5 3 5 1 3 5 2 3 5 3 3 5 4 3 5 5 3 5 6 3 5 7 3 6 Chapter 4 4 1 4 2 Chapter 5 5 1 32 5 3 5 4 5 5 5 5 1 59 2 5 5 3 5 6 Chapter 6 Chapter 7 7 1 7 2 7 3 7 3 1 7 3 2 7 3 3 7 4 74 1 Status Window Selection Count rate Buttons Batch status Window List Spectrum Window Spectrum header Spectrum display Vertical scroll bar Horizontal scroll bar Meter Text window Spectrum window context menu LOG file Changing graphical user interface Adapting the menu header Adapting the buttons Batch files Batch structure Batch commands Special Characters Pre defined internal variables Program winproc winproc command line parameters winproc dialog window winproc monitor Information window Nuclide database editor DBEDIT TXT Appendix Configuration file TMCAINIT TXT Example for a layout file created with batch command PrintFormattedPage Evaluation module NAJCALC Evaluation Efficiency Calibration Quality Control Batch file examples Generating spectrum names Contents 3 52 52 53 53 54 54 54 55 56 56
29. 0 L weight TEXTOUT 65 20 15 0 0 L comment TEXTOUT 82 20 15 0 0 L comment DRAWFRAME 15 5 95 25 1 ENDHEADER DRAWSPECTRUM 1 20 Y 5 50 25 1 SAVEY TEXTOUT 20 SAVEY 10 10 1 0 c NUCLID These text declarations are printed TEXTOUT 40 SAVEY 10 10 1 0 c ACTIVITY Bq g out side by side as a fact of the TEXTOUT 60 SAVEY 10 10 1 0 c ERROR SAVEY command TEXTOUT 80 SAVEY 10 10 1 0 c NWG Ba g DRAWLINE 15 Y 1 85 Y 1 BEGINTABLE A table consisting of four TABLETEXTOUT 20 Y 2 2 10 0 0 c 1 1 SNUCLID columns is created The variables TABLETEXTOUT 42 Y 2 2 10 0 0 r 1 1 NET 1f ee ae TABLETEXTOUT 62 Y 2 2 10 0 0 r 1 1 SERRORREL 1f declared as SNUCLIDI TABLETEXTOUT 82 Y 2 2 10 0 0 r 1 1 NWG 1f SNUCLID2 The Ieee i ENDTABLE running from to maximum SAVEY TEXTOUT 15 SAVEY 5 10 1 0 SUMACTIVITY Ba g NETSUM 1f TEXTOUT 38 SAVEY 5 10 1 0 1 SERRORSUM 1f The resulting page is shown below User manual winTMCA32 Appendix 116 Result of the Nal evaluation sampk samber comme st NAJ10 067 000 D 200 400 BaO B00 1 000 1 500 1 000 600 g D 500 1 000 1 500 2 000 keV maU sanal tags MAGIA Am 291 354 w0 14 7 Ba 143 ap ao 22 0 Cos ap oo 207 Ca 5D ap oo 253 0 Cs 157 Bide 26 83 7 ras ao 0 0 30 6 k40 ap ao 4pa4 Th 232 MTB 96 29 2 BCI tea S357 4 126 2 7 3 Evaluation module NAJCALC The optional program module NAJCALC EXE allows the evaluation of Nal spectra the
30. 14 spectrum menu 21 view menu 18 Index 133 window menu 35 menu definition files 63 menu header 14 63 meter 57 miscellaneous menu 45 mode 20 monitor 47 winPROC monitor 47 MULPHA 20 multi channel scaling addition MCS ADD 20 multi channel scaling store MCS STO 20 multiply spectrum 38 N NAJCALC 116 efficiency calibration 119 evaluation 117 quality control 121 nanoSPEC 8 50 next ROI 58 no spectrum acquired 128 noise 28 nuclide database 49 activating database selection 49 editor 112 select nuclide database 15 0 offset 30 P peak search 41 48 peak search sensitivity 48 peaks 26 clear marked peaks 26 PHA pulse height analysis 20 plug in cards 7 dMCA card 7 polarity 30 pole zero 34 pop up menu 49 enable pop up menu 49 port number 52 preamp power 27 Pre defined internal variables 105 preferences 49 preset menu 41 preset mode 41 preset service 41 print menu 34 print spectrum 34 printer setup 34 PrintFormattedPage 115 program menu 14 Program winproc 105 pulse heigth analysis PHA 20 Q quality control 121 _R RAWDATA 20 realtime 52 register user 16 requirements 6 hardware and software requirements 6 rescaling x axis 39 ROI 58 deleting ROI 58 nextROI 58 setting ROI 58 zoom ROI 58 ROIs 24 a G save spectrum 23 save spectrum as 24 scroll bar 49 enable scroll bar 49 scrollbar 57 horizontal scrollbar 57 vertical scrollbar 56 search 41 peak search 41 Select
31. 3 7 7 Malfunction peak integration Possible sources of error Cause Solution No cursor within a ROI e To select a ROI for integration the cursor must be located within the ROI Marker lines are set e If two marker lines are defined the area within these marker lines will be integrated independent of cursor position Using webMCA The connection to a webMCA acquisition port can be initiated manually while winTMCA32 is running or automatically if winTMCA372 is started Select SPECTRUM gt SELECTTCP within the menu header to connect manually to the webMCA The following input box appears on the screen TCP Connection 3 Ioj x Window 2 e TCP Address i Remote spectrum fi If the IP address is entered the connection is activated by clicking the connect button If the connection was successful the dialog box will disappear automatically The IP address is stored and will be displayed within the selection list of the TCP Address field if the dialog is opened again If the menu header does not contain this menu item the following line has to be added to the menu definition file MENU DEF which can be found within the CONFIG directory SELECTTCP_S SELECTTCPSPECTRUM It is also possible to connect automatically when winTMCA372 is started Therefore the file PORTMAPPING TXT has to be added to the CONFIG directory For every webMCA device a new line consisting of the following format has to be added
32. 3 3 3 1 Real time Real s Dead s 600 0 1 2 Port number Portnumber lt a gt 1 Status Status STP Window Selection 1283465678 lt a gt 9 10 Tl 122 13 14 15 16 Count rate O 200 400600 8001000 i Count Rate cps Buttons wey La Poke AWD E Batch status m Window list Window list i nonamese Acquisition Menu This menu item as well as the following items are declared in the default menu definition file MENU DEF and can be specified by the user The default features in the acquisition menu are StopAll Start Starts the measurement on the selected acquisition port The port number is displayed in the icon object port number command START User manual winTMCA32 Operating winTMCA32 20 3 3 3 2 3 3 3 3 3 3 3 4 3 3 3 5 Stop Stops the measurement on the selected acquisition port command STOP Start All Starts the measurement on all available acquisition ports command STARTALL Stop All Stops the measurement on all available acquisition ports command STOPALL Mode Opens a window which enables you to change the data acquisition modes Select Acquisition Mode se PHA Depending on your acquisition hardware you can select the following modes e PHA pulse height analysis Every value is assigned to one channel The channel content is incremented by one if a corresponding signal is counted e STABIL corresponds to the PHA mode but within this mod
33. 32 menu header CHKPeak lt V1 gt lt N1 gt lt N2 gt lt V2 gt lt V3 gt Calculates the fine gain and offset values for energy calibrated spectrum lt V1 gt and assigns them to variables lt N1 gt and lt N2 gt Therefore you can enter two energy values lt V2 gt and lt V3 and the peaks found will be assigned to them If only one energy value is used lt V3 gt must be set to zero In this case the first peak found peak search is started from the right margin is set to the given energy lt V2 gt and the fine gain is calculated by pulling this peak to this energy ClearAllSpectra All spectra windows are cleared ClearChronometer lt V gt Resets one of the two chronometers lt V gt 0 1 of the winTMCA32 software back to zero The chronometer or stopwatch can be reset while running ClearNanoActSpec lt V gt This command erases data from the acquisition memory of the nanoSPEC connected to port lt V gt User manual winTMCA32 Batch files 70 ClearNanoTopSpec lt V gt Clears the spectrum which was saved at last from the spectra memory of nanoSPEC connected to port lt V gt ClearSpectrum lt V1 gt lt V2 gt lt V3 gt Clears the channel contents of the selected spectrum lt V1 gt 1 2 Optionally more than one spectrum can be erased at the same time lt V2 gt etc CloseExcel Worksheet Closes the excel worksheet opened with batch command OpenExcelWorksheet An example is given in the appendix CloseI
34. 3z2 has to be opened Time format is given by dd mm yyyy hh nn ss y gt year m month d gt day h gt hour n gt minute s gt seconds SetAcquisitionMode lt V1 gt lt V2 gt This command allows the changing of acquisition mode for port lt V1 gt lt V2 gt can be set User manual winTMCA32 Batch files 94 to the following modes PHA MCS MCSSTO LIST MULPHA1 MULPHA2 DUAL DOSIS STABIL and REMOTE SetAlarmParameter lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt An alarm threshold lt V4 gt for spectrum lt V1 gt can be defined parameter lt V2 gt enables V2 1 or disables V2 0 alarm lt V3 gt 1 0 enables or disables the acoustical alarm if acoustical alarm is activated a wave file can be specified by parameter lt V5 gt See also Meter SetBaseLineLength lt V1 gt lt V2 gt The hardware parameter baseline length of port lt V1 gt is assigned to lt V2 gt SetBGIntegrationChannels lt V gt Changes the number of channels which were taken into consideration for determining the background straight line with the alternative integration method By default five channels on the right and on the left integration margin are used SetBGStabilisation lt V1 gt lt V2 gt This command enables lt V2 gt 1 or disables lt V2 gt 0 the background software stabilisation on acquisition port lt V1 gt STABIL mode i e spectra are stabilised even if the system is not acquiring data Set
35. C lt V1 gt specifies the spectrum number The corresponding spectra path is used as a search path After finishing the dialog a 1 is assigned to variable lt N1 gt if a file was selected If the dialog is cancelled a 0 is assigned to lt N1 gt If selection was successful the filename is assigned to lt V2 gt and the file path to lt V3 gt SelectFile lt N1 gt lt N2 gt lt N3 gt lt V1 gt lt V2 gt lt V3 gt lt V4 gt This command displays the file open dialog box For declaration of parameters see SaveFileAs SendCOMChar lt V1 gt lt V2 gt Sends a single character lt V2 gt via a serial interface lt V1 gt Non printable characters are sent as hexadecimal numbers with 0x as prefix e g CR is sent with lt V2 gt 0x0D SendCOMString lt V1 gt lt V2 gt Sends a string lt V2 gt via serial communication port lt V1 gt The string is terminated by CR SendMessage lt V1 gt lt V2 gt lt V3 gt This command sends a windows information to all applications lt V1 gt declares the information number 4 byte lt V2 gt and lt V3 gt are information parameters If hexadecimal values were chosen as parameters they have to be marked with a 0x at the beginning SendNanoString lt V1 gt lt V2 gt This command sends line lt V2 gt to nanoSPEC on COM port lt V1 gt SetAcquisitionDate lt V1 gt lt V2 gt Presets the starting point lt V2 gt for acquisition on port lt V1 gt At this point the winTMCA
36. CA32 Operating winTMCA32 46 Ss 2 El LOAD Opens the default file selection box for loading an existing file to the editor The following selections can be made e batch file extension WPB e temporary file extension NF e menu definition extension DEF e gain table extension GTB e spectrum extension SPC e text file extension TXT VAR DAT menu command FILE gt LOAD SAVE This dialog enables you to save the editor content by using a chosen file name and selected path menu command FILE gt SAVE PRINT Prints the editor text via default printer menu command FILE gt PRINT SEARCH Searches for strings within the editor text UNDO Undoes the last change RELOAD MENUS This option is only available if menu definitions are created If the menu definition file which is already used by winTMCA32 is changed by the customer this command reloads the menu definition file Please note that the changed file must be saved before The actual cursor position is shown in the display field using the format LINE COLUMN If you create a batch file and enter more than two characters to the editor a selection list containing all available commands appears You can enter these commands by pressing the RETURN 4 key If the command is entered completely the required parameters are displayed 90 ClearSpectrum 1 91 PresetLivetime 1 Messzeit 92 Sta 93 Get HETTE 94 Gen St
37. Channel lt V1 gt lt V2 gt lt V3 gt lt V4 gt Sets the content of channel lt V3 gt of sub spectrum lt V2 gt of spectrum lt V1 gt to value lt V4 gt SetCoarseGain lt V1 gt lt V2 gt Changes the hardware parameter coarse gain of acquisition port lt V1 gt to any value lt V2 gt SetCOMOutputLine lt V1 gt lt V2 gt This command enables you to set or reset DTR and RTS output of COM port lt V1 gt lt V2 gt can be set to the following values CLRDTR refers to reset DTR SETDTR to set DTR CLRRTS to reset RTS and SETRTS to set RTS SetCompensationAmplitude lt V1 gt lt V2 gt The hardware parameter compensation amplitude of port lt V1 gt is set to value lt V2 gt SetCompensationDecay lt V1 gt lt V2 gt Sets the hardware parameter compensation decay from acquisition port lt V1 gt to value lt V2 gt SetConversionGain lt V1 gt lt V2 gt The hardware parameter conversion gain of port lt V1 gt is set to lt V2 gt SetCursorPosition lt V1 gt lt V2 gt The cursor in spectrum window lt V1 gt is set to channel lt V2 gt SetDeadTime lt V1 gt lt V2 gt This command sets the dead time of spectrum lt V1 gt to value lt V2 gt in seconds User manual winTMCA32 Batch files 95 SetDetectorLimit lt V1 gt lt V2 gt Sets the HV limit lt V2 gt for the detector on acquisition port lt V1 gt The HV value can not be set to a value higher than this limit SetDLLBoolean lt V1
38. Date CustomTimeWaitComString lt V1 gt lt N gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt lt V6 gt Analogous to the WaitComString command but enables the user to modify the waiting time for response lt V3 gt is the string which is sent to the device on com port lt V1 gt The User manual winTMCA32 Batch files 71 waiting time is set by lt V4 gt and lt V5 gt where lt V4 gt gives the minutes and lt V5 gt the seconds The maximum waiting time is 1 minute 59 seconds The parameter lt V6 gt is optional If lt V6 gt is set to 1 then a CHR 10 is sent at the end of the string For lt V4 gt every text is accepted as an answer DataInput lt V1 gt lt V2 gt Displays a user defined input dialog with caption lt V1 gt which allows assignment of values to variables located in a temporal file i e the temporary copy of the batch file being serviced The variables must be predefined in a file lt V2 gt standard extension VAR This file must have the following structure High Voltage V HY vcr Coarse Gain Gain vcr Acquisition Time 100s Time1 vcr 1 Acquisition Time 200s Time2 vcr 1 Weight kg Weight vcb 91 92 First a description text which will be displayed must be given then the name of the variable from the temporary file of the batch At last the attributes for the assigning values These attributes can contain a maximum of four characters which must be listed without spaces between th
39. EIT GEWICHT 33333 21 7 2003 17 12 00f a7 ool 1 2 3 4 These values can also be transferred using the batch command InsertItemInExcelWorksheet OpenExcelWorkSheet C Oktober 13102003 xls results 1 Insertiteminexcelworksheet PROBE 1020 Insertiteminexcelworksheet Datum 11 10 2003 Insertiteminexcelworksheet ZEIT 16 47 00 IncrementExcelWorkSheetRow Insertiteminexcelworksheet PROBE 1030 Insertiteminexcelworksheet Datum 11 10 2003 Insertiteminexcelworksheet ZEIT 16 48 00 IncrementExcelWorkSheetRow Insertiteminexcelworksheet PROBE 1040 Insertiteminexcelworksheet Datum 11 10 2003 Insertiteminexcelworksheet ZEIT 16 48 00 CloseExcelWorkSheet The resulting excel file looks like this A B C 1 PROBE Datum ZEIT 2 1020 11 10 2003 16 47 00 3 1030 11 10 2003 16 48 00 4 1040 11 10 2003 16 46 00 5 Example for a startup batch file Within the following batch file as comment is written in front of a command These comment lines start with a Maximize winTMCA to screen SetScreenState 2 Show spectra window 1 ShowWindow 1 Set the spectra window size WindowFrame I 1 1 98 98 Make energy calibration on spectra window 1 I channel IkeV User manual winTMCA32 Appendix 126 7 4 5 EnergyCalibration 1 1 1 Set X unit to keV on spectrum window I SetXUnit 1 keV Setup acquisition hardware If you don t want to use this section use character to mark the following lines as comment Set HV SetHV 1 HV Se
40. ELECT FROM LIST a dialog window opens which enables you to select one or more spectra windows from the list Select from list Equal scaling Overlayed spectra Window 1 Cea al The spectra corresponding to the selected windows are displayed with a relative scaling This serves to compare spectra with significant different channel contents When you select EQUAL SCALING the overlaid spectra are displayed having the same y axes scaling as the actual one If overlayed spectra are printed out the names of the overlayed spectra are listed after the User manual winTMCA32 Operating winTMCA32 61 3 6 printout ATTENTION Only spectra having the same length can be overlaid SPECTRUM SETTINGS Opens the dialog for spectrum settings SHOW ENERGY CALIBRATION When this menu item is activated the energy calibration function is displayed within the spectrum window instead of the spectrum provided that an energy calibration was carried out SELECT BACKGROUND COLOR Opens a dialog box for color selection in which the background color for the spectra window can be chosen 3D This menu item allows the plane display of a two dimensional spectrum on the screen This menu item is only available if more than one sub spectrum is defined for the actual spectrum This option must be enabled by a special winTMCA3 2 series number EDIT CHANNEL CONTENTS If the vertical and horizontal scroll bars are activated and the display mode C
41. Net Background CPS Nuclide By Data Base i PPO a Count Rate 161104 354356 186539 11625 36 Cs 1377 18515 54 NUCLIDE DB Operating winTMC A32 36 Integrates the area within a ROI or between 2 marking lines if the position marker is within the area which has to be integrated The first page of the result window is shown on the left In the channel area the centroid corrected by background is displayed also the full width of half maximum FWHM the full width of tenth maximum FWTM and the integration area If an energy calibration was done before the results for the corresponding energy units are also given below On the second page the number of net events which means the background corrected area the number of background events BACKGROUND the number of total events GROS and the net count rate CPS in counts per second are displayed If the peak centroid lies within the range of a peak energy of one of the nuclides in the selected nuclide data base the name of the nuclide will be displayed Therefore it is required that the CHECK field of this line in the nuclide database is activated The Bq field shows the activity calculated from the net count rate the efficiency factor of the nuclide database line was taken into consideration User manual winTMCA32 Operating winTMCA32 37 In the symbol bar the following functions are given amp Prints the
42. ORTECSpectrum lt V1 gt lt V2 gt Saves spectrum lt V1 gt 1 2 to the spectra directory using filename lt V2 gt and ORTEC format If lt V2 gt is set to the file name will be set to its spectrum name default User manual winTMCA32 Batch files 93 NONAME SPC SaveSpectrum lt V1 gt lt V2 gt lt V3 gt lt V4 gt Saves spectrum lt V1 gt 1 2 using file name lt V2 gt to the spectra directory If lt V2 gt is set to the file name will be set to its spectrum name default NONAME SPC If there are any sub spectra defined the range of sub spectra can be set with the optional parameters lt V3 gt and lt V4 gt sub spectra from lt V3 gt to lt V4 gt will be stored If all sub spectra should be stored lt V3 gt and lt V4 gt must be set to 1 SaveVar lt V1 gt lt V2 gt Stores the actual values of specified variables to a file lt V2 gt Before using this command the variables that are to be stored must be specified in a declaration file lt V1 gt For the structure of this file see DataInput All variables will be stored in the same format as in temporary files SelectSpectrumFile lt N1 gt lt N2 gt lt N3 gt lt V1 gt lt V2 gt lt V3 gt lt V4 gt This function calls up the file open dialog box for loading a spectra file The caption of the window is determined by lt V2 gt Parameter lt V3 gt fixes the file type i e spectra file lt V4 gt the default file extension i e SP
43. OUNTS was selected for the y cursor an input form is opened which enables you to specify the channel contents of the cursor channel The changes must be confirmed by pressing the ENTER 1 key LOG file All user actions done by menu commands or buttons are recorded in the LOG file supplied with date and time The file is created each day within the CONFIG directory and uses the format LOGddmmy TXT dd day mm month y last number of the year LOG files which are older than seven days are erased automatically Additionally all exceptions and all executed batch file commands can be recorded In order to activate this function you have to use the batch file command SetWinprocDebug Chapter Changing graphical user interface User manual winTMCA32 Changing graphical user interface 63 4 4 1 4 2 Changing graphical user interface In this section the menu files and button files which enable you to adapt the functions of the winTMCA32 software are described You can use these files in connection with the user administration and for creating user profiles Adapting the menu header Adapting the buttons Adapting the menu header If the user administration is not activated the menu definition file MENU DEF in the CONFIG directory is used for the menu header definitions when winTMCA372 is started If user administration is active individual menu definition files can be assigned to the users Those files will be loaded au
44. PCConnection Closes the connection opened with batch command OpenIPCConnection CloseMessageWindow This command closes a message window created by the command ShowMessage CloseWinTmca This command terminates winTMCA32 ConfigCOM lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt Enables the configuration of a serial interface lt V1 gt 1 2 for communication with an external device The parameters can be set to standard values e g Baud Rate lt V2 gt 1200 2400 9600 14400 19200 etc parity lt V3 gt N None O Odd E Even bits per character lt V4 gt 7 or 8 and stop bits lt V5 gt 1 or 2 ConnectMCSAuxSpectrum lt V1 gt lt V2 gt If mcs mode is used the mcs spectrum of spectrum lt V1 gt will be displayed in spectrum lt V2 gt see also DisconnectMCSAuxSpectrum ConnectUDP lt V gt Connects spectrum lt V gt with the acquisition port server given by the command SetPortUDPInfo ConvertDate lt N gt lt V gt Converts the date given by lt V gt format DD MM YYYY into a real number the integer part gives the number of days since 1899 the decimal places the time as a fraction of the actual day The result is assigned to variable lt N gt ConvertDateTime lt N gt lt V gt The date time given by lt V gt format DD MM YYYY HH NN SS is converted to real format see ConvertDate ConvertTime lt V gt The time given by lt V gt format HH NN SS is converted to real format see Convert
45. R 1442 67 NWG 1278 71 ERRORREL 34 10 NETCOUNTS 444 HLT 262700 EFFICIENCY 0 001654 NETSUM 11026 51 ERRORSUM 1928 29 For each nuclide NUCLID the total activity NET in Bq the gross activity GROS in Bq the activity error of the total activity ERROR in Bq the minimum detectable activity NWG in Bq the relative activity error of the total activity ERRORREL in and the User manual winTMCA32 Appendix 119 7 3 2 number of net events for all gamma peaks of the nuclide NETCOUNTS are given For additional information the half life time in seconds HLT and the efficiency factor of the last evaluated nuclide line are given If a net activity was calculated one or more lines precede the result line depending on the gamma peaks selected in the nuclide database where the centroid CENTROID in keV the centroid error CENTROIDERROR in keV as well as the full width of half maximum FWHM in keV are displayed In the last line of the NAJCRES TXT file the total activity of all nuclides identified NETSUM in Bq and the error of this total activity ERRORSUM in Bq are displayed In order to use the results in winPROC batch files the command line READSAMPLERESULTS NAJCRES TXT can be used This command is used to assign variables of a temporal winPROC file to all data In order to generate a printout of the results afterwards the command PRINTFORMATTEDPAGE lt Layout file gt lt temporary file gt can be used Effi
46. SetDIlString DLLFloatPercentageX displays the contents of the floating point memory cell number X 1 2 64 displayed as percentage beam The 100 reference value is the value set by the command SetDLLFloatMaxValue for the corresponding memory The beam display changes by default from green to red when the value exceeds 90 You set this threshold with the command SetDLLFloatPercentageAlarm DLLBooleanX shows the contents of the boolean memory cell number X 1 2 64 as control lamp see SetDLLBoolean If the memory value is 0 false the control lamp is dark green if the value is 1 true light red Time displays the continuous time Now displays date and time continuously ChronoX displays the chronometer with number X 0 1 see also StartChronometer StopChronometer The information window is updated every second Chapter Nuclide database editor DBEDIT TXT User manual winTMCA32 Nuclide database editor DBEDIT TXT 112 6 Nuclide database editor DBEDIT TXT You adapt the present nuclide databases or create new ones with the nuclide database editor DBEDIT EXE Icon opens an already existing database icon B creates a new one With the cursor keys or icons E each nuclide can be listed one after the other Icon Mf serves to erase the displayed nuclide from the database Icons 7i ti append respectively erase a peak In order to find a peak with a special energy the energy can be entered into the search
47. StopLoopTimer StopAcquisition lt V1 gt lt V2 gt lt V3 gt Stops spectrum acquisition on port lt V1 gt More than one spectrum can be stopped if the optional parameters lt V2 gt lt V3 gt are given StopChronometer lt V gt This command stops the internal chronometer lt V gt The chronometer is started with the batch command StartChronometer StopLoopTimer Terminates the repeated execution of the loop batch LOOP WPB which was started with the batch command StartLoopTimer StrCat lt N gt lt V1 gt lt V2 gt lt V3 gt lt V4 gt Joins two strings lt V1 gt and lt V2 gt together the result is assigned to variable lt N gt Optionally more than two strings can be specified User manual winTMCA32 Batch files 103 StrCopy lt N gt lt V1 gt lt V2 gt lt V3 gt A part of string lt V1 gt is assigned to variable lt N gt The starting position is given by parameter lt V2 gt the number of characters to be copied by parameter lt V3 gt StrDelete lt N gt lt V1 gt lt V2 gt lt V3 gt Characters in string lt V1 gt are deleted starting from position lt V2 gt The number of deleted characters is given by lt V3 gt The result is assigned to variable lt N gt StripExtension lt N gt lt V gt The extension of file name lt V gt is erased the result is assigned to variable lt N gt StrLength lt N gt lt V gt The number of characters in string lt V gt is assigned to variable lt N
48. TM winTMCA 32 IVA technologies D winTMCA32 SUPERVISOR 10 Program View Acquisition Spectrum Hardware Print Window Compute Preset Misc Real s Dead 21 Ponnu ea Status 2 3 4 5 6 7 8 All o 200400600 8001000 lt sp 9 onrus Y EEEE T d a boxe woal PHA SPC 1 1 0 SAMPLE1K SPC PL 10 ROI 3 314 375 606 23 718 30 kev Centroid 661 68 ke al 500 00 FWHM 45 58 6 9 kelv Net 151407 46 Counts vy Test Count Rate 11646 73 CPS aA 1 500 00 hm X keV 661 5 winTMCA 32 en 1 2 3366 May2009 winTMCA 32 User Manual a TM AEA technologies This document is changed in accordance with the ICx Radiation Quality Management system Changes are archived Revision winTMCA 32 en 1 2 3366 May2009 Product winTMCA 32 Language English en Version 1 2 3366 Latest Change May 08 2009 at 14 33 UTC 0200h ICx is a trademark of ICx Technologies Inc ICx Radiation is a trademark of ICx Radiation Inc All other trademarks belong to their respective holders Copyright 2009 ICx Technologies Inc All rights reserved winTMCA 32 en 1 2 3366 May2009 User manual winTMCA32 Contents Contents Chapter 1 1 1 1 2 1 3 1 4 1 4 1 1 4 1 1 1 4 2 1 4 2 1 1 4 2 2 Chapter 2 Chapter 3 3 1 3 2 3 3 3 3 1 3 3 1 1 3 3 1 2 3 3 1 3 3 3 1 4 3 3 1 5 3 3 1 6 3 3 1 7 3
49. V1 gt lt V2 gt Pre sets acquisition time lt V2 gt in seconds real number of an acquisition port lt V1 gt The accuracy of time preset depends on hardware and is within the range of 100 ms and Ims See also Preset Menu gt Services in the winTMCA32 menu header Print lt V1 gt lt V2 gt lt V3 gt lt V4 gt String lt V2 gt read from file lt V1 gt in the CONFIG directory can be displayed for a certain time lt V3 gt in seconds in the status bar at the bottom of the winTMCA32 program window If an optional text lt V4 gt is defined lt V4 gt will be attached to lt V3 gt separated by a space If lt V2 gt is set to zero the filename given by lt V1 gt will be ignored and only the optional text lt V4 gt will be displayed PrintFormattedPage lt V1 gt lt V2 gt This command enables the customer to create customized single or multi page printouts The layout is specified in the layout file lt V1 gt If any variables of the temporary copy of the batch file should be used in the printout the name of the temporary file must be specified as parameter lt V2 gt e g If the batch is running on port 1 the name of the temporary copy is PORT_01 INF BEGINHEADER Defines the beginning of a command block appearing at the top of each page ENDHEADER Defines the end of the page header block It is possible to define headers at any place in the layout file Older header settings are replaced on the pages after definit
50. V2 gt OpenExcelWorksheet lt V1 gt lt V2 gt lt V3 gt This command opens an excel worksheet lt V1 gt sets the name including path of the excel file and lt V2 gt the name of the worksheet Setting parameter lt V3 gt to 1 means that the excel file is opened if it is already existing lt V3 gt 0 will delete the existing file If the excel file is opened you can insert values using the batch commands InsertItemInExcelWorkSheet or ImportInExcelWorkSheet In the appendix you find an example for inserting values into an excel file OpenIPCConnection Opens the connection to the server program lt V gt If the connection was opened succesfull the variable lt N gt is set to 1 otherwise it is set to 0 Please note that the program lt V gt has to be already opened when you use this batch command You can open the program using the command WinExec OverwriteString lt N gt lt V1 gt lt V2 gt lt V3 gt This command overwrites a string given by lt V1 gt with another string lt V2 gt The result is assigned to variable lt N gt Normally lt V2 gt is placed at the beginning of lt V1 gt If the command line contains the optional parameter lt V3 gt R the text is seated on the end of the original string PeakSearch lt V1 gt lt V2 gt Enables the peak search for spectrum lt V1 gt This function tries to find peaks within the spectrum channel per channel via gauss fit The peak search sensitivity is set by parameter
51. a file was found the name of the file is assigned to variable lt N2 gt and a 1 is assigned to variable lt N1 gt If no such file exists a 0 is assigned to variable lt N1 gt If more files having the attribute lt V2 gt exist they can be given out by the command FindNext FindNext lt N1 gt lt N2 gt For the next file having the attributes given by the command FindFirst is searched If the search was successful a 1 is assigned to variable lt N1 gt and the name of the file is assigned to variable lt N2 gt If the search was not successful a 0 is assigned to variable lt NI gt FloatingMeanValue lt N gt lt V1 gt lt V2 gt lt V3 gt With this command you can use one of the ten memory cells reserved for mean values User manual winTMCA32 Batch files 76 lt V1 gt 1 10 in order to evaluate a floating mean value for acquisition values etc The mean value of the last lt V2 gt values is evaluated In order to initialize memory cells the number of the values to be evaluated must be given by lt V3 gt 3 20 the starting value is lt V2 gt If the function is called up again without the declaration of parameter lt V3 gt a new mean value is evaluated The respective mean value is assigned to variable lt N gt FormatDateTime lt N gt lt V1 gt lt V2 gt The date or time information given by lt V2 gt is set to format lt V1 gt and written to variable lt N gt You can use the following formats dd Day
52. a nanoSPEC the file must have the following lines r 0 p 1 N 384 c refers to the COM port number to which the nanoSPEC is connected for example for COM1 2 for COM2 etc Technical data User manual winTMCA32 Introduction Size 117 mm 62 mm Power 4 batteries storage batteries type AA LR6 1 2 1 8 V Spectroscopy resolution 512 2048 channels specifications differential Nonlinearity 1 over 98 of the channels integral Nonlinearity 0 05 over 98 of the channels spectra memory 16 spectra 1024 channels Amplifier 1 us shaping time gain software selected x1 4 High voltage software selected 50 to 1200 V Chapter Software specifications User manual winTMCA32 Software specifications 11 2 Software specifications The MCA software winTMCA32 has the following attributes display of 1 64 spectra windows at maximum 4 000 000 channels per spectrum depending on RAM 32 bits per channel signed that means the maximum range of the channel contents is 2147483647 2147483648 x axis calibration with a polynome in the at maximum fourth degree linear logarithmic and inverse square scaling of the channel height axis spectra manipulation add subtract multiply divide smooth and rescale channels using a polynome in the at maximum second degree spectra evaluation integration via gauss fit peak search definition up to 128 ROIs regions of interest for each spectrum selecta
53. ables you to subtract a spectrum from the spectrum in the actual window channelwise You select the spectrum to be added by typing in the spectrum number or by using the cursor buttons command SUBTRACTSPECTRUM WS pectrum Manipulation Spectrum 1 Spectrum 2 v 3 3 8 4 Multiply spectrum If you use this command the channel contents of the spectrum displayed in the active window are multiplied by a chosen factor This factor can be a floating point value but the resulting channel contents are rounded up Use the cursor buttons to select the factor or type it in directly The acquisition times are also multiplied command MULTIPLY SPECTRUM User manual winTMCA32 Operating winTMCA32 39 Fs pectrum Manipulation Addto Subtract from Multiply Divide Rescaling X Axis Spectrum 1 3 3 8 5 Divide spectrum This command divides the spectrum in the active window through the chosen spectrum The division is executed channelwise If you divide through 0 the result is also 0 The resulting channel contents are multiplied by the result factor and rounded up command DIVIDESPECTRUM F Spectrum Manipulation _Addto Subtract from Multiply Divide Rescaling X Axis Spectrum 1 by Spectrum 2 v Resultfactor 3 3 8 6 Rescaling x axis This command rescales the channel axis of the active spectrum The channel contents are distributed corresponding to the rescaling function This function is a
54. an only be selected but the customer is not able to enter new values DBSetNuclideTestFlag lt V1 gt lt V2 gt lt V3 gt You can activate lt V3 gt 1 or deactivate lt V4 gt 0 the CHECK flags of nuclide lt V2 gt in the nuclide database lt V1 gt Activated flags are taken into consideration by the representation of nuclide names at cursor position in the spectrum window and by the evaluation of spectra with the optional module NAJCALC DDEChangeTopic lt V gt Sets the TOPIC preferences for connection to DDE server to value lt V gt see DDEConnectServer DDECloseConnection Closes the DDE connection to server Connection is opened using the command DDEConnectServer DDEConnectServer lt N gt lt V1 gt lt V2 gt lt V3 gt This command opens a DDE dynamic data exchange connection to another windows program which is used as DDE server This default windows communication channel allows the client here winTMCA3z2 to read items from the server side and to change them You can also transmit makro commands if this is allowed by the server In order to set the connection the program path must be entered by lt V1 gt and the name of the server program by lt V2 gt The parameter lt V3 gt is optional and allows to declare the topic parameter for DDE connection case sensitivity This serves to select more item plains if this is supported by the server If lt V3 gt is not used lt V3 gt is set to it s default value
55. and OpenExcelWorksheet Here you will find an example for inserting values into an excel file IncrementSpectrumName lt V gt This command increments the file extension of spectrum lt V gt by one if it consists of numbers InsertItemInExcelWorksheet lt N1 gt lt N2 gt This batch command inserts value lt N2 gt into column lt N1 gt where lt N1 gt gives the name of the column Before you are able to insert values you have to open the excel worksheet using the command OpenExcelWorkSheet If you want to insert more than one value into one column you have to increment the row number using the batch command IncrementExcelWorksheetRow In the appendix you will find an example for inserting values into an excel file Integrate lt V1 gt lt N1 gt lt N2 gt lt N3 gt lt N4 gt lt N5 gt lt V2 gt lt V3 gt The peak area that means the number of counts with considered background is evaluated The spectrum number is given by parameter lt V1 gt To fix integration margins the energy lt V2 gt for a channel within the ROI can be given or the left lt V2 gt and right lt V3 gt margins of the integration area The peak centroid is assigned to variable lt N1 gt the full width of half maximum FWHM to lt N2 gt the net area corrected by background to lt N3 gt the gross area to lt N4 gt and the number of background events to User manual winTMCA32 Batch files 85 lt N5 gt If there was no energy calibration for
56. ans a spectrum with 512 channels 0 a spectrum with 2048 channels Please note that the spectrum length can be set independently of conversion gain If the spectrum s length is smaller than the conversion gain it will not be possible to display the whole spectrum acquired Thus the spectrum length should equal the conversion gain NOISE Noise defines which of the signals registered are events and which are noise Only events which give a higher voltage value than the noise value will be registered In principal NOISE works like LLD but events beyond the noise level are not considered for the dead time and base line calculations The higher the value the bigger the noise level which has to be surpassed by a signal in order to be registered as an event User manual winTMCA32 3 3 5 3 Gain Hardware Setup Port 1 scintiSPEC COM High Voltage Gain Coarse Gain Polarity Fine Gain a ULD Stabilisation Monitor A Yy Operating winTMC A32 30 COARSE GAIN Sets up the coarse gain for the acquisition hardware The adjustment range depends on the hardware type If more adjustment ranges exist you can choose between them You select the desired gain factor by clicking on it or by clicking the cursor keys on the right margin POLARITY only dMCA This option enables you to adapt the acquisition hardware to the polarity of the detector signals You can recognize the expected polarity on the LED colo
57. artChronometer 6h BS 95 Set StartLoopT imer Via 96 Get an oa User manual winTMCA32 Operating winTMCA32 47 The menu command INFO displays the version of the operating system and the program version of the editor 3 3 10 2 WinPROC Monitor Opens a window which enables you to observe the execution of batch files and control them stepwise command SHOWWINPROCMONITOR For detailed description of the winPROC monitor see Program winPROC 3 3 10 3 WinPROC Error Wait This input form enables you to influence the behavior of the error message window The default value is ENTER which means that the error message waits during batch file execution until you confirm by clicking the OK button Alternatively you can choose values between and 5 seconds In this case the message is only displayed for the selected time and disappears automatically command ERRORWAITTIME Enter g 3 3 10 4 Execute Batch Opens a dialog box which enables you to execute batch files to continue or cancel their execution Batch file commands can be entered command WINPROC User manual winTMCA32 Operating winTMCA32 48 winPROC Batch Control New Continue Terminate Execute Batch S TART Portnumber e NEW In the field BATCH you type in the name of the batch file or select one by clicking the folder symbol until a file selection box appears You enter the port number corresponding to the batch file to the PORTNUMBER field Yo
58. ate the minimum detectable activity for the corresponding energy range within the spectrum the statistical error from the spectrum and from the background spectrum is used The efficiency calibration for the corresponding energy is taken into consideration The default value of lo vN whereby N refers to the number of total events in the integration area The error of the given activity results from the statistical error of the net area default 1 and the efficiency calibration error For evaluation the following command line parameters are possible Command line parameter Function d lt Nuclide database gt Determines the nuclide database that is used during spectrum evaluation The name of the database must be entered without file extension and without specifying a file path The search path is the NUCDATA subdirectory located in the winTMCA3 directory s lt n gt n states the number of the spectrum being evaluated User manual winTMCA32 Appendix 118 b lt n gt n refers to the number of the spectrum window where the background spectrum is located optionally w lt f gt The parameter f creates an energy window around the desired peak energy Peaks lying within this window are identified The window width is f keV optionally default 3 0 keV f lt f gt This factor can be used to normalize the results e g to calculate the activities with regard to a weight Bq kg etc The results are divided through this
59. ation If you use scintiSPEC please note that stabilization is activated or deactivated by the command SetStabilisationParameter AcquisitionStatus lt N gt lt V gt This command checks if there is an active acquisition on port lt V gt 1 2 If acquisition is active a 1 is assigned to variable lt N gt otherwise a 0 If you want to know if a batch is active at the moment use the batch command CheckBatchActive AddLoopTask lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt Adds Batch lt V1 gt to the list of batches to be continuously repeated lt V2 gt sets the port number lt V3 gt the time interval in seconds between the executions as a real number With parameter lt V4 gt a starting point can be set using the format dd mm yyyy hh mm ss With lt V5 gt an additional parameter for calling up the batch file can be given as for example e AddSecondsToDate lt N gt lt V1 gt lt V2 gt Adds an amount of seconds lt V2 gt to the value of variable lt V1 gt and assigns the result to a new variable lt N gt Variable lt V1 gt must have the following format dd mm yy hh nn ss Each time unit must consist of two characters AddSpectrum lt V1 gt lt V2 gt The counts of each channel of spectrum lt V1 gt are added to the corresponding channel of spectrum lt V2 gt The command is only executed if both spectra have the same length AddVariable lt V1 gt lt V2 gt lt V3 gt lt V4 gt Variable lt V2
60. ble nuclide database for online display within the spectrum nuclide database editor acquisition modes PHA pulse height analysis MULPHA multiple PHA STABIL stabilized MCS multi channel scaling DOSIS DUAL RAWDATA WINDOW LIST pre set acquisition time depending on real time dead time corrected acquisition time live time total count rate channel maximum next channel MCS user configurable menu headers and buttons user administration protected by pass word configuration is stored i e window sizes positions etc in the windows registry setting up acquisition hardware parameters integrated interpreter to build user specific program and acquisition runs containing the following functions o usage of variables conditioned instructions IF THEN ELSE FOR loops calculator function ASCII communication via serial interface with any advice DDE communication with other programs configurable menu inputs screen respectively printer outputs using ASCII layout files o parallel execution of maximum 64 batch files editor to create and alter batch files spectra etc ROI evaluation module containing efficiency consideration for Nal detectors 3D display of two parametric spectra matrices O O 0 O O 0 0 depending on acquisition hard ware in preparation optional Chapter Operating winTMCA32 User manual winTMCA32 Operating winTMCA32 13 3 3 1 3 2 Operating winTMCA32 In
61. bspectra of spectrum lt V gt to variable lt N gt GetPresetTime lt N gt lt V gt Assigns the maximum acquisition time for port lt V gt given by batch commands PresetLivetime or PresetRealtime to variable lt N gt GetPZExternal lt N gt lt V gt Assigns the value of hardware parameter pole zero PZ external of acquisition port lt V gt to variable lt N gt GetRealTime lt N gt lt V gt Assigns the acquisition time real time of spectrum lt V gt to variable lt N gt GetROIInfo lt N1 gt lt V1 gt lt V2 gt lt N2 gt lt N3 gt lt N4 gt lt N5 gt This command gives information of ROI lt V2 gt 1 2 128 in spectrum lt V1 gt If the ROI is not defined lt N1 gt is set to 0 otherwise to 1 A ROI is defined with the batch commands DefineEnergyROI or MkNaIROL The following parameters are assigned left margin lt N2 gt right margin gt lt N3 gt ROI color gt lt N4 gt If histogram mode is set a 1 is assigned to variable lt N5 gt otherwise a 0 GetSDate lt N gt Assigns the actual date to a string variable lt N gt with the following format ddmmy d gt day m month y gt year GetSerialNumber lt N gt lt V gt The serial number from the acquisition device on port lt V gt is written to variable lt N gt GetServiceMode lt N gt lt V gt The PRESET mode for acquisition port is assigned to variable lt N gt The values assigned are value preset mode 1
62. checking box You enter the threshold to the THRESHOLD CPS field by typing in or using the cursor buttons Values above this threshold will start the alarm In this case the LED on the bottom left margin of the meter changes its color from dark red to light red Additionally a WAV file from the CONFIG directory can be selected in the SOUNDFILE field which will be rendered if the count rate limit is exceeded In order to use this function a sound card with adapted speakers is necessary Alarm function Window 1 M Alarm Thresholdi CPS C Sound Souncfile Text window The text window number 5 in figure spectrum window can only be activated or changed with the help of batch files batch file command SETSPECTEXTWINDOW Clicking onto the text window spreads it to its maximum size which is the whole size of the User manual winTMCA32 Operating winTMCA32 58 spectrum window Clicking again resets the window size 3 5 7 Spectrum window context menu When you click the right mouse button a context menu pops up which allows the following selections and setups Grid gt Channel lt gt XUnit ROI Cursor Y Axis Meter Display real live time Show min max values Overall view of spectrum Disable Scrollbar Overlay windows gt Clear Spectrum Spectrum Settings Show actual subspectrum Show energy calibration Select background color Edit channel contents T O T ek e GRID When you use this menu item
63. ciency Calibration The efficiency calibration is necessary to determine the energy depending efficiency of the whole acquisition port which depends on sample geometry positioning in front of the detector and the detector itself The efficiency calibration must be repeated only if the geometry or the calibration source are changed or the quality control deviations are too large One of the possible reasons for these deviations might be that the detector is too old The calibration refers to a nuclide database in which the entries for the efficiency of each peak is re evaluated after successful realization Therefore every geometry needs its own nuclide database For spectrum evaluation in the actual spectrum window of winTMCA32 the following command line parameters are recommended respectively possible Command line parameters Function C Starts NAJCALC in the calibration mode d lt nuclide database gt Specifies the name of the nuclide database to be calibrated optional the database can be selected interactive User manual winTMCA32 Appendix 120 p lt calibration source Specifies the name of the parameter file to be used parameter file gt containing the activities of the calibration source used The file name must be given without path but with file extension default PAR optional the file can be selected or created interactive b lt n gt n specifies the number of the background spectrum taken into consideration o
64. ctive user administration If the user administration is used all button definition files must have the format B DEF to distinguish them from menu definition files User manual winTMCA32 Changing graphical user interface 64 Button definition files are ASCII files that can be created and altered using the winTMCA3 editor for example The registers must have the following format m bitmap filename command text m is the button number Values are available from 1 12 whereby the position number within the icon object is fixed The bitmap file refers to a file from the CONFIG directory which must contain the desired bitmap The bitmap size for one button must be 28 x 28 pixels whereby three bitmaps must be given for the modes not pressed deactivated and pressed so the effective size is 28 x 84 pixels In the figure above the SETUP BMP bitmap from the CONFIG directory is displayed command must be one of the internal menu commands a batch file or a windows program the complete program name and if required the path must be given text is an optional text which will be displayed if the mouse is dwelled on the button This text should be set between quotation marks if it contains blanks Chapter Batch files User manual winTMCA32 Batch files 66 5 5 1 Batch files When you use batch files you can specify acquisition executions including interactive data input communication with external acqui
65. d will therefore lead to an exception The exception message will be displayed on the screen Try SetPar testvariable 10 Except StrCat Line Exception ExceptionMessage ShowMessage Dummy 0 0 Line EndTry VARIABLES Line s Wait lt V gt This command stops the execution of a batch file for a given time lt V gt in seconds also fractions of seconds can be given WaitCOMString lt V1 gt lt N gt lt V2 gt lt V3 gt The text line lt V3 gt is sent via serial interface lt V1 gt 1 2 whereby automatically a CR is appended to the line The interface must have been initialized earlier using the command ConfigCOM The function waits for a maximum of 30 seconds for an answer from COM port lt V1 gt which must correspond to the answering text lt V2 gt The answering text must be terminated with a CR For lt V2 gt every text is accepted as an answer The received answer is assigned to variable lt N gt WindowFrame lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt The position and size of spectrum window lt V1 gt within the spectrum display window is defined lt V2 gt and lt V3 gt give the x respectively y position and lt V4 gt lt V5 gt the window width resp window height in percent of the display area WinExec lt V1 gt lt V2 gt lt V3 gt The external program lt V2 gt which is located in the directory lt V 1 gt full path is started lt V3 gt must be set to SHOWNORMAL WinProc lt V gt
66. displayed in red If you press the button of a spectrum which is visible but not the actual window it becomes the actual window When the button is pressed again the window is deactivated When an acquisition port corresponds to a spectrum and the acquisition is active the background color of the corresponding window button changes to yellow Clicking the cursor buttons on the right displays the window buttons of the remaining windows User manual winTMCA32 Operating winTMCA32 53 3 4 5 3 4 6 The buttons can be operated alternatively with the help of the keyboards The upper eight visible buttons refer to the keys 1 8 the bottom keys to the keys ff 1 8 T2 2Se4 8S eso A onI F This object is available in the winTMCA32 Toolbar Count rate This object displays the complete count rate of the actual acquisition port The display area is changed automatically If an acquisition for this port is active you can select between logarithmic and linear display O 200 400600 8001000 Count Rate cps This object is available in the winTMCA32 Toolbar Buttons You configure the object BUTTONS analogous to the menu bar by editing the corresponding configuration file This configuration file depends on user name if user administration is activated 12 buttons can be defined at maximum The default configuration which is available after installing the software is now explained Starts acquisition on the actual acquisition po
67. e lt V gt which must be located in the CONFIG directory The variables NUCLID NUCTYPE and NUCPERC were read out and assigned to the temporary PORT_xx INF file where they are incremented automatically e g NUCLID1 NUCTYPE1 NUCPERC1 NUCLID2 NUCLID gives the nuclide name e g Cs 137 NUCTYPE the nuclide type e g IND for industrial NUCPERC gives the probability that the nuclide is within the spectrum ReadLineFromFile lt N1 gt lt N2 gt lt V1 gt lt V2 gt Reads line number lt V2 gt of file lt V1 gt and assigns the value to variable lt N2 gt The search path of file lt V1 gt is the CONFIG directory If the function is successful a 1 is assigned to variable lt V1 gt otherwise 1 ReadSampleResults lt V gt This command reads the result files created by the program NAJCALC EXE optional so that the contents can be used within batch files The files lt V gt NAJCRES TXT or NAJQRES TXT are read by the line The contents i e values are assigned to variables in the temporary copy of the batch file being executed Nuclide specific parameters as nuclide name and activity are assigned to variables of the same name which are incremented automatically E g If the first line of the result file looks like NUCLID Cs 137 the following entry in the temporary file would look like NUCLID1 s Cs 137 The nuclide name of the second line would be assigned to the variable NUCLID2 It is no
68. e winTMCA32 nanoSPEC English with the windows explorer and open the directory Start the program SETUP EXE in the selected folder and follow the instructions of the installation program After installation the sub directories NUCDATA CONFIG and SPECTRUM are located in the selected or newly created directory All nuclide databases used by the winTMCA3 software are stored in the NUCDATA directory The SPECTRUM directory serves as default directory for saving spectra In the CONFIG directory all files corresponding to the actual configuration as for example batch menu and button files are located The names of these sub directories must not be changed User manual winTMCA32 1 4 1 4 1 1 4 1 1 When you start the winTMCA32 software for the first time after installation a dialog Introduction window appears Now enter the serial number which is found on the CD cover Attention If you use the operating system Windows NT and Windows 2000 you must have administrator rights to enter the serial number successfully rN j Enter serial number 7 After having entered the serial number you must confirm by clicking the OK button If the input is correct the dialog window closes and winTMCA32 starts If you enter an invalid serial number an error message appears The serial number must be entered only once and is user independent Available acquisition hardware and their technical data plug in cards e
69. e result that the field for entering the calibration source data is activated If an existing parameter file was selected its saved data will be displayed User manual winTMCA32 Appendix 121 7 3 3 Import a nuclide via button B Choose a nuclide out of the nuclide selection list Use the right mouse button to stop the import For each chosen nuclide the activity at reference date in Bq the error of the activity in and the reference date in dd mm yyyy hh nn ss must be given Delete a nuclide via button After having entered the nuclides start the evaluation via button Therefore the net areas of all peaks of the nuclides listed in the enter field which have their CHECK fields in the nuclide database editor activated are evaluated The resulting count rates with corresponding nuclide activities are related to the actual date The individual decay probability of the gamma lines is taken into consideration The resulting value pairs of the relation between count rate and calibration source activity depending on the gamma energy are adapted by the function log ff x Sa i 0 x In the actual spectrum window the resulting function for the detector efficiency is displayed The PRINT button serves to print out the analysis You can adjust the given activities by activating the field for the calibration source parameters In that way the fit can be executed again In order to use the efficiency adaption for the database press button
70. e the spectrum of the active acquisition port is stabilised by software This serves to compensate the drift of preamplifier or amplifier and parameters like temperature for example e MCS STO multi channel scaling store All signals within a time interval are registered in one channel If several acquisition runs take place the contents of the channels are erased MCS ADD multi channel scaling addition This mode is analogous to the MCS STO mode The difference is that the channel contents are not erased but added up if more than one acquisition run takes place MULPHA PHA spectra which are measured in consecutive time intervals At will be stored in a matrix For a spectrum assigned to the acquisition channel more than one sub spectrum must be defined Every sub spectrum corresponds to a matrix row After the given time interval At the next spectrum in the following row with successor spectrum User manual winTMCA32 3 3 4 3 3 4 1 number is used e DUAL mode for two parametric data acquisitions Operating winTMCA32 21 e DOSIS special type of MCS mode where the counted signals from a dose rate probe are sampled via TMCA2 acquisition channel RAWDATA only dMCA Displays raw data which are located at the input of DMCA acquisition channel digital oscilloscope e WINDOW only dMCA The detector signals are displayed after use of the digital filter Spectrum Menu This item contains a number of commands referr
71. eger numbers S strings c characters b logical value VALUE allows an optional starting value for a variable to be set If strings are used they should be set in quotation marks in particular if they contain spaces For logical values a 0 or a 1 can be used but also TRUE or FALSE Example weight f 12 234 status s confirm weight weightvariable s weight User manual winTMCA32 Batch files 67 5 2 textline s OK b FALSE In order to get access to the value of a variable in a command line you set a in front of the variable name Also can be used Example SETPAR textline weight With this command the value weight here 12 234 is assigned to the variable textline The command line SETPAR textline weightvariable leads to the same result because WEIGHTVARIABLE which has the value WEIGHT is evaluated first It is possible to use arrays within batch files An array must be declared within the variables section arrayname n type value n array length For example TestArray 2 d 1 2 Within the command section TestArray gives access to the first element TestArray2 gives access to the second one The variable names and commands are not case sensitive which means that there is no difference between lower and upper case letters If a batch file is started a port number has to be assigned which can be within the range of 1 to 99 This port number defin
72. em v refers to visible c to changeable r to requested and b to box which means a selection list All four characters can be given but the attribute can also be left In the resulting window the actual values of the variables will be shown You can change them depending on their defined attributes The changed values will be assigned to the temporary file Please note that they are lost if the batch has finished and these values were not stored before The following file entry leads to the selection window below Datalnput Parameters DATA VAR VARIABLES HY d 700 Gain d 12 Time1 b 0 Time2 b 1 Weight f g1 f 120 5 g2 f 145 8 x Date 20 05 2001 Time 14 41 22 High Voltage s 700 Coarse Gain 12 Acquistion Time 100s I Acquisition Time 200s a Weight kg X User manual winTMCA32 Batch files 72 If you declare variables as logical variables b a checkbox appears in the input window instead of a text field You can set a group number additionally behind the attributes If more variables have the same group number only one can be selected all the others are automatically deactivated If a selection list is used the desired values must be entered in rectangular brackets behind the attributes You can use variable names and text if you choose variable names the actual variable value is entered to the list If the attribute c is not given the values from the list c
73. er via drag and drop and load them to the spectra windows command LOAD Definitions When you use this dialog box spectrum name comment and the path for saving the spectrum are specified You can type in the path or select it by clicking the icon next to the text file If the entered path does not exist it will be created command DEFINITIONS D Spectrum Settings Spectrum 1 Name of Spectrum Samplet k spe Comment Spectrum Path C Programmettarget systemelect El Cancel ROIs A dialog box is opened which enables you to create and alter ROIs regions of interest in the actual spectrum The defined ranges within the spectrum are highlighted User manual winTMCA32 Operating winTMCA32 25 F Define ROIs Spectrum 1 lel X HIST cH ROI Left Margin Right Margin Color Hist 6 20 318 383 600 685 690 705 Adding a region of interest is done via right mouse context menu the menu appears by right mouse clicking into the table Choosing Add from the context menu adds a new ROI to the list choosing Delete deletes the selected ROI It is also possible to delete a ROI using the Drag and Drop function just click on the selected ROI and drag it into the recycle bin keeping the mouse button pressed Over the recycle bin release the mouse button In the fields Left Margin and Right Margin you alter the margins by typing in a value or double clicking the desired channel in the s
74. ere is a batch running on port lt V gt 1 2 If an active batch is found the variable lt N gt will be set to one otherwise to zero If you only want to know if an acquisition is active use the batch command AcquisitionStatus CheckCursorInRoi lt V1 gt lt N1 gt lt N2 gt lt N3 gt lt V2 gt This command checks if there is a special channel lt V2 gt 0 or the cursor lt V2 gt 0 of the spectrum window lt V1 gt within a ROI The internal ROI number will be assigned to lt N3 gt if the channel or cursor is within a ROI lt N1 gt and lt N2 gt will be set to the left respectively right margins in channels of the ROI If no ROI was defined lt N3 gt will be set to 1 and lt N2 gt to zero You define ROIs with the batch commands MkNalIROI or DefineEnergyROI but you can also create ROIs choosing Spectrum gt ROIs in the winTMCA32 menu header CheckStabil lt N gt lt V gt Checks if the software stabilisation of acquisition port lt V gt with acquisition mode STABIL is active If no peak i e a peak suited to calculate the stabilisation parameters was found lt N gt will be set to zero otherwise to one You activate the stabilisation with the batch command ActivateStabilisation Please note that stabilisation parameters must be set batch command SetStabilisationParameter You can also activate the stabilisation or set the parameters by selecting the stabilisation register from the hardware menu in the winTMCA
75. es the number of channels and sub spectra of the actual spectrum You can select values from the list in the LENGTH field of the input form or enter an optional value ld Set Spectrum Length Spectrum 1 Length 1024 Number of subspectra 1 Cancel With sub spectra a spectra matrix is defined the x dimension of the matrix is the length and the y dimension is the number of sub spectra Spectra matrices are required for MULPHA and DUAL mode The maximum channel number length and the maximum sub spectrum number is 4 000 000 channels Please note that the total number of channels from the resulting matrix dimension does not exceed 16777216 for example 4096x4096 command LENGTH Save You store the actual spectrum by specifying its spectrum name and spectrum path The default spectra path is SPECTRUM If the name of the spectrum is not specified it will be stored under NONAME SPC If a spectrum with the same name already exists a warning appears command SAVE User manual winTMCA32 Operating winTMCA32 24 3 3 4 5 3 3 4 6 3 3 4 7 3 3 4 8 Save as The default dialog box for file selection appears and enables you to change path and file name The selected file name will be entered as spectrum name The chosen file path is used as new spectra path for the actual spectrum command SAVEAS Load You load an existing spectrum file by using this command You can also select spectra with the windows explor
76. es the relations to other active batch files If there exists already another active batch file with the same port number the execution of the old batch file is stopped until the new started batch file has finished Batch files with various port numbers can be executed simultaneously At runtime a temporary copy of the batch file to be executed is created and the variables and their starting values are copied to this temporary file The file name has the format PORT_nn INF nn refers to the port number of the batch file e g 01 02 If variables are changed during execution only the temporary file is affected but not the batch file After execution the temporary file is completely erased Batch commands lt N gt and lt V gt are used as parameters for batch file commands whereby lt N gt respectively lt N1 gt lt N2 gt refers to variables names and lt V gt respectively lt V1 gt lt V2 gt refers to values which can directly be assigned to variables or via evaluation of variables variable name ActivateStabilisation lt V1 gt lt V2 gt Enables or disables the software stabilization on port lt V1 gt 1 2 The acquisition mode User manual winTMCA32 Batch files 68 must be set to STABIL lt V2 gt denotes the number of events necessary to calculate a new fine gain factor This number must be within the range specified by the command SetStabilisationParameter Setting lt V2 gt to zero disables the stabiliz
77. etIPCItemData lt V1 gt lt V2 gt Sets the content of item lt V1 gt to the value given by lt V2 gt Please note that a connection has to be opened before with batch command OpenIPCConnection SetLiveTime lt V1 gt lt V2 gt This command sets the dead time corrected acquisition time for spectrum lt V1 gt to value lt V2 gt using seconds SetLLD lt V1 gt lt V2 gt This command sets the lower level discriminator LLD of an acquisition port lt V1 gt to value lt V2 gt SetMarker lt V1 gt lt V2 gt lt V3 gt Sets a left lt V2 0 gt or right lt V2 1 gt marker within spectrum lt V1 gt 1 2 64 at the desired channel lt V3 gt SetMCSChannelNumber lt V1 gt lt V2 gt This command sets the actual channel number of a virtual MCS acquisition for spectrum lt V1 gt to channel lt V2 gt SetMeterMode lt V1 gt lt V2 gt This command sets the meter mode of spectrum lt V1 gt to count rate lt V2 gt 1 or refresh rate lt V2 gt 2 lt V2 gt 0 disables meter SetMeter Width lt V1 gt lt V2 gt lt V2 gt specifies meter width of spectrum lt V1 gt in percent of spectrum window width SetNanoDailyMeasurementStart lt V1 gt lt V2 gt lt V3 gt User manual winTMCA32 Batch files 97 This command activates a daily measurement for nanoSPEC on port lt V1 gt The time is given by parameter lt V2 gt using format hh nn ss the date by parameter lt V3 gt dd mm yyyy SetNanoMeasurementStart lt
78. external spectra UDP server The local spectrum lt V1 gt 1 2 64 is assigned to spectrum lt V2 gt to server with IP address lt V3 gt SetProgramName lt V1 gt lt V2 gt Selects a windows application which will be executed on port lt V1 gt after a pre set service has finished Parameter lt V2 gt contains the application name and if required the file path and command line parameters If a batch file should be executed you have to call up the program winPROC with the corresponding command line parameters SetPulser lt V1 gt lt V2 gt This command activates lt V2 gt 1 an internal pulser for dMCA acquisition channel lt V1 gt lt V2 gt 0 disables the pulser SetPZExternal lt V1 gt lt V2 gt The hardware parameter PZ pole zero external of acquisition port lt V1 gt is set to value lt V2 gt User manual winTMCA32 Batch files 98 SetPZInternal lt V1 gt lt V2 gt The hardware parameter PZ pole zero internal of acquisition port lt V1 gt is set to value lt V2 gt SetRealTime lt V1 gt lt V2 gt This command sets the acquisition time of spectrum lt V1 gt to value lt V2 gt in seconds SetRefreshrate lt V gt Sets the display refresh rate to the given value in milliseconds V The assigned time represents the time between two display updates SetROIColor lt V1 gt lt V2 gt lt V3 gt Assigns a color lt V3 gt to a ROI defined within spectrum lt V1 gt The ROI is selected via an energy
79. g X Axis Spectrum 1 A K24 B K C K A rT Inverted B 0 864266 Destination C 10 921050 2 v Smooth spectrum This command serves to smooth the spectrum in the active window which means that the statistical fluctuations from the neighboring channels are reduced For each spectrum channel K the channel contents of 2n 1 m channels distributed symmetrically around the channel are taken into consideration Each of them is weighed and the sum you get is normalized and assigned to the corresponding channel Formula m w K i x n l 1 K i 0 x Wi In the program winTMCA32 n 11 That means that 23 channels are taken into consideration The following weighing factors are used from the left to the right channel 285 114 285 285 165 30 261 495 705 870 975 1011 975 870 705 495 261 30 165 285 285 114 285 User manual winTMCA32 Operating winTMCA32 41 3 3 8 8 3 3 9 The sum of these weighing factors is 6555 w command SMOOTHSPECTRUM Peak search This function tries to find peaks within the spectrum channel per channel via gauss fit You change the peak search sensitivity in the MISCELLANEOUS menu The peaks found are marked in black which enables you to set ROIs command PEAKSEARCH Preset Menu By selecting the item SERVICE a dialog appears In this dialog acquisition time actions after acquisition etc are preset for acquisitions at the active
80. gt StrPos lt N gt lt V1 gt lt V2 gt This function checks if string lt V1 gt is located within text line lt V2 gt The start position of the string within the line is assigned to variable lt N gt If the text is not found a 0 is assigned SubtractSpectrum lt V1 gt lt V2 gt Spectrum lt V1 gt is subtracted from spectrum lt V2 gt channel by channel SyncNano lt V gt winTMCA3 2 waits until the measurement device connected to port lt V gt sends OK TerminateAllLoopTasks Deletes all batches which were added by the command AddLoopTask to the list of batches to be continuously repeated TerminateAllTasks Cancels all active batches TimeCalibration lt V1 gt lt V2 gt lt V3 gt Executes a time calibration for the x axis of spectrum lt V1 gt The parameter lt V2 gt gives the time per channel in seconds When you use the optional parameter lt V3 gt a starting date for channel 0 format DD MM YYYY HH NN SS is determined if the current date shall not be used Try Except EndTry All commands within the try section will be executed If none of the commands fail the except section will be ignored If one command fails the except section will be executed The exception message will be assigned to variable ExceptionMessage The syntax for this command is Try Except EndTry Here is an example User manual winTMCA32 Batch files 104 Variable testvariable is not declared in the variables section an
81. gt lt V2 gt Assigns a value lt V2 gt to one of the boolean memory cells lt V1 gt 1 2 FALSE is represented by 0 TRUE by 1 SetDLLFloat lt V1 gt lt V2 gt Assigns a value lt V2 gt to one of the floating point memory cells lt V1 gt These are numbered from 1 to 64 SetDLLFloatFormat lt V1 gt lt V2 gt The decimal place number n of the floating point memory cell lt V1 gt used by the information window can be determined The format is given by lt V2 gt using nf SetDLLFloatMaxValue lt V1 gt lt V2 gt The normalization value lt V2 gt for the floating point memory cell lt V1 gt is given lt V2 gt is used within the information window for percentage beam display SetDLLFloatPercentageAlarm lt V1 gt lt V2 gt lt VI gt refers to the floating point memory cell and lt V2 gt to the percentage value at which the beam display within the information window changes its color from green to red SetDLLString lt V1 gt lt V2 gt Assigns a string lt V2 gt to one of the 64 string memory cells lt V1 gt SetEnergyCalibrationEx lt N1 gt lt V1 gt lt V2 gt lt N2 gt lt N3 gt An energycalibration is carried out see also 3 3 4 Energy Calibration If the fit is successful the variable lt N1 gt is set to 1 The spectrumwindow is given by lt V1 gt the degree of the polynomial by lt V2 gt Variables lt N2 gt and lt N3 gt have to be declared and enumerated in the variable part of the batch file
82. gt is added to batch file lt V1 gt with or without extension lt V3 gt defines the variable type f d and lt V4 gt the value of the new variable If the command is executed in file lt V1 gt variable lt V2 gt is also added to the temporary file AppendFile lt V1 gt lt V2 gt lt V3 gt lt V4 gt This command opens the text file lt V2 gt and appends the line lt V3 gt at the end of the file If the specified file does not exist it is generated automatically The file search path is the same as of spectrum lt V1 gt see SetSpectrumPath Exception If lt V1 gt is set to zero the CONFIG directory will be selected If a value is given for the optional parameter lt V4 gt lt V3 gt and lt V4 gt will be joined together with a blank between them The resulting line will be added to the file AutoScale lt V gt Scales the axes of spectrum window lt V gt 1 2 automatically Break lt V gt This command will terminate a FOR NEXT loop The execution of the loop will be continued after the command NEXT lt V gt lt V gt refers to the loop parameter Cancel Cancels the batch file execution User manual winTMCA32 Batch files 69 ChannelToEnergy lt N gt lt V1 gt lt V2 gt Converts for spectrum lt V1 gt channel lt V2 gt into energy if an energy calibration was done before The result will be assigned to lt N gt See also energy calibration CheckBatchActive lt N gt lt V gt Checks if th
83. hall be executed again the syntax must have the following format WINPROC BATCHFILE p n e s STOPBATCH The parameters are described below p n Defines the port number for batch file execution This port number should be the same as the acquisition port number corresponding to the batch file but this is not required With the help of port numbers daughter processes are administrated that means batch files can be called up within another batch file When you start a daughter process on the same port number the other process is stopped and will be continued if this daughter process has finished If the port numbers are not equal the processes are running parallel The port number is also used to name the temporary file in which a running process stores its variables The format of the name is PORT_nn INF whereby nn refers to the port number 00 01 The value of the port number must range between 0 and 99 Please note that system batch files like STARTUP WPB LOOP WPB are running on port 0 BATCHFILE refers to the name of the batch file which shall be executed The name of the batch file must be entered without the extension WPB Batch files must be located in the CONFIG directory because winPROC is only searching for batch files within this directory e exclusive This is an optional parameter which takes care that no other process can be started on the same port until the first process is finished This feature serve
84. hen you have to enter the peak parameters to the dialog window LEFT MARGIN and RIGHT MARGIN fixes the spectrum range whose centroid is used for stabilisation You should select the range around the peak in a way that the peak lies in the range even if the drift is small CENTROID refers to the centroid of the integration range For determining the centroid no background correction is done This means that with descending or ascending background the centroid and the peak maximum do not have the same values If scintiSPEC is used only the centroid value has to be entered left margin and right margin are set automatically You enter the values by typing in or by double clicking on the desired channels within the spectrum By pressing the AUTO button you determine these values automatically if the spectrum cursor is located within a peak with enough statistics The value given by the GROS field determines the number of events which have to be registered in the defined range until a new centroid and fine gain factor will be calculated Setting the GROS value to 0 deactivates the stabilisation If scintiSPEC is used the GROS value is always set to 300 User manual winTMCA32 3 3 5 6 Coincidence only AMCA Hardware Setup Port 1 nanoSPEC com High Voltage ULD Pole zero Shaping Gain Stabilisation Coincidence M Trigger polarity pos Mode arnticoinc amp Delay Teen Oy Tear a
85. inTMCA32 31 COM only nanoSPEC identiFINDER This dialog window enables you to choose a serial COM port BAUD only nanoSPEC identiFINDER You can specify the serial transfer rate to the acquisition hardware Default values are 38400 for nanoSPEC and 9600 for identiF INDER DMCA REGISTERSET only dMCA When you use the button SAVE you can store the complete hardware setup of the AMCA card in the windows registration database When you use LOAD it can be loaded from there Clicking RESET sets all parameters to their default values By clicking the buttons LOAD ALL and SAVE ALL you load or store the set up for all MCA cards within the system User manual winTMCA32 3 3 5 5 Stabilisation Hardware Setup Port 1 scintiSPEC High Voltage ULD COM Gain Stabilisation Monitor Stabilisation Peak Left Margin Right Margin 366 E Centroid 330 4 O Gros m Minimal update time s Operating winTMCA32 32 The stabilisation controls the fine gain factor via software in such a way that the centroid of a chosen peak keeps its channel In this way the drift of detector and pre amplifier are compensated The acquisition mode must be set to STABIL If you use scintiSPEC stabilisation is done by PHA mode Only the centroid of a peak existing in the spectrum can be kept in its channel Therefore the fine gain factor is varied Clicking the STABILISATION button with the mouse activates the stabilisation T
86. inTMCA32 Operating winTMCA32 49 Select Peaksearch Sensitiv 2 0 A 3 3 10 6 Preferences On the first page of this dialog box SPECTRUM global settings for all spectra windows can be made When you use SELECT BACKGROUND COLOR the actual setting of the spectra windows is super scribed Clicking the color display field displays a color selection box Global settings Spectrum Menudefinition General Select background color Enable Scrollbar Enable popup menus Gauss Fit Pearson Fit HON Show integration windows The control field ENABLE SCROLLBAR enables the horizontal and vertical scrollbar for all spectra windows Within the control field ENABLE POPUP MENUS you select if a popup menu is available by clicking the right mouse button within the spectrum area The control field Gauss Fit enables the gauss fit for the integrate command batch command and menu command This is the default integration setting The control field Pearson Fit enables the pearson fit for the integrate command batch command and menu command User manual winTMCA32 3 3 11 Operating winTMCA32 The second dialog side MENU DEFINITION allows it to activate or deactivate the VIEW menu and the SELECT NUCLIDE DATABASE item in the PROGRAM menu to avoid changes made by other users Global settings Enable menu entries View Select Nuclide Database command PREFERENCES nanoSPEC identiFINDER Menu Load actual s
87. ing energy scale number 8 in figure spectrum window is displayed then at the bottom of the spectrum If the energy unit on the upper end of the cursor line is set to keV the name of the nuclide with an energy line within the cursor range will appear The nuclide database can be called up via PROGRAM gt SELECT NUCLIDE DATABASE The default file is NUCLIDE DB Please note that only nuclide lines are displayed which have their CHECK fields in the nuclide database editor activated The rectangle field in the upper left corner number 4 in figure spectrum window of the window shows that an acquisition port is connected to the spectrum displayed by the window If an acquisition is active on this port the color of the inner area of this field changes from gray to yellow Vertical scroll bar By using the vertical scrollbar number 7 in figure spectrum window you can influence the minimal and maximal values for spectrum display r The upper cursor buttons serve to set up the maximum display the bottom buttons to change the minimum display Any change of these values disables the automatical minimum maximum scale By clicking the button the auto scale is activated again The display mode for the vertical spectra axis is selected via the button 1 You can choose between LIN linear LOG logarithmic and SQR square The caption of the button displays the actual mode User manual winTMCA32 Operating winTMCA32 57 3 5 4 3
88. ing to spectra administration All commands are related to the spectrum which is assigned to the active spectrum window Clear Energy Calibration Length Save Save as Load Definitions ROIs Clear marked peaks Select spectrum Select sub spectrum Energy calibration With this command you calibrate the x axis of the actual spectrum Therefore you can use a polynomial function in the third degree at maximum In the input form you can up to 20 channel energy pairs User manual winTMCA32 Operating winTMCA32 22 Energy Calibration Nuclide Cm 245 Cm 247 Cm 249 Cm 251 Co 55 Co 56 Co 57 Co 58 Co 60 1173 23 1332 51 am Channel Value Diff 12 50 32 00 0 00 344 07 661 64 0 00 629 86 1173 23 0 00 721 81 1332 51 0 00 Ge Ee ee l E ui E E Polynomial function Degree 3 A Y 4X 3 BX 2 Cx D Unit keV A 327563E06 B 2 06650E 04 C 196934E 00 D 7 41576E 00 You can enter the channel values by typing in floating point values or double clicking on the cursor position in the spectrum If the cursor is located within a ROI the integration centroid is inserted If you enter the channel value by double clicking into the spectrum the input focus is set to the respective VALUE field If the desired nuclide is not visible in the nuclide list this list can be extended by typing the initial letter s of the specific nuclide If you type e g CS each nuclide in the selected n
89. integration results the default printer is used ta Stores the integration results in a file in the CONFIG directory The file name corresponds to the spectrum name but the file extension is set to INT If the integration results for the same spectrum are stored again the data will be appended to the file ia Executes a new integration G Executes a new integration every second If you click this button once again this function is deactivated Il Closes the result window Comment The integration algorithm tries to make a gauss fit into the area in the spectrum the curve of this function can be seen As background an iterative calculated background spectrum is used If the fit isn t successful the net counts are calculated by a geometric procedure For background calculation a straight line is used which is determined by five channels in the integration area margins command INTEGRATE 3 3 8 2 Add spectrum This command enables you to add another spectrum channelwise to the actual one You select the spectrum to be added by typing in the spectrum number or by using the cursor buttons The acquisition times of the chosen spectrum are added to the times of the actual spectrum command ADDSPECTRUM User manual winTMCA32 Operating winTMCA32 38 Fs pectrum Manipulation Subtract from Multiply Divide Rescaling X Axis _ Spectrum 1 Spectrum 2 J w 3 3 8 3 Subtract spectrum This command en
90. ion User manual winTMCA32 TEXTOUT e xpos e ypos e csize e bold e underline e position e text e format DRAWLINE e xlpos e ylpos e x2pos e y2pos e width DRAWFRAME e xlpos e ylpos e x2pos e y2pos e width Batch files 88 This command is used to customize position and appearance of a string All parameters must be specified and all numerical wee values are real umbers As decimal symbol a is used instead of an xpos horizontal position ypos vertical position csize specifies the font size in pars pro mille of the page height bold text is printed bold if this parameter is set to 1 0 normal underline text is underlined if parameter is set to 1 0 normal position specifies the alignment of the string with respect to the desired X Y position L aligns text on the left R on the right and C centers text on the specified x position text specifies the text to be printed Any variables located in the temporal file to be printed must be prefixed with a character for example NUCLIDE1 format this optional parameter allows the specification of the output format for floating point numbers according to the C conventions e g 2f Draws a single line xlpos yl pos specifies the origin x2pos y2pos specifies the end of the line width specifies the line thickness in per mil of the page height Draws a rectangle xlpos yl pos
91. ion must be used If you use a scintiSPEC stabilization is activated automatically by the SetStabilisationParameter command Please note that left and right margin are set automatically only the centroid lt V4 gt is evaluated SetStopBatch lt V gt The batch file lt V gt will be executed if the actual batch file is cancelled due to an error SetSubSpectrumNumber lt V1 gt lt V2 gt A sub spectrum lt V2 gt can be chosen and displayed in spectrum window lt V1 gt This is only possible if any sub spectra are defined SetTextFileFont lt V1 gt lt V2 gt Sets the text file font to lt V 1 gt lt V2 gt is a factor to multiply the default size SetTopLength lt V1 gt lt V2 gt The hardware parameter top length of acquisition port lt V1 gt is set to value lt V2 gt User manual winTMCA32 Batch files 100 SetULD lt V1 gt lt V2 gt Sets the hardware parameter ULD upper level discriminator of acquisition port lt V1 gt to value lt V2 gt SetWindowFunctionCoeff lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt lt V6 gt lt V7 gt In a spectrum window a polynome in the sixth degree can be displayed instead of or additionally to a spectrum f xjsa xitbh xtte rtd x te xtf lt V1 gt refers to the spectrum window lt V2 gt f lt V3 gt e lt V4 gt d lt V5 gt c lt V6 gt b lt V7 gt a If an energy calibration was implemented the polynome refers to energies otherwise to channels SetWindowFunctionF
92. is case lt N2 gt is set to 1 the text is assigned to variable lt N1 gt Otherwise lt N2 gt is set to 0 lt N1 gt to GetDeadTime lt N gt lt V gt The actual dead time of spectrum lt V gt is assigned to variable lt N gt GetDLLBoolean lt N gt lt V gt Assigns the contents of a boolean memory cell lt V gt to a variable lt N gt FALSE is represented as 0 TRUE as 1 64 of these memory cells are available in winTMCA32 The return value is 1 true or 0 false This value can also be displayed in the information window of the winTCA32 using a LED GetDLLFloat lt N gt lt V gt Assigns the contents of a floating point memory cell lt V gt to variable lt N gt 64 of these memory cells are available in winTMCA32 The value can be displayed in the User manual winTMCA32 Batch files 79 information window of winTMCA32 as real number or beam display in connection to SetDLLFloatMaxValue GetDLLMaxFloatValue lt N gt lt V gt The maximum value of a floating point memory cell lt V gt set with SetDLLFloatMaxValue is assigned to variable lt N gt This value is used for normalization to 100 by the beam display in the information window GetDLLFloatPercentageAlarm lt N gt lt V gt Assigns the alarm threshold in for the internal numerical memory variable lt V gt 1 2 64 given by the command SetDLLFloatPercentageAlarm to variable lt N gt This value will be displayed as beam in the information window
93. l 35 tile windows 35 winproc 105 command line paramters 106 dialog window 107 monitor 108 winPROC error wait time 47 winPROC monitor 47 winTMCA32 11 attributes 11 main window 13 operating winTMCA32 13 software information 15 starting instructions 13 winTMCA32 editor 45 _X x axis 39 rescaling x axis 39 Y Y Cursor 58 7 zoom ROI 58 Index 135 Europe Asia Africa Oceania ICx Technologies GmbH Piepersberg 12 42653 Solingen Germany 49 212 222090 49 212 201045 support radiation icxt com radiation icxt com North America South America ICx Radiation Inc 100 Midland Road Oak Ridge TN 37830 USA a 1 865 220 8700 amp 1 865 220 7181 support radiation icxt com radiation icxt com TM IVA technologies www icxt com
94. lag lt V1 gt lt V2 gt This command activates or deactivates the polynome display see SetWindowFunctionCoeff for spectrum window lt V1 gt Parameter lt V2 gt can be set the following values value spectrum polynome 0 visible invisible 1 invisible visible 2 visible visible SetWindowFunctionPoints lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt Data points for polynome display in spectrum window lt V1 gt can be set Using lt V2 gt 1 2 64 the data points are selected The x coordinate of the point is given by lt V3 gt the y coordinate by lt V4 gt Parameter lt V5 gt is optional and considers a y error which will be displayed as an error beam SetWinprocCancelRequest lt V gt This command cancels all batches running on acquisition port lt V gt SetWinprocDebug lt V gt If lt V gt is set to 1 all following commands in the batch file to be executed are written to the actual LOG file named LOGddmmy TXT d day m month y last number of the year The log file is located in the CONFIG directory SetXLabelChannel lt V gt Changes the legend of the x cursor position in the tool bar of spectrum lt V gt to channels SetXLabelEnergy lt V gt Changes the legend of the x cursor position in the tool bar of spectrum lt V gt to energies if an energy calibration was implemented SetXUnit lt V1 gt lt V2 gt Changes the legend of the x axis to the specified text V2 The legend is displayed in the bott
95. language 15 select spectrum 26 select spectrum window 52 select sub spectrum 26 setting marker 58 setting ROI 58 settings 49 smooth spectrum 40 software requirements 6 software specifications 11 Special characters 105 Spectra format 127 Index 134 spectrum 37 add spectrum 37 clear spectrum 23 divide spectrum 39 load spectrum 24 multiply spectrum 38 no spectrum acquired 128 peak search 41 print spectrum 34 rescaling x axis 39 save spectrum 23 save spectrumas 24 select spectrum 26 select spectrum window 52 smooth spectrum 40 spectrum definitions 24 spectrum length 23 spetrum not stored in the chosen directory 128 subtract spectrum 38 spectrum display 56 spectrum header 55 spectrum menu 21 spectrum window 54 spectrum window context menu 58 STABIL 20 stabilisation 32 StartAcquisiton 126 starting all acquisitions 20 starting an acquisition 19 starting instructions 13 startup 125 status 52 stopping all acquisitions 20 stopping an acquisition 20 sub spectrum 26 select sub spectrum 26 subtract spectrum 38 _T text window 57 tile windows 35 TMCAINIT TXT 114 toolbar 51 toolbar buttons 53 trigger polarity 33 trouble shooting 128 SUs upper level discriminator ULD 28 User manual winTMCA32 user administration 17 user interface 63 as vertical scrollbar 56 viewmenu 18 activating view menu 49 W webMCA 129 window list 54 window menu 35 window selection 52 WINDOWS 20 cascade windows 35 closeal
96. le is finished The execution of the batch file is not terminated by this command ShowUserDialog User manual winTMCA32 Batch files 102 Opens the window for user selecetion if users are defined before ShowWindow lt V gt Opens one of the 64 spectra windows lt V gt 1 2 64 or the information window lt V gt 0 SmoothSpectrum lt V gt Smoothes spectrum lt V gt Sprintf lt N gt lt V1 gt lt V2 gt Allows the formatted output of parameter lt V2 gt to variable lt N gt The format is given by parameter lt V 1 gt corresponding to the c syntax StartAcquisition lt V1 gt lt V2 gt lt V3 gt Starts spectrum acquisition on port lt V1 gt Optionally more than one acquisition can be started by specifying lt V2 gt lt V3 gt Using the symbol amp behind this command the batch file can be set into a sleeping mode This is very necessary if you use preset settings for acquisition Example PresetRealtime 1 30 StartAcquisition 1 amp After the command StartAcquisition the batch file is set into a sleeping mode until the preset acquisition time has expired After that the batch file is executed as usual StartChronometer lt V gt Starts the internal chronometer lt V gt 0 1 The actual time can be displayed in the information window StartLoopTimer lt V gt Executes a batch file repeatedly after a specified time lt V gt given in seconds The batch file must be named as LOOP WPB see also
97. les you to select the sub spectra to be displayed in the actual spectrum window You type in the sub spectrum number directly and confirm it by clicking the SET button or you can use the T keys to change the sub spectrum number The cursor keys have an automatically repetition function Pressing the OK button closes the input form command SELECTSUBSPECTRUM 3 3 5 Hardware Menu This item contains the hardware set up for acquisition hardware command SETUP High Voltage ULD COM User manual winTMCA32 Gain Stabilisation Coincidence Pole Zero 3 3 5 1 High Voltage Hardware Setup Port 1 scintiSPEC Monitor COM Stabilisation ULD Gain High Voltage High Voltage k 0 5 555 V Detectorlimit Actual HV H Shutdown Preamp Power Operating winTMCA32 27 HIGH VOLTAGE You can alter the high voltage of the measurement hardware by turning the potentiometer with the mouse cursor kept pressed But you can also click the cursor keys or type in the desired high voltage value in the text field If you choose to type in the new HV value you have to confirm the input by pressing the ENTER button J PREAMP POWER dMCA In order to activate light green LED or deactivate dark green LED the preamplifier press the PREAMP POWER button User manual winTMCA32 3 3 5 2 ULD Hardware Setup Port 1 scintiSPEC Gain Stabilisation High Voltage ULD ULD Co
98. lt V gt Assigns the actual acquisition time with dead time correction of spectrum lt V gt to variable lt N gt GetLLD lt N gt lt V gt Assigns the hardware parameter LLD LowerLevelDiscriminator of port lt V gt to variable lt N gt GetMCSAuxSpectrum lt N gt lt V gt User manual winTMCA32 Batch files 80 Variable lt N gt gives the number of the spectrum which contains the mcs spectrum of spectrum lt V gt see also ConnectMCSAuxSpectrum GetMCSChannelNumber lt N gt lt V gt This command assigns the actual channel number of virtual MCS acquisition of spectrum lt V gt to variable lt N gt GetMinMaxAverageValue lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt lt N1 gt lt N2 gt lt N3 gt This command determines the minimum lt N1 gt the maximum lt N2 gt and the average lt N3 gt value of the channel contents ranging from channel lt V2 gt to channel lt V3 gt in spectrum lt V 1 gt lt V4 gt refers to the scale factor and lt V5 gt to the offset value GetNanoDailyMeasurementStart lt N gt lt V gt If the daily repeated measurement for nanoSPEC on port lt V gt is activated the starting time of the measurement can be assigned to variable lt N gt The time format is dd mm yyyy hh nn ss The date refers to the next day when measurement starts GetNanoMeasurementStart lt N gt lt V gt If a starting point for measurement with nanoSPEC on port lt N gt is given this starting poi
99. mm Month yy Year two place number yyyy Year four place number hh Hour nn Minutes SS Seconds ZZZ Milliseconds Here is an example for formatting date time dd mm yyyy hh nn ss zzz For lt V gt Next lt V gt FOR in connection with NEXT allows it to construct loops where one command can be executed more than once The loop parameter lt V gt must have the following format Var Start TO Stop STEP whereby Var declares the variable of type d Start and Stop are the start and end values of the loop parameter STEP refers to the step with The default step width is one but another can also be used If Stop lt Start STEP must be set to a negative value If you want to terminate a FOR NEXT loop before Stop is reached the batch command Break must be used E g For l Start To Stop Eval Result 1 Result Next For l 10 to 1 Step 1 Eval Result Result Break Next User manual winTMCA32 Batch files 77 GenerateSPCName lt N gt lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt Generates a name for spectrum lt V1 gt and assigns it to variable lt N gt The name is created in different ways depending on the text alignment parameter lt V2 gt If you create the name with the string variables lt V3 gt and lt V4 gt lt V2 gt must be set to s s Before after and between the strings specified by the variables a text can be inserted If you used only one variable
100. n existing user select the name from the user list The menu file and button file assigned to the selected user are displayed in the fields MENU FILE and BUTTON FILE You can change them by selecting a different file from the list of files In the password field the password of the selected user is displayed encrypted You change it by entering a new password in the text field In the user priority field you can change the user priority 1 5 10 In order to register a new user enter a name in the upper text field and specify password priority menu and icon list as described above In the field BATCH you can select a batch file which is always executed if the corresponding user has registered This allows to realize user specific configurations In the field AUTO LOGOUT TIME you enter the time interval in seconds after which the registered user is logged out if the wiNTMCA32 program is idle User manual winTMCA32 Operating winTMCA32 18 User Administration Username Supervisor XXXXXX Password Menu File MEN LU DEF Button File BUTTON DEF Priority 10 A Batch Auto logout time s 3 3 2 View Menu This menu is like the program menu independent of the menu configuration file It can be used to attach or delete objects in the tool bar This menu can be deactivated to prevent the user from making changes see Preferences in Miscellaneous Menu User manual winTMCA32 Operating winTMCA32 19 3 3 3
101. n to continue the batch file execution The register TERMINATE serves to cancel the execution of an active batch file Select the port number in order to display the active batch file in the corresponding field Register EXECUTE allows to execute single batch file commands You can enter the commands into the corresponding field or choose from a list containing the last 25 commands used interactively As many variable names as you like can be chosen The values assigned to are displayed within the output line of the winTMCA32 main form for two seconds User manual winTMCA32 Batch files 108 winPROC Batch Control New Continue Terminate Execute SetAcquisitionDate 1 12 01 2006 11 49 00 5 5 3 winproc monitor With the winPROC monitor can be called up via Miscellaneous Menu gt winPROC monitor in the winTMCA32 menu header you can control and observe the execution of batch files stepwise for testing purposes winPROC Processes Icon stops the automatical execution of batch files Icon executes the batch file 3 step by step You cancel this mode with icon Icon x cancels all batch files on the list Icon closes the window and deactivates the step by step mode if it was selected before Register set BATCHES In the table all active batch files will be sorted by their port numbers If more than one batch file was started on the same port
102. n you click the OK button the window closes and the password is checked If the password is correct the menu and button list specified for this user are loaded and user name and user priority are displayed in the caption of the winTMCA32 main window frame If the wrong password was entered an error message is displayed Clicking the CANCEL button terminates the user registration at any time Change Password This command enables the user to change the password of the actual registered user The input form corresponds to the Register User input form with the difference that no user can be selected in the upper text field In order to change the password you enter the actual password in the lower text field After clicking the OK button and if the password was correct you enter a new password in the text field ENTER NEW PASSWORD After clicking the OK button the user is prompted to enter the new password once again to prevent any typing errors A final click on the OK button closes the input form and the new password is accepted You can cancel this process at any time by clicking the CANCEL button User manual winTMCA32 Operating winTMCA32 17 3 3 1 8 Change Password Username XXXXXX Enter old Password User Administration This menu item enables the user management and registration of new users It is only available for users having a priority of 10 otherwise this menu is not activated In order to change the configuration of a
103. nt of the available page width x position resp page height y position e relative positioning allows the usage of the internal variables x y storing the coordinates of the lower right corner of the last printed object These can be used with an offset i e an integer value in per cent of page width resp height e g X 10 5 X 5 2 etc Positions saved with SAVEX of SAVEY can be used with an optional offset too e g SAVEX 10 SETFONT e fontname This command changes the character set of the printout fontname displays the WINDOWS fontname PrintTextFile lt V1 gt lt V2 gt lt V3 gt The specified text file in lt V1 gt is printed out on your default printer It is possible to User manual winTMCA32 Batch files 91 assign a caption lt V2 gt and a commentary lt V3 gt to the printout ReadCOMsString lt V gt lt N gt A string is read via a serial interface lt V gt 1 and assigned to a string variable lt N gt using the FIFO First In First Out principle If the FIFO memory is empty a space will be assigned to the variable As text line margin a CR carriage return hex OD is expected by the function ReadFromFile lt N gt lt V1 gt lt V2 gt Reads the line lt V 1 gt of file lt V2 gt and assigns the value to variable lt N gt lt V2 gt must be found in the CONFIG directory ReadidentiFINDERResults lt V gt The identiFinder spectrum analysis results are read from fil
104. nt will be assigned to variable lt N gt using the format dd mm yyyy hh nn ss GetNanoNumberOfRuns lt N gt lt V gt This command assigns the number of runs given for nanoSPEC on port lt V gt to variable lt N gt GetNanoSystemTime lt N gt lt V gt Assigns the system time of nanoSPEC on port lt V gt to variable lt N gt using the format dd mm yyyy hh nn ss GetNetLiveCPS lt N gt lt V1 gt lt V2 gt lt V3 gt This command assigns the net count rate of all ROIs of spectrum lt V1 gt having the color lt V2 gt to variable lt N gt For background all regions having the color lt V3 gt will be taken into consideration If lt V2 gt lt V3 gt no background consideration is used The following colors can be used BLACK MAROON GREEN OLIVE NAVY PURPLE TEAL GRAY SILVER RED LIME YELLOW BLUE FUCHSIA ACQUA WHITE Alternatively a 3 byte hexadecimal value can be specified to adjust the RGB color intensity for blue green and red In this case the number must be declared with 0x in front of it Example 0OxFF0000 refers to red 0x00FF00 to green etc GetNoiseLevel lt N gt lt V gt The actual hardware parameter noise level of port lt V gt is assigned to variable lt N gt GetNumberOfPorts lt N gt The number of all actual available acquisition ports is assigned to variable lt N gt GetNumberOfSubSpectra lt N gt lt V gt User manual winTMCA32 Batch files 81 Assigns the number of su
105. number WN spectrum number SN and sub spectra number SUN which use the format WN SN SUN here 1 1 0 e spectrum name if the name was fixed before SPECTRUM gt DEFINITIONS e preset settings if an acquisition port is connected to the spectrum and preset settings were defined before PRESET gt SERVICE The following format is used PM Value R MD VD User manual winTMCA32 Operating winTMCA32 56 3 5 2 3 5 3 with e PM preset mode available values are PR Preset Real time PL Preset Live time PC Preset Counts and PM Preset Maximum Channel e MD Number of repetitions if repetitions were set e VD Number of remaining runs to be repeated if repetitions were set Example PR 200 R 10 6 which means Preset Real time 200 s 10 repetitions whereby 4 were executed If the number of repetitions is unlimited this will be shown by R 0 Spectrum display Within the spectrum display various objects will be displayed some of them can be faded in and out if required The red beam number 2 in figure spectrum window on top of the spectrum shows size and position of the displayed spectra area in relation to the complete spectrum length If the beam covers the whole area the complete spectrum can be seen The range over the spectrum number 3 in figure spectrum window serves to display the channel information to the corresponding displaying area If an energy calibration was carried out the correspond
106. number the execution order can be read out in the LEVEL field The batch file with the highest level number will be executed at first If this User manual winTMCA32 Batch files 109 5 6 execution is finished the batch file with the next highest level will be started The ID field displays an internal assigned number which is incremented continuously The name of the batch file must be taken from the corresponding field The LINE field displays the line number of the command executed at the moment In the STATUS field the following attributes can be displayed R running S sleeping W waiting E executing C child a daughter process using the same port number was called up and M message message window is opened In the COMMAND field the command corresponding to the line number is displayed Clicking into this field displays the command line in the bottom text field The T s field shows the remaining waiting time that is left before a corresponding command waiting for a reaction times out The EX field shows if the batch file which is running uses the exclusive mode In the last field STOPBATCH it can be displayed if a stop batch was defined which will be executed if the running batch is canceled due to an error Register set LOOP BATCHES On the register set LOOP BATCHES the execution of loop batches can be observed A loop batch is a batch that is executed continuously within a separate windows thread for maximum time precisi
107. nv Gain 1016 Monitor Y Operating winTMCA32 28 You can type in all values within this input form and confirm by pressing the ENTER key 1 or you can use the slider by keeping the left mouse button pressed and moving the mouse cursor in the fields ULD upper level discriminator ULD discriminates the upper level of the signal acquisition The voltage which may not be exceeded by the signal in order to be registered is defined here Please note that the settings 0 to 255 don t belong to a channel directly but 0 relates to the lowest channel and 255 to the top channel When you use a nanoSPEC 1K 0 is related to 0 and 255 to 1024 Using scintiSPEC ULD is given in channel values LLD lower level discriminator The LLD discriminates the lowest level of signal acquisition Which means the lowest voltage required for a signal to be registered is defined here Like ULD the set ups 0 255 are not directly related to the channels In order not to discriminate a channel you put the lower LLD to 0 With the nanoSPEC the set up remains the same as in the ULD mode Using scintiSPEC LLD is given in channel values User manual winTMCA32 Operating winTMCA32 29 CONVERSION GAIN Conversion gain defines the number of channels for spectra acquisition thus the relation of channels and voltage The value varies from 0 to 255 The smaller the value the bigger the number of channels used When you use nanoSPEC 255 me
108. object is available in the winTMCA32 Toolbar Window List In the selection list of this object all visible spectra windows with corresponding spectra names will be listed Choosing an entry from the list brings the corresponding window to front ble cv This object is available in the winTMCA32 Toolbar Spectrum Window Spectra are displayed in spectra windows within the spectra area of winTMCA32 These spectra windows can be positioned and scaled within this area as you like Size and position are saved to the registration data base when winTMCA32 is terminated A User manual winTMCA32 Operating winTMCA32 55 3 5 1 maximum of 64 spectra windows can be used whereby the maximum number of spectra windows displayed without overlap depends on screen solution and form size of winTMCA32 On the following pages some elements of the spectrum window are described In order to operate them a mouse must be used Real 17 0 Live 13 0 o b o pa n H o 400 00 e00 00 8 800 00 1 000 00 1 200 00 e Test 4 A b XikeV 674 4 Y 5235 The spectrum window contains the following items spectrum header spectrum display vertical scroll bar horizontal scroll bar meter text window spectrum window context menu Spectrum header In the spectrum header 1 in figure spectrum window the following information is displayed e acquisition mode if an acquisition port is connected to the spectrum here STABIL e window
109. of the winTMCA32 program IF the value of the memory variable is smaller than the percent value the beam is green if the value exceeds the percent value the beam becomes red GetDLLString lt N gt lt V gt The value of the internal logical text variable lt V gt 1 2 64 is assigned to variable lt N gt GetDwellTime lt N gt lt V gt Assigns the dwell time of port lt V gt to variable lt N gt GetEnergyCalibration lt V gt lt N1 gt lt N2 gt lt N7 gt lt N8 gt This command assigns the four energy channel pairs used for energy calibration of spectrum lt V gt to the variables N1 N2 N8 where N1 N3 N5 and N7 refer to the channel values N2 N4 N6 and N8 to the energies Please note that an energy calibration has to be carried out before GetEnergyCalibrationCoefficients lt V gt lt N1 gt lt N2 gt lt N3 gt lt N4 gt Assigns the energy calibration coefficients from spectrum lt V gt to variables N1 N4 Coefficient A is assigned to N1 B to N2 C to N3 and D to N4 see EnergyCalibration GetFineGain lt N gt lt V gt Assigns the fine gain value of port lt V gt to variable lt N gt GetHV lt N gt lt V gt Assigns the hardware parameter HV of port lt V gt to variable lt N gt GetIPCItemData lt N gt lt V gt The content of item lt V gt is written to variable lt N gt Please note that a connection has to be opened before using the command OpenIPCConnection GetLivetime lt N gt
110. om right comer of the spectrum window lt V1 gt User manual winTMCA32 Batch files 101 SetYDisplay lt V1 gt lt V2 gt This command changes the display mode for spectrum window lt V1 gt Parameter lt V2 gt can be set to the following modes LIN linear LOG logarithmic SQR square root SetYUnit lt V1 gt lt V2 gt Changes the legend of the y axis to the specified text V2 The legend is displayed in the bottom right comer of the spectrum window lt V1 gt ShowError lt V1 gt lt V2 gt lt V3 gt This command opens an error window displaying a text line lt V2 gt from text file lt V1 gt lt V3 gt displays an optional text The text file must be located in the CONFIG directory If lt V1 gt is set to 0 the parameter lt V2 gt is ignored and only text lt V3 gt is displayed The error message must be confirmed by the user ShowFormattedPage lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt lt V6 gt Displays a formular on the screen analogous to the command PrintFormattedPage The layout file must be given by parameter lt V4 gt Width lt V1 gt and height lt V2 gt must be given in percent of screen size The origin of the window is the upper left screen angle Parameter lt V3 gt defines the window caption If variables from the temporary batch file are used the name of the file must be given as additional parameter lt V5 gt If a print layout file is specified by the optional parameter lt V6 gt
111. ommand Marks the end of a table definition User manual winTMCA32 SAVEX SAVEY TABLETEXTOUT xpos start_ypos delta_y csize bold underline position start_index end_index delta_index text format position parameters Batch files 90 Stores the actual x position for later use Stores the actual y position for later use This command specifies the contents of a table column and can only be used in connection with variables located in the temporary copy of the batch file being executed These variables must be numbered consecutively e g NUCLID1 NUCLID2 xpos specifies the horizontal position of the column on the page start_ypos specifies the vertical position of the first row of the column on the page delty_y specifies the interval between the rows of the columns csize bold underline position see TEXTOUT start_index specifies the variable that should be used in the first row e g if start_index is 5 the variable variable5 would appear in the first row end_index specifies the variable terminating the column delta_index specifies the interval of the used variables e g if set to 2 only variables having even respectively uneven numbers will be used text format see TEXTOUT There are two different ways of specifying a position on the page e absolute positioning the number specifying the position must be real and represents the position in per ce
112. on winPROC Processes x x TTD Batches Loop Batches 10 0 15 42 17 421 15 42 27 421 In the table all active batch files are listed with their port number PORT and name T s gives the time intervall in seconds which lies between the executions FIRST NEXT gives the time of the first next execution of the batch file CYCLE shows the number of the executions already done before Information window Using the batch file command ShowWindow 0 an information window can be displayed The appearance of this window is determined by the INFO TXT file located in the CONFIG directory Within this INFO TXT file all data fields that are to be displayed are fixed The file must have the following structure The first line must contain the window caption given by text User manual winTMCA32 Batch files 110 The following lines are always divided into two columns The first one contains the description of the value to be given out as text for example weight If blanks are used within the title or text quotation marks must be used In the second column the data source for the value given out will be determined This can be a static text or one of the following predefined data sources which must be set in angular brackets DLLFloatX displays the contents of the floating point memory cell number X 1 2 64 see also SetDIlFloat DLLStringX displays the contents of the string memory cell number X 1 2 64 see also
113. on the screen at pleasure The arrangement and visibility of the objects within the tool bar are saved to the windows data base Real Time Port Number Status Window Selection Count Rate Buttons Batch Status Window List User manual winTMCA32 Operating winTMCA32 52 3 4 1 3 4 2 3 4 3 3 4 4 Real Time This object displays the elapsed acquisition and dead time for the actual port You can choose between real or live time dead time corrected acquisition time display by clicking the caption For dead time display you can select between seconds or Real s Dead s 600 0 11 2 This object is available in the winTMCA32 Toolbar Port Number This object displays the port number of the actual acquisition port By using the cursor buttons you change the port number if more than one port is given and the corresponding spectrum is visible Portnumber a gt 1 This object is available in the winTMCA32 Toolbar Status Displays the acquisition status of the actual acquisition port e STP acquisition is stopped e ACQ acquisition is active Status STP This object is available in the winTMCA32 Toolbar Window Selection You can activate or deactivate the corresponding spectra windows by using the numbered buttons of this object If a window is visible the corresponding number is set to black if the window is invisible it is set to gray If a visible spectrum window is the actual window its number is
114. order to operate the winTMCA32 software a mouse or comparable input device is necessary But you can also call up many functions by using the keyboard Starting instructions Main program Menu header Tool bar Changing graphical user interface Batch files Starting instructions Start the program winT MCA22 by double clicking on the symbol which was created on the desktop during installation or by selecting the file winTMCA32 EXE in the installation path via START EXECUTE gt SEARCH But the program can also be started by direct selection using the windows explorer The programs DBEDIT EXE nuclide data base editor and winTMCAEDIT EXE editor are not connected with the desktop Starts the MCA software 9 winTMCA32 winTMCA32 exe Starts the EFF nuclide database editor Dbedit exe Starts the editor which handles 9 batch files f spectra text files winTMCAEdit exe Main Program When the winTMCA32 program is started the main window is displayed It is divided into various sections menu header tool bar spectrum display spectrum window output line The menu header shows the various commands The toolbar contains abbreviations and measurement displays You can open up to 64 spectra windows in the spectra display area And you can use an output line where various status messages and User manual winTMCA32 Operating winTMCA32 14 3 3 3 3 1 comments can be displayed beyond the spectrum
115. pe E aix b x c x d e SpectrumText user defined text in the spectrum text window After the spectrum header the channel contents are displayed eight channels per line separated by Consecutive sub spectra are not separated by Only one spectrum header is created with every saving User manual winTMCA32 Appendix 128 7 6 7 6 1 7 6 2 Trouble Shooting This chapter gives some assistance in locating and eliminating problems which might occur while working with the winTMCA32 software No spectrum can be acquired Spectra are not stored in the chosen directory Malfunction peak integration No spectrum can be acquired Possible sources of error Cause Solution Wrong hardware parameters e Check the hardware parameter like HV ULD Gain Fine gain etc e Check the parameter for serial communication with nanoSPEC and identiFINDER like COM port baud rate etc Cable is incorrectly fitted e Check all cable connections Spectra are not stored in the chosen directory Possible sources of error Cause Solution Wrong spectra path Check the path settings for the spectrum window The path is individually selectable for each spectrum and is stored to the windows registration database File extension is not SPC In the spectra selection dialog only files having the extension SPC are displayed by default For spectra with other extensions select all files User manual winTMCA32 Appendix 129 7 6
116. pecTextWindow in spectrum lt V1 gt Setting lt V2 gt to 0 the text window will be set to default size SetSpectrumBGColor lt V1 gt lt V2 gt This command chooses the background color of spectrum lt V1 gt For color definition lt V2 gt see GetNetLiveCPS SetSpectrumComment lt V1 gt lt V2 gt Defines a comment lt V2 gt for spectrum lt V1 gt Comments are displayed in the bottom left corner of the spectrum window SetSpectrunLeftMargin lt V1 gt lt V2 gt Sets the left display margin of spectrum lt V1 gt The first channel lt V2 gt that is to be displayed must be specified as margin SetSpectrumLength lt V1 gt lt V2 gt Sets the spectrum length of spectrum lt V1 gt to channel number lt V2 gt SetSpectrumName lt V1 gt lt V2 gt Assigns a name lt V2 gt to spectrum lt V1 gt SetSpectrumPath lt V1 gt lt V2 gt This command sets the spectrum path of spectrum lt V1 gt to path lt V2 gt SetSpectrumRightMargin lt V1 gt lt V2 gt Sets the right display margin of spectrum lt V1 gt The last channel that is to be displayed must be set as margin SetStabilisationParameter lt V1 gt lt V2 gt lt V3 gt lt V4 gt Sets the parameters used for software stabilization on acquisition port lt V1 gt The parameters lt V2 gt and lt V3 gt specify the range left and right channel in which is searched for the desired peak position lt V4 gt To activate stabilization the command ActivateStabilisat
117. pectrum A preview window is displayed beneath the ROI list where the actual spectrum is dispayed in logarithmic scale Adding or deleting a ROI is directly reported in the preview window To transfer changes to the actual spectrum the Save button has to be clicked In the Color field you can choose from 16 colors to highlight the ROI in the spectrum By activating the check box in the Hist field you fill the ROI with the selected color By default only the wrapping curve is highlighted The text field enables the user to display an optional text over the region of interest in the spectrum Changes have to be confirmed by clicking the Save button before they are taking effect in the spectrum Clicking the Delete button deletes all ROIs in the spectrum Clicking the CH or E button enables the user to display the ROI margins in channels or in energy values To close the window the user has to click on the close symbol in the upper right corner User manual winTMCA32 Operating winTMCA32 26 command DEFINEROI 3 3 4 9 Clear marked peaks This command erases peaks which were marked as a result of the menu command PEAKSEARCH command CLEARPEAKS 3 3 4 10 Select spectrum Enables you to select the spectrum corresponding to the actual spectrum window Select Scect epoca 1 You can display the same spectrum in more than one spectrum window command SELECTSPECTRUM 3 3 4 11 Select sub spectrum This dialog window enab
118. pectrum Load top spectrum Remove top spectrum Loads the actual spectrum of the nanoSPEC nanoPROBE or identiFINDER connected to the actual port from the acquisition memory The top spectrum i e the spectrum that was saved last to the spectra memory FIFO of the nanoSPEC nanoPROBE or identiFINDER connected to the actual port is loaded from the spectra memory Erases the spectrum of the nanoSPEC nanoPROBE or identiFINDER connected to the actual acquisition port which was saved last from the spectra memory User manual winTMCA32 Operating winTMCA32 51 3 4 Save all spectra to disk Loads all spectra from the spectra memory of nanoSPEC nanoPROBE or identiF NDER connected to the actual acquisition port The spectra data in spectrum lt V gt is lost Terminal Opens the terminal window F Terminal i which enables you to enter commands for nanoSPEC xX oe identiFINDER etc on the actual acquisition port This terminal Port 1 COMO 0 enables you to set up or question the internal hardware parameters and test the communication Tool Bar The visibility of the objects contained by the tool bar is determined by selection within the VIEW menu You can arrange the objects in the tool bar as you like Click the left margin of the object and keep the left mouse button pressed while you move within the tool bar When you double click onto the margin and keep the left mouse button pressed the object can be seated
119. polynome in the second degree You can type in the function parameters directly or they are calculated by typing in one till three channel pairs In order to get from one mode to the other one the channel box in the bottom left corner must be activated If the box is activated you can type in the channel pairs if the box is not activated you can enter the function parameters e input of channel pairs You can enter the channel pairs directly or by double clicking the corresponding channel User manual winTMCA32 Operating winTMCA32 40 3 3 8 7 in the spectrum If the cursor is located within a ROI the centroid of the ROI is entered to the field C1 C2 C3 are the momentary channels C1 C2 and C3 the desired channels If only values for C1 and C1 are chosen only one off set is calculated For a straight line through the origin only C2 and C2 can be given e input of function parameters You enter the polynome coefficients A B and C You determine if the coefficients shall be applied to the inverse function by checking INVERTED The corresponding function is displayed in the window The rescaled spectrum is displayed in the spectrum window whose number is shown in the DESTINATION SPECTRUM field You enter the number by typing in or by selecting it with the cursor buttons By clicking OK you execute the rescaling process command RESCALESPECTRUM F Spectrum Manipulation Addto Subtract frorn Multiply Divide Rescalin
120. port User manual winTMCA32 Preset Service Port 1 scintiSPEC EJ Preset Mode MCS Parameter Service Pot gt Next Channel Maximum Channel Counts Live time Real time No Service Value s CO Starttime 20 01 2006 vi 14 81 87 Operating winTMCA32 42 The following parameters can be altered by the customer depending on how the acquisition should be stopped MODE The following modes allow to set conditions for terminating acquisitions e REAL TIME Acquisition stops when the preset real time is over e LIVE TIME Acquisition stops when the preset live time acquisition time containing dead time correction is over e COUNTS Acquisition stops when the preset number of counts within the spectrum are registered e MAXIMUM CHANNEL Acquisition stops when a channel content has reached the preset value e NEXT CHANNEL only with acquisition mode DOSIS If you use this mode no condition for stopping acquisition is set but user specific actions for dwelling next channel are allowed see register SERVICE below User manual winTMCA32 Preset Service Port 1 scintiSPEC Preset Mode i Sweeps Dwell Time s Operating winTMC A32 43 VALUE In this field you can enter a preset value for time or counts You can also use the cursor buttons which alter the value about 1 STARTTIME You can enter the acquisition starting point The left field
121. ptional w lt f gt f specifies the energy window around the desired peak position peaks lying within this window will be identified The window width is f keV optional default f 3 0 After starting NAJCALC EXE the following dialog window appears FINA Efficiency Calculation 1 32 0O Spectrum 1 SAMPLE1K SPC database selection list parameter selection list Select select button Nuclide Activity Bq Error Dateldd mm yyyy Time hh mmess B 3 6112e 04 15 0 15 08 2005 12 00 00 Co 60 a Cs 137 Eu 152 Mn 54 Nb 96 Ru 103 sb 125 nuclide selection list The spectrum number and the name of the selected spectrum are displayed within the window The data base selection list shows the name of the actual chosen nuclide database Only nuclide databases located in the NUCDATA subdirectory of the winTMCA3 directory are listed To alter existing databases or to create new ones the program DBEDIT must be used In the parameter selection list one of the present parameter files can be chosen in which parameters of the calibration sources that are to be used are stored If no parameter file exists a name based on the first displayed nuclide database is proposed The name in this field can be changed which means that a new source parameter file is installed The extension of this file should be PAR If the selection is finished respectively the name is entered the SELECT button must be clicked That leads to th
122. r and on the button legend negative polarity NEG red LED positive polarity POS green LED FINE GAIN The fine gain is a gain factor which is applied to the input signals via software algorithm The fine gain does not depend on acquisition hardware The acquisition port must be set to the STABIL mode You can select the fine gain factor between 0 and 2 using scintiSPEC fine gain is set between 0 722 and 1 625 A factor of 2 refers to a gain factor of 1 the factor of 1 refers to 0 5 etc Attention When you use the fine gain the number of channels is reduced because only gain factors lt 1 are allowed You can type in the fine gain and confirm by pressing the ENTER 4 key but you can also move the button with the mouse or use the cursor buttons These cursor buttons are changing the value about 10 each time with automatically repetition OFFSET The use of channel offset is like the fine gain only allowed in the STABIL mode You can type in the value or enter it by clicking the cursor buttons with the mouse The cursor buttons change the value about 0 1 each time with automatically repetition User manual winTMCA32 3 3 5 4 COM Hardware Setup Port 1 scintiSPEC Monitor COM Gain Stabilisation High Voltage ULD Serial number 1191t3618 mam ka to kd Spectrum transfer E DMCA Registerset Reset Load all Save all Load frorn file Save to file PORE Operating w
123. real time live time 2 3 total counts 5 maximum GetShapingTime lt N gt lt V gt The hardware parameter shaping time of port lt V gt is assigned to variable lt V gt GetSpectrumComment lt N gt lt V gt The comment line of spectrum lt V gt is assigned to variable lt N gt User manual winTMCA32 Batch files 82 GetSpectrumExtension lt V1 gt lt N gt lt V2 gt Assigns the file extension of spectrum lt V1 gt to a string variable lt N gt if a filename was specified for this spectrum Usually the GenerateSpcName command enumerates the extension from 000 to 999 When you set the optional parameter lt V2 gt to ASCII the numbers are represented as letters 0 A 9 T GetSpectrumLength lt N gt lt V gt The length of spectrum lt V gt is assigned to lt N gt GetSpectrumPath lt N gt lt V gt Assigns the directory name of spectrum lt V gt to variable lt N gt You set the spectrum path by using the batch command SetSpectrumPath of by selecting Spectrum Menu gt Definitions from the winTMCA32 menu header GetStartDateTime lt N gt lt V gt The starting point of the last acquisition of spectrum lt V gt is assigned to variable lt N gt Format dd mm yyyy hh nn ss is required GetStopDateTime lt N gt lt V gt The stopping point of the last acquisition of spectrum lt V gt is assigned to variable lt N gt using the format dd mm yyyy hh nn ss GetSubSpect
124. refers to date the right one to time This option is only available if the STARTTIME box is activated Please note that in this case the program winTMCA32 cannot be terminated without the loss of this information The register MCS PARAMETER only refers to the MCS acquisition mode SWEEPS You can preset the number of acquisition runs in the MCS mode by specifying this parameter One run ends when the end of the spectrum is reached by dwelling through the channels DWELLTIME Dwell time gives the time in seconds during which events in the actual channel will be added up When this time is reached it will be dwelled to the next channel User manual winTMCA32 Preset Service Port 1 scintiSPEC Preset Mode MCS Parameter Service Pot 4 gt Service Clear Save Repeat x dg e C Program Operating winTMCA32 44 When you use the input form SERVICE you can preset services which have to be executed after acquisition stops In order to activate these services the corresponding box must be activated CLEAR Spectrum is erased after acquisition SAVE Spectrum is stored after acquisition If no name was entered the spectrum is saved as NONAME SPC REPEAT When the REPEAT box is activated you can enter the number of repetitions to the lower field By using the oo button you repeat the acquisitions until they are terminated After the acquisition the spectrum extension is automatically incremen
125. rsion gain 28 count rate 53 Creating a mcs spectrum 123 credits 131 D DBEDIT TXT 112 definitions 24 spectrum definitions 24 delay 33 deleting ROI 58 divide spectrum 39 dMCA card 7 dmca registerset 31 DOSIS 20 DUAL 20 ye editor 45 efficiency calibration 119 enable pop up menu 49 enable scroll bar 49 energy calibration 21 energy to channel 58 evaluation 117 evaluation module 116 executing batch files 47 exit winTMCA32 16 external acquisition hardware 8 identiFINDER 8 nanoSPEC 8 _F fine gain 30 2G gain 30 coarse gain 30 conversion gain 28 fine gain 30 gate 33 GenerateSpectrumNames 123 Generating spectrum names 123 graphical user interface 63 User manual winTMCA32 grid 58 H hardware 7 acquisition hardware 7 hardware menu 26 hardware requirements 6 Help 15 high voltage 27 horizontal scrollbar 57 _ icons 35 arrange icons 35 identiFINDER 8 50 information window 109 inserting values into excel files 124 integrate 36 126 internal variables 105 introduction 6 L layout file 115 length 23 load spectrum 24 log file 61 lower level discriminator LLD 28 M main window 13 malfunction peak integration 129 manufacturer 6 marker 58 clear marker 58 setting marker 58 MCS ADD multi channel scaling addition 20 MCS STO multi channel scaling store 20 menu 19 acquisition menu 19 compute menu 35 nanoSPEC identiFINDER menu 50 presetmenu 41 printmenu 34 program menu
126. rt y command START J Stops acquisition on the actual acquisition port command STOP X Erases the actual spectrum The execution of this command requires confirmation command CLEAR Pa Enables you to change spectra length and number of sub spectra command LENGTH p Opens the hardware setup menu command SETUP WN Integrates the marked area within the actual spectrum command INTEGRATE io Opens a dialog to select spectra files for the actual spectrum window command LOAD m Saves the spectrum in the actual window The actual spectra attributes as name path etc are used command SAVE M Shows the PRESET menu command PRESET User manual winTMCA32 Operating winTMCA32 54 3 4 7 3 4 8 3 5 These buttons can be operated by the mouse or with help of the keyboard ff and F1 F12 This object is available in the winTMCA32 Toolbar Batch status This object displays the name of the active batch file which is started with port number corresponding to the actual spectrum window The LED of the object shows the following state e dark red color No batch file with port number 0 is active normally system batch files are running on port 0 e light red color A batch with port number 0 is executed e dark green color The repeated execution of the loop batch file name must be LOOP WPB is activated e light green color The loop batch file LOOP WPB is executed right now Batch ge This
127. rumNumber lt N gt lt V gt The actual number of sub spectra of spectrum lt V gt is assigned to variable lt N gt GetTime lt N gt Assigns the actual time to string variable lt N gt in the following format hh nn ss h gt hour n gt minute s gt seconds GetTimeSinceLastStabilisation lt N gt lt V gt This command assigns the time since last successful stabilisation in seconds of spectrum lt V gt to variable lt N gt Stabilisation is enabled with batch command ActivateStabilisation Please note that Stabilisation Parameter must be set GetTopLength lt N gt lt V gt The hardware parameter top length of port lt V gt is assigned to variable lt N gt GetULD lt N gt lt V gt The hardware parameter ULD upper level discriminator of port lt V gt is assigned to variable lt N gt GetUserName lt N1 gt lt N2 gt lt N3 gt lt N4 gt The name of the actual user is assigned to variable lt N1 gt if the user registry is activated In this case the user priority will be assigned to lt N2 gt the menu definition file to lt N3 gt and the button file to lt N4 gt GetWorkingDirectory lt N gt The path of the CONFIG directory is assigned to variable lt N gt User manual winTMCA32 Batch files 83 Goto lt V gt The execution of the batch file will jump to a given label lt V gt A must be added in front of the label for example Goto Label Label HalfLiveCorrectedActivity lt
128. s to prevent the user from calling up a batch file twice s STOPBATCH This parameter allows to determine a batch file which shall be executed if the actual running process is canceled or not finished orderly If this batch file is executed the same port number is assigned to it If a batch file in the SLEEP mode shall be continued the syntax is WINPROC p n winPROC can be called up via menu commands buttons or WINDOWS directly START gt EXECUTE User manual winTMCA32 Batch files 107 5 5 2 winproc dialog window If you call up the program winPROC without command line parameters for example by selecting Miscellaneous menu gt EXECUTE BATCH from the winTMCA32 menu header a dialog window appears containing the four registers NEW CONTINUE TERMINATE and EXECUTE In the register NEW you enter the name of the batch file into the corresponding field or with help of the file selection dialog which pops up when you click the folder symbol on the right winPROC Batch Control New Continue Terminate Execute Batch START Portnumber With the PORTNUMBER field a port number is assigned to the batch file You start the batch execution with the START button With the CONTINUE register a batch file in SLEEP mode can be continued Therefore you have to select the desired port number with the PORTNUMBER field The name of the active batch file in SLEEP mode appears in the BATCH field Click the CONTINUE butto
129. signs the actual hardware parameter baseline length of acquisition port lt V gt to variable lt N gt GetChannel lt N gt lt V1 gt lt V2 gt This command assigns the channel content of channel lt V2 gt in spectrum lt V1 gt to variable lt N gt GetChronometerTime lt N gt lt V gt Assigns the elapsed time of chronometer lt V gt 0 1 to variable lt N gt in the following format hh nn ss Each time unit consists of two characters GetCoarseGain lt N gt lt V gt The variable lt N gt is set to the coarse gain factor of port lt V gt GetConversionGain lt N gt lt V gt The variable lt N gt is set to the actual hardware parameter conversion gain of port lt V gt GetDate lt N gt The actual date is assigned to a string variable lt N gt in the following way dd mm yyyy y year m gt month d day GetDateTime lt N gt Assigns the actual date and time to string variable lt N gt in the following way dd mm yy hh nn ss y gt year m gt month d gt day h hour n gt minute s gt seconds GetDayOfWeek lt V gt As result value the first two letters of the actual day of the week are assigned to variable lt N gt GetDBLClickString lt N1 gt lt N2 gt If text is declared as selectable in a layout file used by the batch command ShowFormattedPage the form closes by double clicking on the text The command GetDBLClickString checks if the form was closed in that way In th
130. sing webMCA Configuration file TMCAINIT TXT The file named TMCAINIT TXT serves for hardware configuration and is depending on software not always located in the CONFIG directory but must be created there if needed This can be done with any default ASCII editor like the winTMCA32 editor for example If the file already exists it will be executed automatically every time the program is started Within this file the setups corresponding to the acquisition ports can be adjusted as for example the type and number of ports and the communication between PC and external acquisition hardware The following parameters can be set t X X states the total number of acquisition ports to be initialized If X is not specified all acquisition ports which are physically present will be initialized If the number of the physical present hardware ports is smaller than X as many virtual ports as necessary are added to balance the difference in number i X is the number of interrupts that will be generated per second to control the acquisition of data If this value is not specified it is set to its default value of 250 s g X states the time in microseconds necessary to adjust the system clock due to the time loss caused by the IRQ Control when working under real time conditions GAP Default is 35 us This value should not be changed except under special conditions r X gives the number of physical acquisition ports that should be controlled b
131. sition hardware communication with other windows programs and the representation of results Batch files are ASCII files and therefore can theoretically be read and handled by every text editor The line length is fixed to 128 characters whereby shorter lines must be filled with spaces The fixation of line length allows an easier access to any line within the batch file In order to avoid troubles when creating or executing batch files it is advisable to use the winTMCA32 editor which automatically takes care that the right format recognizable by extension WPB is used Batch files must be located in the CONFIG directory otherwise they will not be executed Batch structure Every batch file consists of two sections the first one contains the commands in the second one the variables are declared The sections must be separated by the keyword VARIABLES At runtime the commands in the first part are executed by the winTMCA3 2 program sequentially from top to bottom Please note that each line can only contain one command and the command key word has to be placed at the beginning The variables which are used in the command part have to be defined in the declaration part and only one variable can be declared in each line using the format Name Type Value NAME fixes the variable name which is chosen freely by the user and does not contain any blanks TYPE must have the following format f floating point numbers d int
132. specifies the upper left corner in percent of the side width respectively height x2pos y2pos specifies the lower right corner of the rectangle width specifies the line thickness in per mil of the page height User manual winTMCA32 DRAWGAUGE xpos ypos xwidth ywidth color e e e e e e value DRAWSPECTRUM spenr xpos ypos xwidth ywidth grid BEGINTABLE ENDTABLE Batch files 89 A gauge is printed out on the current page Xpos ypos specifies the upper left corner of the spectra printout xwidth ywidth specifying the width respectively height of the outer frame color specifying the color which is used for the gauge beams The following 16 colors are available black dark red green olive green dark blue violet blue green gray light gray light red 10 light green 11 yellow 12 blue 13 lilac 14 light blue 15 white OMAAINDMBWNK CO value gives the value which is considered for the gauge beam This command prints a spectrum on the actual page spenr denotes the number of the spectrum to be printed xpos ypos specifies the upper left corner of the spectrum printout xwidth ywidth specifies width and height of the spectrum printout grid if the parameter is set to 1 the spectrum is printed with a grid 0 no grid is printed Defines the beginning of a table After this command the elements table columns are specified by the TABLETEXTOUT c
133. t necessary that the variables are listed in the variable section of the batch file because they are generated in the temporary file automatically if the declarations are missing Result values like NETSUM ERRORSUM NETCOUNTS etc are also assigned to the variables of the same name in the temporary file of the actual batch file ReadVar lt V gt Reads the stored values from a file lt W gt and assigns them to their respective variables within the temporary copy of the batch file being executed ReceiveNanoString lt V gt lt N gt The reply from nanoSPEC on port lt V gt is assigned to variable lt N gt see also SendNanoString User manual winTMCA32 Batch files 92 Remove lt V1 gt lt V2 gt Erases the file lt V1 gt within the working CONFIG directory lt V2 gt is an optional parameter If lt V2 gt is used the file lt V1 gt in the spectrum directory of spectrum lt V2 gt is removed RenameFile lt N gt lt V1 gt lt V2 gt Changes the name of a file from lt V1 gt to lt V2 gt If the function is successful a 1 is assigned to variable lt N gt otherwise a 0 Replace Character lt N gt lt V1 gt lt V2 gt lt V3 gt Character lt V2 gt within string lt V1 gt is replaced by character lt V3 gt The resulting string is assigned to variable lt N gt RescaleSpectrumX Axis lt V1 gt lt V2 gt lt V3 gt lt V4 gt lt V5 gt lt V6 gt lt V7 gt This command rescales the channel axis of the spectrum
134. t upper level discriminator SetULD 1 ULD Set lower level discriminator SetLLD 1 LLD Set noise level SetNoiseLevel 1 NOISE winTMCA batch file needs variable section VARIABLES AV d 500 ULD d 1023 LLD d 0 NOISE d 15 Acquiring and integrating In the following batch file a Rol is set around a given energy and an acquisition is started for a preset time If the time has expired the area of the Rol is integrated and the counts per second are calculated The result is displayed on the screen within a message window Clear spectrum ClearSpectrum 1 Clear all Rols DeleteAllRois 1 Set a single Rol using an energy value Energy float keV MkNaIROI 1 Energy 1 Preset Real time RT integer seconds PresetRealtime 1 RT Start Acquisition and wait for completion StartAcquisition 1 amp Integrate the Rol Centroid FWHM net counts gros counts background counts Integrate 1 Centroid FWHM Net Gros Back Energy Get live true acquisition time Attention To assign a value to a variable ommit the character in front of the variable name access contents of variable GetLivetime LT 1 Calculate Net live cps Eval Net LT CPS 2f Build output string Sprintf OutputLine Result 2f CPS Print result using showmessage Text file name Line number in file time message s is displayed 0 stay on screen until OK is pressed optional text if line number is 0 only the optional text is displa
135. ted by one whereby the first extension is 000 If no name was given for the spectrum it is automatically set to NONAME 000 After the next acquisition the name is NONAME 001 If SAVE is activated a series of continuous acquisitions can be saved singularly If REPEAT is selected CLEAR is activated automatically If CLEAR is deactivated also the function REPEAT is no more active PROGRAM If program is activated you can enter a program name to the program field After acquisition is finished this program will be executed This file can be a windows executable file or a winTMCA3 2 batch file executed by winPROC User manual winTMCA32 Operating winTMCA32 45 3 3 10 Miscellaneous Menu The miscellaneous menu contains the following items Editor WinPROC Monitor WinPROC Error Wait Peak Search Sensitivity Execute Batch Preferences 3 3 10 1 Editor Selecting this item opens the winTMCA32 editor When you create batch files you should always use this editor because batch files acquire fixed line length The editor takes this automatically into consideration But you can also use this editor to create and alter ASCII files like menu and button definition files spectra etc command WINTMCAEDIT gy Editor File Search Menudefinition Da E The editor is an independent program so you can use more than one editor The symbol bar of the editor enables the following functions User manual winTM
136. the formular on the screen can be printed analogous to PrintFormattedPage ShowMessage lt V1 gt lt V2 gt lt V3 gt lt V4 gt Displays a message window for a specified time lt V3 gt seconds The message window contains a line lt V2 gt stored in file lt V1 gt in the CONFIG directory plus an optional text lt V4 gt If lt V2 gt is set to 0 parameter lt V1 gt is ignored and only the optional text lt V4 gt is displayed If lt V3 gt is set to 0 the user has to confirm the message by clicking the button in the message window ShowMinMax lt V1 gt lt V2 gt The minimum and maximum values of the MCS spectrum in spectrum window lt V1 gt are displayed in the upper left corner of the spectrum window This function is enabled by setting lt V2 gt 1 and disabled by lt V2 gt 0 ShowQuestion lt N gt lt V1 gt lt V2 gt lt V3 gt Displays a question lt V2 gt The question must be stored as line in an ASCII text file lt V1 gt Beneath the text three buttons can be displayed OK NO CANCEL The value of variable lt N gt depends upon which button was clicked OK gt 0 NO gt 1 CANCEL gt 2 If parameter lt V2 gt is set to 0 lt V1 gt will be ignored and only the optional text lt V3 gt will be displayed ShowStatus lt V1 gt lt V2 gt lt V3 gt Analogous to command ShowMessage a message window is displayed This window is visible until it is closed by the command HideStatus or the batch fi
137. the grid for spectrum display can be activated On If an energy calibration was carried out the grid for the x axis can be arranged for the channel or energy axis e ROI Set Marker Set ROI Delete ROI Zoom ROI Next ROI Change marked peaks to ROIs User manual winTMCA32 Operating winTMCA32 59 CLEAR MARKER S Erases earlier defined markers within the spectrum SET MARKER Sets a marker to the actual cursor position Previous defined markers will be erased The markers serve to select a range within the spectrum to integrate or define a ROI SET ROI If two markers were set using this menu item a ROI can be defined in between these markers In this case the markers will be erased automatically DELETE ROI Erases a ROI if the cursor is located within ZOOM ROI If the cursor is inside a ROI the spectrum view is expanded so that the ROI is displayed in the whole window NEXT ROI If the cursor is within a ROI and more than one ROI is defined the next ROI on the right of the actual ROI is displayed to expand the whole window If the last ROI is reached the next one will be the first ROI on the left side CHANGE MARKED PEAKS TO ROI Defines all peaks found by COMPUTE gt PEAKSEARCH as ROI and colors them red CHANNEL lt gt ENERGY This menu item is only available if an energy calibration was carried out For the cursor display in the vertical scroll bar you can select between energy or channel representation
138. the same attributes for displaying grid display area command PRINTSPECTRUM User manual winTMCA32 Operating winTMCA32 35 3 3 7 Window Menu Tile Changes the size of spectra windows such that there is no overlapping of spectra windows in the spectra field Because of the minimum size of the spectra windows depending on the size of the winTMCA32 main window and the number of visible spectra windows an overlap may occur command TILE Cascade Makes the spectra windows overlap in cascade form Only the title bars of the hidden windows are visible command CASCADE Arrange icon This command arranges icons horizontally in the lower left part of the window Windows minimized to icon size can be moved in the spectra window command ARRANGEICONS Close all Closes all visible spectra windows command CLOSEALLWINDOWS 3 3 8 Compute Menu The compute menu contains various commands referring to different calculation events of a spectrum Integrate Add spectrum Subtract spectrum Multiply spectrum Divide spectrum Rescaling x axis Smooth spectrum Peak search User manual winTMCA32 3 3 8 1 Integrate Integration Result Window 1 a Centroid FHM FW TIM Region Centroid Fiw HAI FWT i 344 23 24 84 7 2 44 54 12 9 818 383 661 94 45 64 6 9 81 84 12 4 614 733 Integration Result Window 1 Peak Count Rate
139. the second one must be set to In the text arrangement lt V2 gt only one s is allowed Usually the extension is enumerated from 000 to 999 By setting the optional parameter lt V5 gt to ASCII the numbers are represented as letters 0 A 9 GetAcquisitionMode lt N gt lt V gt This command assigns the acquisition mode of spectrum lt V gt as numerical value to variable lt N gt The following values can be assigned VALUE ACQUISITON MODE 1 PHA 2 MCSADD 3 MCSSTORE 4 LIST 5 MULPHA 6 DUAL 10 DOSIS 13 STABIL 18 REMOTE 24 RAWDATA 25 WINDOW GetActualDateTime lt N gt Assigns the actual date as real number to variable lt N gt see also ConvertDate GetActualMCS Value lt N gt lt V gt This command assigns the last value written into spectrum lt V gt during virtual MCS acquisition to variable lt N gt GetActualPort lt N gt Assigns the active acquisition port to variable lt N gt GetActualSpectrum lt N gt Assigns the spectrum number of the active spectrum of the winTMCA32 software to variable lt N gt GetActualSubSpectrumNumber lt N gt lt V gt Assigns the actual subspectrum number of acquisition port lt V gt to variable lt N gt if the acquisition port is set to the MULPHA acquisition mode User manual winTMCA32 Batch files 78 GetActualWindow lt N gt Assigns the number of the actual spectrum window to variable lt N gt GetBaselineLength lt N gt lt V gt As
140. tomatically if the user logs in The menu definition files must have the format M DEF to distinguish them from the button definition files Menu definition files are ASCII files You can create or alter them with the help of the winTMCA32 editor for example The file registers must have the following format m menu register command m n menu text command Thereby m refers to the number of the menu register in the menu header and n to the number of the menu item within the menu register m These numbers must start at 1 and have no gaps between them The menu text refers to the text which should be displayed for the corresponding menu item Text should be set in quotation marks if it contains blanks command refers to an internal menu command to a batch file or to a windows program the program name should be entered with program name and if required with path Examples 1 acquisition Defines the main menu register ACQUISITION 1 1 start START Defines the menu item START which is connected to the internal command START 1 2 stop winproc STOP p 1 Connects the menu item STOP to the execution of the batch file STOP WPB 1 3 calculator CALC EXE Connects the menu item CALCULATOR to the windows calculator program CALC Adapting the buttons Analogous to the menu definition file the BUTTON DEF file in the CONFIG directory is used for assigning actions to the buttons without a
141. troid Fwhm Net Gros Back 662 User manual winTMCA32 Appendix 124 7 4 3 GetActualDateTime ActDateTime WriteMCStoEnergy 3 Net Actdatetime SaveSpectrum 3 MCSSpectrum GetMCSChannelNumber ChannelNumber 3 GetSpectrumLength SpectrumLength 3 if ChannelNumber lt SpectrumLength Goto LOOP The mcs window is displayed in spectrum window 3 the integration results of the Rol in spectrum window are here displayed The values will be inserted until the end of the mcs spectrum is reached Inserting values into excel files Using the batch command ImportInExcelWorksheet the contents of a textfile are written into an excel file OpenExcelWorkSheet C Oktober 13102003 xls results 1 ImportInExcelWorkSheet Excellmport txt CloseExcelWorkSheet This batch file openes the excel file 13102003 xls within the directory C Oktober Then the contents of the file Excellmport txt are transferred into the excel worksheet named results Then the file is closed The file ExcelImport txt has the following contents PROBE 33333 DATUM 21 7 2003 ZEIT 17 12 00 GEWICHT 77 This file contains the column names and their corresponding values which are written into the next free row within the column The resulting excel file looks like this User manual winTMCA32 Appendix 125 7 4 4 E Microsoft Excel 13102003 xls Datei Bearbeiten Ansicht Einf gen Format Extras D DRAA 46aY b BE S i Q TE j HA A B C D PROBE DATUM Z
142. u can change it by clicking the cursor buttons When you click START the batch file is executed e CONTINUE The execution of a batch file which was stopped before can be continued If you enter the port number by typing in or by clicking the cursor keys the name of the batch file which was interrupted is displayed in the BATCH field If no active batch file with the corresponding port number was interrupted the field will stay empty You can continue the execution of the selected batch file by clicking the CONTINUE button e TERMINATE After the port number is entered the batch file corresponding to the port number will be displayed in the BATCH field If the field stays empty no batch file is active When you click the TERMINATE button the execution of the batch file is terminated if the execution was interrupted before e EXECUTE This input form allows the interactive execution of batch file commands Therefore you have to type the commands into the input line or select one by using the selection list This selection list contains the last 15 commands which were entered You start the execution by clicking the EXECUTE button You close the dialog window by clicking the OK button 3 3 10 5 Peak Search Sensitivity Influences the sensitivity of the peak search algorithm The values 3 2 5 2 1 5 1 0 5 can be selected In order to identify the smaller peaks a lower value must be entered command PEAKSEARCHSENS User manual w
143. uclide database show in the status bar of the winTMCA32 beginning with CS will be added to the list If you just type C this is true for all nuclides beginning with C Once all channel energy pairs are specified the degree of the polynomial can be adjusted using the DEGREE selector The button FIT initiates the fit procedure which determines the coefficients for the function If the fit succeeds the resulting function will be displayed in the spectrum window Additionally the coefficients will be show at the bottom of the energy calibration window The differences between the data and the fitted function is displayed in the column DIFF The fit will use the error of the peak centroid if a ROI is defined for that peak This is inicated by a behind the difference value Pushing the SET buttons accepts the fit In the UNIT field you select the unit for the channel axis from a list If you want to use other units you have the option to create a file named XUNIT TXT which must be located the CONFIG directory Within this file all units must be listed one beneath the other If this file exists its unit list will be loaded instead of the default one User manual winTMCA32 Operating winTMCA32 23 3 3 4 2 3 3 4 3 3 3 4 4 command ENERGYCALIBRATION Clear Erases the content of the actual spectrum This execution requires confirmation If not stored the acquisition data will be lost command CLEAR Length This command chang
144. ust be n mf for default format and n me for exponential format m refers to the decimal places and n to the total character number of the result If n is bigger than the total resulting character number the absent characters are filled up with blanks Example Eval In Value Result 3f By using the variable Value f 10 this leads to Result 2 303 Using the format 10 3e the value 2 303 is assigned to variable RESULT ExecuteIPCMacro lt VG gt Delivers macro command lt V gt to the server program opened by batch command OpenIPCConnection FileExists lt V1 gt lt V2 gt lt N gt This command checks if file lt V2 gt without path declaration already exists If the file was found lt N gt is set to one otherwise to zero The file search path is the same as of spectrum lt V1 gt If lt V1 gt is set to zero the CONFIG directory will be selected You set the spectrum path by using the batch command SetSpectrumPath of by selecting Spectrum Menu gt Definitions from the winTMCA32 menu header FindFile lt N gt lt V1 gt lt V2 gt Searches for file name lt V2 gt in directory path lt V1 gt including all sub directories If the file exists the file path is assigned to variable lt N gt FindFist lt N1 gt lt N2 gt lt V1 gt lt V2 gt This command searches for a file having the attributes lt V2 gt within the spectrum directory of spectrum number lt V 1 gt If the search was successful and
145. ust be pre set The coherence between energy E and channel C is given by a polynome in the fourth degree E a C b C C d Optionally up to 3 more combinations can be assigned Calibration with only one pair results in a straight line a b d 0 crossing the origin C 0 gt E 0 Two combinations result in a straight line a b 0 etc An energy calibration can also be done by selecting Spectrum Menu gt Energy Calibration from the winTMCA32 menu header Energy ToChannel lt N gt lt V1 gt lt V2 gt Converts energy lt V2 gt to channel for spectrum lt V1 gt The result is assigned to variable lt N gt Please note that an energy calibration has to be carried out before Eval lt V1 gt lt N gt gt V2 gt This command executes mathematical calculations the result is assigned to variable lt N gt The following operations can be performed User manual winTMCA32 Batch files 75 sin sine con cosine tan tangent sqr evolve a root log logarithm In natural logarithm abs absolute value trunc the integer part of a real number is given a b exponentiate as well as the fundamental rules of arithmetic and the use of brackets You can enter values in the default format i e 1 2345 or in the exponential format i e 1 2345e 1 whereby a must be used instead of a Optionally the output format of the result variable can be given by parameter lt V2 gt The format declaration m
146. value lt V2 gt lying within the ROI If no energy calibration was carried out the value is explained as channel For the format of color definition see GetNetLiveCPS For defining ROIs see the batch commands DefineEnergyROI and MkNalROI SetScreenState lt V gt Sets the size of the winTMCA32 program window respectively the arrangement of the spectra windows depending on parameter lt V gt VALUE ACTION 0 The main window is minimized 1 The main window will be set to default size This disables V 0 2 The main window is maximized The spectra windows will be arranged side by side The spectra windows will be arranged overlapped a A O N The active application window will be set to background while overlapping with other applications SetShapingTime lt V1 gt lt V2 gt The hardware parameter shaping time of port lt V 1 gt is set to value lt V2 gt SetSpecTextWindow lt V1 gt lt V2 gt lt V3 gt Displays a text V3 within a window located in spectrum lt V1 gt By specifying the color value lt V2 gt the window color can be set to VALUE COLOR 0 green 1 red 2 gray 3 yellow Combined with a text the special function mcsvalue can be used The actual channel content which was written at last to the spectrum using WriteMCSChannel is displayed in User manual winTMCA32 Batch files 99 the text window SetSpecTextZoom lt V1 gt lt V2 gt This command maximizes lt V2 gt 1 text window see SetS
147. xecuted Optionally the operator In can be used This operator checks if a value lies within a value range The syntax therefore is given by If A in B C User manual winTMCA32 Batch files 84 This is equivalent to If SA gt B and A lt C Ifdef lt V gt Else Checks if a value is assigned to the variable which was transmitted with name lt V gt If this is true the following instructions are executed otherwise the instructions after ELSE if ELSE exists Ifndef lt V gt Else Checks if a value is assigned to the variable which was transmitted with name lt V gt If this is not true the following instructions are executed otherwise the instructions after ELSE if ELSE exists ImportInExcel Worksheet lt V gt This command imports the contents of text file lt V gt into the excel file opened with batch command OpenExcelWorksheet Within text file lt V gt the value has to be written under the corresponding column name The file name lt V gt can be given with or without path If it is given without path it has to be placed within the winTMCA32 directory If it is placed somewhere else you have to enter the name including the path Here you will find an example for inserting values into an excel file Incpar lt N gt lt V gt Adds value lt V gt to variable lt N gt IncrementExcelWorksheetRow This command increments the actual row number within an excel worksheet opened by the comm
148. xternal acquisition hardware Plug in cards dMCA card dMCA card The winTMCA32 software automatically detects the dMCA card Technical data Type 32 Bit PC PCI card Size 160 mm x 107 mm dMCA4 305 mm x107 mm dMCA8 Power 5 V 600mA max for dMCA4 5 V 800mA max for dMCA8 Inputs LEMO connectors depending on module Spectra parameters spectra length 4 65535 channels bits per channel 24 storage capacity 4194304 channels User manual winTMCA32 Introduction 8 1 4 2 1 4 2 1 1 4 2 2 External acquisition hardware identiFINDER nanoSPEC identiFINDER Initialize the identiF NDER with a configuration file named TMCAINIT TXT file In order to communicate with a identiFINDER the file must contain the following lines r 0 p 1 F c 96 c refers to the COM port number to which the infrared adapter is connected for example 1 for COM 1 2 for COM2 etc Technical data Size 230 mm x 90 mm x 70 mm Power 4 batteries storage batteries type AA LR6 1 2 1 8 V Spectroscopy specifications resolution 1024 Nal 4096 CdTe channels differential Nonlinearity 0 1 0 2 over 99 of the channels integral Nonlinearity 0 05 over 99 of the channels spectra memory 256 spectra 4 1024 channels Amplifier digital filter High Voltage 50 to 1275 V nanoSPEC Initialize the nanoSPEC with a configuration file named TMCAINIT TXT file In order to communicate with
149. y the software This number can be either bigger than the number of ports actually present in which case only this limited number of ports will be initialized or smaller which means only those ports actually present will be started Is the parameter r x set to zero only one virtual acquisition port will be setted up and neither the IRQ nor the 1 O addresses of an acquisition card will be initialized User manual winTMCA32 Appendix 115 v X is the number of virtual acquisition ports being initialized in addition to the physical ones Virtual acquisition ports enhance the interpretation of values acquired with physical acquisition ports E g signals acquired in a PHA spectrum via a physical acquisition port can be interpreted as MCS spectrum on a virtual port at the same time P X c p b This parameter assigns specific hardware c to an acquisition port X Setups for this type can be N for nanoSPEC and f for field spec Additionally the parameters p 1 2 for serial COM port and b for baud rate 100 must be given 7 2 Example for a layout file created with batch command PrintFormattedPage BEGINHEADER TEXTOUT 55 10 20 0 0 C Result of the Nal evaluation TEXTOUT 25 15 15 0 0 L user TEXTOUT 45 15 15 0 0 L user TEXTOUT 65 15 15 0 0 L sample The page header is created TEXTOUT 82 15 15 0 0 L number All variables must be declared in TEXTOUT 25 20 15 0 0 L weight g the temporary file i e Suser TEXTOUT 45 20 15 0
150. yed User manual winTMCA32 Appendix 127 7 5 ShowMessage dummy 0 0 OutputLine winTMCA batch file needs variable section VARIABLES Energy f 661 62 RT d 30 Centroid f FWHM f Net f Gros f Back f LT f CPS f OutputLine s Spectra format The winTMCA322 spectra are stored in ASCII format so they can easily be imported or adapted A spectrum file contains the spectrum header followed by the channel contents The header contains the following informations e SpectrumName e XUnit user defined unit of the x axis channel axis e YUnit user defined unit of the y axis channel content axis e Length number of channels for the x axis e SubSpcNum number of sub spectra which means the number of channels for the z axis e StartSubSpc defines the beginning of the sub spectra area which is saved to the file e StopSubSpc defines the ending of the sub spectra area which is saved to the file e Comment user defined comment e Realtime whole acquisition time in seconds at saving time e Livetime dead time corrected acquisition time in seconds at saving time e Deadtime dead time e Starttime date time of the acquisition start the format dd mm yyyy hh mm ss is used e Stoptime date time of acquisition end the format dd mm yyyy hh mm ss is used e CalibPoint1 4 channel energy pairs used for energy calibration e CalibCoeff polynome coefficients for the energy calibration function ty
Download Pdf Manuals
Related Search
Related Contents
suite - Lochinvar Course Profile PDF-Datei - Lipinski Telekom Le Puits-sans-Vin Le Puits-sans-Vin - Ville de Chaville Parallels Desktop® 7 datasheet: pdf Enpac 2500 Data Collector User Manual マイクロソフト、Windows、及び Windows ロゴはアメリカ合衆国及び Copyright © All rights reserved.
Failed to retrieve file