Home

Real time processing of environmental gamma ray spectrometry data

image

Contents

1. cccece ccc e cence eee e eee ene eee eene emen 8 3 3 Analyze requirement GPS position cccccece ence nee eene 8 3 4 Analyze requirement Display detects indexes ceceeceecee cent eect eee een en 9 3 5 One additional function I want to implement cc cece cece eee ee ee eee eeaeeeaen 9 4 Software designe erus wate erent Pens oe Aaa UE ETE Ue AN M d V UE eh FOLE eee 11 4 1 Design of how to collect detector data isscssssssssssssssssese 12 4 2 Design of real time processing data cc ccc cece cee n een eee ne eee nee e 12 4 3 Design of dynamic rainbow graph cece cece nce n eee ee eee neste meer 13 4 4 Design of range display 00 ccc cece cece eee e eee ee eee eens eee enae seas enneeneenaes 16 4 5 Warning recordet ee cod ee gosh E EE A E NA UC REA SEUVU EU OA SUN Ye 16 4 6 Design of GPS position 0 0 ccc cece cence eee ne eens a e eme em eme eene 17 2 Implementation zoo uoo ete mcer t e ce RARE EU teneatis 18 5 1 How to collect data from detector 00 e cece cece cence eee ee ee eee eee eeae eee 18 5 2 How to utilize data file 0 e cece ce eee e meme eene 19 5 3 Understanding of rainbow graph 6 cece cece ence eee ee ne ee ee ae memes 23 5 3 1 Meaning of data in graph 0 e ccc c eee eee cence ee meme emen 23 5 3 2 Gam changing Tate oeste ERU d RR RED QUO ER E MET edes 23 5 4 S
2. button Then using a readRecord method to read warning record in that warning file to display in the screen when users press Warning Record button 5 8 GPS function The software utilizes an external device named Garmin GPS 72 to detect the geographical position Because that GPS 72 conforms to the NMEA 0183 specification through its RS232 interface the RS232 interface can be connected to laptop s USB sockets Then using a JAVA communication API library named rxtx 2 1 7 bins r2 13 and an NMEA 0183 library named marineapi 0 4 14 to implement the communication between GPS 72 and software Because the GPS 72 has a required data transmission type the laptop must set USB socket with the same type In the program the type is also settled with same type sp setFlowControlMode SerialPort FLOWCONTROL NONE sp setSerialPortParams 4800 SerialPort DATABITS 8 SerialPort STOPBITS 1 SerialPort PARITY NONE H This code is same as the laptop USB socket setting Prolific USB to Serial Comm Port COM5 Properties General Port Settings Driver Details Bits per second Data bits 8 Parity None v Stop bits 4 Aow control None v Figure 21 USB port setting In the library class marineapi 0 4 there is a command named sentenceRead SentenceEvent event It will read the data sent from GPS 72 and show by sentences figure 21 GPGGA 194542 5608 6830 N 00355 1
3. 1 User can use the different changing rate in different channel to predict what is the detected object public void drawRainbow int count BufferedWriter output File file new File data File listfile file listFiles for int j 0 j lt count 1 j tt readDatal listfile count j 2 readData2 listfile count j 1 for int n 12 n 212 n z array n substring 0 8 X z lastIndexOf y z substring xt tl 8 double a Integer parseInt y d data n substring 0 8 e d lastindexOf c d substring eti 8 double b Integer parseInt c double f f b a timeInterval This is the method to gain changing rate if the frequency is set as 2 Putting data of two data files into array and data Then using value in data n to subtract array n Different n stands for different channels f is changing rate in order to be accurate the type of f is double In this method the application only focuses on channel 0 200 5 4 Set color According to some standard of environmental science and users willing this program basically sets 6 colors to stand for 6 different changing rate levels They are blue green yellow orange deep pink and red The order is from low counts to high counts In the view of environmental science the order is from safe to dangerous Blue changing rate smaller than 3 Green changing rate is larger or equals to 3 and smaller than 6 Yellow c
4. Display the data information sent by detector to the buffer SAVE D Workspaces MyEclipse 8 5 KKK TEST SPE this one is the most important command It tells MAESTRO 32 to save the data in the buffer to a data file to a designated path with a designated format The JAVA application only can read the SPE file efficiently So the JOB file handles MAESTRO 32 to save data file with SPE format QUIT when all the commands are finished and the live time is over Then terminate this copy of MAESTRO 32 In order to handle another program in the Java application the application called a method exec Using an instruction to implement this try process Runtime getRuntime exec C Program Files x86 Maestro Mca32 exe F 123 1 job catch Exception e System out printin Not exist What the application really wants to do is to run the JOB file named 1 job but the script function of JOB file is in MAESTRO 22 so the application must run MAESTRO 32 first Mca32 exe is the execution file of MAESTRO 32 C Program Files x86 WMaestroW is the path of Mcs32 exe With the path the program can find mca32 exe correctly then run it After running it execute the 1 job file in fold 123 in disk F After using exec to run a JOB file MAESTRO automatically saves data files in the designated path then the application can find the right data file with right format in the right place 5 2 How to utilize da
5. Emulator for Microsoft Windows 98 2000 NT and XP A65 B32 Software User s Manual 4 Garmin GPS 72 https buy garmin com shop shop do pID 214 July 2012 5 Company Profile http www ortec online com aboutus index aspx July 2012 6 RADIATION COUNTING STATISTICS http holbert faculty asu edu eee460 RadiationCountingStatistics pdf August 2012 7 Suhas Kumar Energy from Radioactivity http large stanford edu courses 2011 ph240 kumar2 December 5 2011 8 Calculate MAESTRO 32 MCA Emulator for Microsoft Windows 98 2000 NT and XP A65 B32 Software User s Manual page 71 78 9 Genie 2000 Basic Spectroscopy Software http www canberra com products 834 asp August 2012 10 The NMEA 0183 Protocol http www tronico fi OH6NT docs NMEA0183 pdf August 2012 11 Java Marine API http marineapi sourceforge net August 2012 12 Job Control MAESTRO 32 MCA Emulator for Microsoft Windows 98 2000 NT and XP A65 B32 Software User s Manual page 78 79 page 105 129 13 rxtx 2 1 7 bins r2 http rxtx qbang org wiki index php Download August 2012 14 marineapi 0 4 http en sourceforge jp projects sfnet_marineapi downloads Releases marineapi 0 4 zip August 2012 www java samples com showtutorial hp tutorialid 214 July 15 SerialPortExample java http 2012 Appendix 1 Operation system requirement and JRE requirement Because the ORTEC MAESTRO 32 has a limit
6. and testing Analyze requirements is to analyze client s requirements to know what is they want Software design is to think about the problem may happen in the software design and design the solutions Implement step is to specifically implement the designed functions Testing is to find out the program error and measure the quality of software The software is based on Maestro 32 and provider some more useful function There are four main functions First is collecting data This function is implemented utilizes a script to let Maestro 32 save data file with designated path In the JOB file the process live time file quantity file name and file format can be controlled The second is using data to draw dynamic rainbow graph Read the data with corresponding method to gain the useful information then display on the screen One line stands for one second counts changing rate The rainbow graph is consisting of six different colors They are blue green yellow orange deep pink and red They symbolize different situation of counts changing rate Users can determine the object they are detecting with the different rainbow color distribution Near the dynamic rainbow graph there is some information about the data They are process starting time live time real time and GPS position These information can tell users when the detect mission start and how many seconds has the mission run This information will change follow the rainbow graph
7. buffer reads the first and second export data files And so on It can achieve real time gaining detector data The detail of JOB file will be introduced in chapter 5 1 4 3 Design of dynamic rainbow graph A rainbow graph uses color to express index So the software uses RGB color system to set different colors Using green to stand for the lowest count level It means safe Using yellow to stand for the medium level of value The software has 6 different kinds of colors from blue to red Red means dangerous Because the software reads data file with incremental order It is good for displaying dynamic rainbow graph Imagine this when users open the software without pressing start display button the window just shows a coordinate system figure 7 Real time rainbow graph Stop Continue Clean Time Channel Figure 8 Coordinate system Assume that the read data frequency is set in one second In another word software reads data file once per second When users start displaying rainbow graph the first second there is only one line in the screen figure 8 This line stands for one second s data information Real time rainbow graph Stop Continue Clean Time Start Time 08 29 2012 15 38 Real Time 0 Live Time 0 Geographical Positon 0 0 0 0 Channel Figure 9 Display of the 1 second Then in 2 second the first line move one unit up and there is a new line appe
8. changing The third is providing range display of the rainbow graph Users can input a valid range to display the designated range rainbow graph It helps user to focus on the small part of the graph and to show more detail The fourth is warning automatic record function It gives a note to record the information of warning data The aim of warning record is to remind a data changing trend and help users to find out the rules of the data change The fifth is GPS function The application providers a geographical position to correspond the real time data 7 2 Evaluation Dr Andrew Tyler who is the client of this software gave a lots of feedback and user experience of using my software Passing through the testing and users feedback it shows that the software meets the main requirements the Biological amp Environmental Sciences department of University of Stirling proposed The gain data method is very simple and low technicality It must base on JOB function of Maestro 32 It is the limit of software There is a fatal condition limit of gaining data method Because Maestro 32 saves data file automatically with a given time interval It means display frequency of software must be faster or equal to that time interval or the speed of reading data is faster than the data creates And if the speed of reading data is faster than the data creates then there is an error because there is no data file to read This fatal condition limit wil
9. exist the read data file method will read data failed There is a plan to solve this problem Using files length to real time check quantity of the data files in folder Then give a condition to control the different situation if files length gt 2 do read data method else wait and do decision again Because display dynamic rainbow graph is read data files and draw many rectangles in essence When the program is running for a lot time and the screen display 40 seconds information it means the application will draw 40 seconds graph It will be a delay The delay is caused by two reasons One is arithmetic speed of PC the other one is method design of program Optimizing methods is necessary There is a plan to focus on optimizing the read data method and draw rainbow method 7 3 2 Increase new functions Because the dissertation has a time limit some requirement cannot be achieved in a short time But in future it is necessary Add some environmental indexes in the screen It can make the software more powerful because the software provider more information about detect radioactivity But environmental indexes need a professional technology required Maybe some index can directly gain from the data file Such as ROI ENER_FIT MCA_CAL and SHARP_CAL This information is directly showed in data file ROI 4 189 262 441 526 548 620 800 909 PRESETS Live Time 110 0 ENER_FIT 108 371231 3 537106
10. of operation system The system required Microsoft Windows 2000 Professional Microsoft Windows XP Professional SP2 Microsoft Windows Vista This is a JAVA application It can be run with Java 1 5 or newer If user wants to use GPS function please follow this guidance First identify your Java Runtime Environment s folder For version 1 6 0 Copy rxtxSerial dll to c Program Files Java jre1 6 0_O1 bin Copy RXTXcomm jar to c Program Files Java jre1 6 0_01 lib ext Add RXTXcomm jar and marineapi jar into JAVA library For detail you can find the information http rxtx qbang org wiki index php Installation for Windows Appendix 2 User guide When you want to use the software firstly run the JAVA application then you will see the user interface S Real time processing Gamma ray data system 00 1068 1 Connecttodetector type frequency n v Basic Display Area Dispaly Warning Record Display rainbow graph Stop Continue Clean Time Channel Choose a frequency then click Connect to detector button In this time the detector is starting detection Then click Display rainbow graph you will see the dynamic rainbow graph which represent the data information You can control the start stop continue again and clean window If you want t o see some part of rainbow graph you can use range display function Please click the A
11. second Channel The 3 second Channel The 4 second Channel The 5 second Channel Figure 18 A series screenshot of dynamic rainbow graph 5 6 Range display This function allows users to input two numbers to make up a range Then application only displays rainbow graph in the given channel range Please type in channel range From 50 to 150 Display Time Ds Start Time 08 29 2012 16 38 Real Time 22 Live Time 22 50 150 Channel Figure 19 sample of range display In this mission users want to focus on just channel 50 150 so users input 50 150 in the text fields and the application drawn the range rainbow graph The difference between range display and default display is that range display allows users to choose the range but in default display the drawRainbow method sets the range to channel 0 200 So in default display users just can saw the rainbow graph from 0 200 According to the difference The areaRainbow method is very similar with the drawRainbow method Difference happened in for loop drawRainbow method for int n 12 n lt 212 n do n 12 means array 12 it stands for channel 0 in data file areaRainbow method for int n 12 a n lt 12 b n do a is the start of range b is the end of range These are and b are from users input 5 7 Warning record Warning record function is to record information when some data is out of the warni
12. themselves Figure 3 is an sample of rainbow graph A dynamic rainbow graph sample can be seen in chapter 5 5 To achieve this function it involves some technical points 1 Data connection How to receive data sending by detector 2 Real time process data How to control data process frequency 3 Draw rainbow graph How to make the graph be dynamic 4 Set rainbow colors Set a standard to use different colors to express different data range 5 Set changing frequency of rainbow graph Users can set the changing frequency of rainbow graph It means users can control the movement speed of rainbow graph 6 Threads The application needs to have the ability to run several functions simultaneously And 35 35 users should be allowed to control start stop and start again 1000 183 Natural Man made Figure 5 An example of rainbow graph 3 2 Analysis of range display A range display is a function that application supports users to choose display area If users type two number to make a range for example 50 100 The range is 50 100 then the screen only displays data in the range with rainbow graph It helps users to find out their focal point of monitoring There are some technical points as same as 3 1 Because a range display is the same as overall display in technical level The difference is that area display chooses the range by users not display the default range I think the application should s
13. 3 List of figures Figure 1 Radioactivity pollution 0 ccc cece cee nce e ence eee ene ene me eme eene 1 Figure 2 Display mode of MAESTRO 32 0 ccece scence eee I m he he heme 4 Figure 3 Display mode of Genie 2000 Basic Spectroscopy Software ssssus 5 Figure 4 Diagram of software development procedure sssesesesesese 6 Figure 5 An example of rainbow graph sssssssssssesesseee emm me mem 8 Figure 6 Operational principle diagram of software esses 11 Figure 7 Principle of collecting data cece cce eee e ne ence eee ee 12 Figure 8 Coordinate system cssssssssesssssssssssssee ee e ehe he essem hene ese 13 Figure 9 Display of the secondo is E Cos E EO ER Er ente ler spaces 14 Figure 10 Display of the 2nd second csse me ene 15 Figure 11 Basic display panel and area display panel run respective rainbow Picijpverm TES 16 Figure 12 Screenshot of rang display interface ssesssseseseseee 16 Figure 13 Sample of JOB file sssssssssssssseesee II I eI e me e eee 18 Figure 14 Open the data file TESTO000 SPE withWinPlots eese 20 Figure 15 Open the data file TESTO00 S PE with notepad ceseeeeeeee 20 Figure 16 Sample of data file escis sessi ede ae eret ner dad nnne 22 Figure 17 Two continuous data files csssssssssssse I m mme 24 Figure 18 A se
14. 402 W 1 03 3 2 47 7 M 51 2 M 6D GPGLL 5608 6830 N 00355 1402 W 194542 A A 58 GPBOD T M 47 GPVTG 318 0 T 323 3 M 0 0 N 0 0 K 45 GPRMB A ss555552599 4 A OB Figure 22 Sample of output of sentenceRead There are 5 lines each line stand for one kind of data type The aim of this GPS function is gaining a useful geographical position to let users know where the display rainbow graph stands for is So the sentenceRead SentenceEvent event method is written to just output the geographical position with latitude and longitude According to the requirement type GPGLL is OK if sentence getSentenceld equals GLL Position position PositionSentence sentence getPosition lat position getLatHemisphere lon position getLonHemisphere latitude position getLatitude longtitude position getLongitude This code means just outputs the GLL sentence and gain the latitude value and longitude value in sentence Lat is direction of latitude and lon is direction of longitude For example A geographical position is consist with latitude direction latitude value longitude direction longitude value The geographical position of University of Stirling is N 56 08 W 03 55 The degree of accuracy of GPS 72 is 15 3 m Chapter 6 Testing and Users feedback Software testing is using appropriate methods to test validity integrity security and quality of software It is
15. EO 32 to automatically save data file in users designated folder Then application uses the data to represent as dynamic rainbow graph The objective of the project is achieved Most Functions are achieved The software can gain the data correctly then use the data to display dynamic rainbow graph The graph can real time represent the correct data information The software provides a warning record function and GPS position function It has great practical significance and can be used in the radioactivity detection Attestation I understand the nature of plagiarism and I am aware of the University s policy on this I certify that this dissertation reports original work by me during my University project except for the following e The component used to collect data of the Garmin GPS 72 is referenced with SerialPortExample java 15 Signature Date Acknowledgements I want to thank all the lecturers of my MSc IT course I would like to give my special thanks to my supervisor Dr Simon Jones for his great help and powerful support during the project I would like to thank Dr Andrew Tyler who comes from Biological amp Environmental Sciences department of University of Stirling to give me a Environmental Sciences technology support Thanks Biological amp Environmental Sciences department lends the Garmin GPS 72 the radiation detector a laptop and the software ORTEC MAESTRO 32 to me for testing Thanks to my family for und
16. MCA CAL 3 1 083712E 002 3 53T106E 000 6 608740E 004 keV SHAPE CAL 3 2 520843E 000 3 615743E 002 0 000000E 000 Figure 25 Some information of data file But some index may not directly gain from the data file They need to compute with particular formulae The software only displays a dynamic rainbow graph and shows every data with colorful rectangle But there are only six colors it means not accurate enough Changing rate 3 and 5 9 are both color green So in future work the software needs a detail information function In my design When the application is displaying the rainbow graph users can move mouse to anywhere in the graph and it will show the detail indexes in that point Such as channel number time changing rate energy value and so on The default display range is channel 0 200 But in fact the detector monitors in 1024 channels Next stage the panel maybe change to a movable panel Such as scrollpanel Using a panel can display entire range rainbow graph The window is not large enough to display entire range So part of rainbow graph may conceal If users want to see that part it just needs to move scroll Because it can show the entire range of rainbow graph it also satisfied the multi range display References 1 Radioactive Substances http www sepa org uk radioactive_substances aspx July 2012 2 ORTEC http www ortec online com July 2012 3 ORTEC MAESTRO 32 MAESTRO 32 MCA
17. Real time processing of environmental gamma ray spectrometry data Jie Zhou September 2012 Dissertation submitted in partial fulfillment for the degree of Master of Science in Information Technology Computing Science and Mathematics University of Stirling Abstract Nowadays radioactively contaminated land is a pressing issue Scottish Environment Protection Agency SEPA pays attention to monitor radioactivity There are several detector manufacturers in the world Such as ORTEC Radiation Detection Company RDC and CANBERRA company But they all pay more attentions to the detector and lost sight of the usability of the software The functions design is not satisfy with users demand This project developed a JAVA application to implement function extension of software ORTEC MAESTRO 32 It is a software based on MAESTRO 32 and implements some functions more What I want to achieve The software uses dynamic rainbow graph to represent the data information When the graph displaying there is a geographical position value with it The software should allow users to see designated range of rainbow graph How to address problem Using JOB function in MAESTRO 22 to gain data then utilize data to display graph on the basis of users professional requirements The main part of the project is to collect the data from detector and display method The application uses JOB function in MAESTRO 32 to run a JOB task The task asks MAEST
18. ars figure 9 Real time rainbow graph Stop Continue Clean Time Star Time 08 29 2012 16 38 Real Time 1 Live Time 1 Geographical Positon 0 0 0 0 Channel Figure 10 Display of the 2nd second So the method is designed to read file from last one to first one This can satisfy the rainbow display requirement In this function the thread is used to control the proceeding It supports to run several threads simultaneously For example in the same time basic display panel and area display panel run respective rainbow graph figure 10 Basic Display Basic Display I Area Dispaly j I VVarning Record Real time rainbow graph Stop Continue Clean Time Start Time 08 29 2012 16 38 Real Time 5 Live Time 5 Geographical Positon n o 0 0 Channel Area Display Basic Display Area Dispaly Warning Record Please type in channel range From 50 to 200 Display Time Start Time 08 29 2012 16 38 Real Time 10 Live Time 10 gt 50 200 Channel Figure 11 Basic display panel and area display panel run respective rainbow graph 4 4 Design of range display The method is almost the same as 4 3 A range display can be seen as a plus function of display rainbow graph Difference is that display rainbow graph has a default display range But range display allows users to set the display range
19. ata type and text type information can be known clearly 5 2 1 Line 0 1 SPEC ID Lab Test Neither read file method nor JOB function needs this information So in read file method this information is ignored 5 2 2 Line 2 3 SPEC REM DET 1 It means that data is detection result of detector 1 In the program the detector number is not important so it is ignored too 5 2 3 Line 4 5 DETDESC MCB 129 AP Maestro Version 6 08 This gives the information of software version 5 2 4 Line 6 7 DATE_MEA 08 28 2012 05 14 25 It is the start time of this mission That s necessary Any mission needs to give a start time to let users know when it starts 5 2 5 Line 8 9 MEAS_TIM 22 This means how many seconds past after mission starting The first 2 stands for real time The second 2 stands for live time Every detection mission may have a live time limit This limit is handled by users In this mission the Live time limit is 100 seconds This information will be shown later It means this mission just run for 100 seconds and it will stop This 2 means the 2 second in the live time limit 5 2 6 Line 10 11 DATA 0 1023 Show that there is 1024 data in this data file from 0 1023 5 2 7 Line 12 1035 This is 1024 data lines The detector detects different object can get different values These values react in these lines with integer type For example when the detector is detecting a banana all value in chan
20. ation system required Microsoft Windows 98 2000 NT and XP The software can accurately display lots of environmental indexes such as counts 6 energy 7 MAESTRO 32 has functions of calculating sum gross area and net area 8 but MARSTRO 32 does not satisfy all users requirements Its display way is not perfect Users only can see points and lines in screen and this cannot show the detection information directly It increases using difficulty of users Figure 2 Display mode of MAESTRO 32 2 2 Genie 2000 Basic Spectroscopy Software Genie 2000 Basic Spectroscopy Software is radiation detection software designed by CANBERRA company It is a comprehensive environment for data acquisition display and analysis of gamma and alpha spectrometry data It also uses lines and points to display data information It independent supports for over 250 detector inputs Compatible with Windows 7 32 bit Windows XP Professional SP2 Windows Vista Enterprise and Business Editions Windows 2003 Server R2 and Windows 2008 Server 32 bit 9 ED mae Pand camm iani itis wA Dew Dee eee nm ieee Pe we die itiu E POMMI aloj inisi yia tari MIS v Ivecet MOP qe aot eo w tu t s W eos F A 4 m ev B A a uf 1 d ke s 9 4 S Figure 3 Display mode of Genie 2000 Basic Spectroscopy Software Chapter 3 Analyze requirements According to principle of software development procedure Software developm
21. d It mean when the application run the second time warning record should delete information happen in application running in first time 3 Synchronization Warning recorder should be synchronous with display of rainbow graph Rainbow graph is changing all the time If stop the function the rainbow graph will stop In the same time the warning recorder should check all data information from starting displaying rainbow graph to the stopping time point Do not be early or late Chapter 4 Software design In this chapter the theoretical methods will be given to achieve requirements and solve potential problems Figure 5 is operational principle diagram of software Radioactivity GPS 72 Detector data transmission data transmission Real time processing data Display Selectable Warning Real time dynamic areae recorde GPSe rainbow display positione graphe Figure 6 Operational principle diagram of software In this diagram we can see operational principle of the software clearly The software collects data from device firstly then uses methods to real time process data to gain valid data Use data to implement distinct functions such as display rainbow graph warning recorder and GPS position This software has three steps in essence First step is collecting data Second is processing data Third step is using data to implement functions 4 1 Design of how to collect detector data The objective of this proj
22. d the application can gain the geographical position with latitude and longitude values The detail will be explained in chapter 5 8 Chapter 5 Implementation 5 1 How to collect data from detector In design stage this function is designed to use the detector to save data files with a designated frequency How can the detector save data files automatically MAESTRO 32 provides a JOB function with running JOB file 12 The JOB file is a file to allow users to write what they want to do in it Then the software will run the JOB file and execute the instruction in it JOB file is very similar as a script A MAESTRO JOB file consists of one or more lines of ASCII text representing a series of commands that can automate most of the functions Here is a JOB example figure 12 HP ASE WERO BBV ANH SET_DETECTOR 1 SET_PRESET_LIVE 100 LOOP 10 CLEAR START WAIT 8 FILL_BUFFER SAVE D Workspaces MyEclipse 8 5 KKK TEST SPE END_LOOP QUIT Figure 13 Sample of JOB file SET_DETECTOR 1 MAESTRO 32 selects detector 1 to be the execution detector Because there might be more than one detector connect MAESTRO 32 SET_PRESET_LIVE 100 this instruction set the run time of this job That is 100 seconds LOOP 10 END_LOOP This command means do commands between LOOP 10 and END LOOP for 10 repetitions CLEAR and START It clears the data in active detector and starts it WAIT 8 delay for 8 seconds FILL_BUFFER
23. ect is to design additional functions to make users use better So if some functions already exist in ORTEC MAESTRO 32 Users can utilize them In my imagination finally users will run both ORTEC MAESTRO 32 and the software to detect radioactivity The software can be seen as a functionality supplement The software cannot collect data from detector directly because it has high level technical difficulty This project uses ORTEC MAESTRO 32 as an interface to solve this problem Firstly ORTEC MAESTRO 32 collects data directly from detector then ORTEC MAESTRO 32 saves that data file with ASCII type Finally the software uses read file method to gain the information of data Just like Figure 6 Export data file Java Read file Data file ORTEC MAESTRO 32 collect data from detector Figure 7 Principle of collecting data 4 2 Design of real time processing data To real time process data software must have the real time data In ORTEC MAESTRO 32 there is a JOB file It provides execute script function And software manual shows there is a LOOP command in this script language The design is to write a script in JOB file using LOOP command to let ORTEC MAESTRO 32 save data files to a designated path with designated frequency repeatedly Then the software reads files in this path one by one Design a method to make buffer to read data incremental It means the first time buffer reads the first export data file The second time
24. ent can be divided into four parts They are analyze requirements software design implement and testing Figure 2 is a diagram of software development procedure Project Starte Analyze requirements Adjustmente Testing andu user experiencee Figure 4 Diagram of software development procedure At the beginning my supervisor and I had a meeting with software users come from the Biological amp Environmental Sciences department of University of Stirling I received the feedback of using ORTEC MAESTRO 32 Record the requirements they give Users requirements l 2 3 4 Using rainbow graph to display data Support area display GPS position Display detect indexes 3 1 Analysis of Using rainbow graph to display data According to the feedback of using ORTEC MAESTRO 32 and their requirement I analyze the requirement Because of ORTEC MAESTRO 32 using line and point to show data It is not easy to read and predict It is not helpful for monitoring Color is easy to understand the meaning than number For example people do not know if 1000 is high or low in radioactivity detection But we know red stands for dangerous in common sense So a rainbow graph is better than lines in showing data The detector is sending data to laptop continually so the rainbow graph should be dynamic If the graph is changing and it should have a change frequency Users should have right to choose the changing frequency by
25. erstanding and support in my daily life Table of Contents d dirum NEM DRM M E i Attestat On tak she E a r A A A EUG euch e ROMA S ii Acknowledgements cec os e Reno Rx oye d EE uu TTE MSc aS See hwirt hadas lv Tabl OE Contents Sos rs Rodeo uh dete ER GHR S E RS a be esie bios Sos e Mtn S lv EistOt DIES 33 49 ca tura datiidatuss S6 dt aer ae E amid Ep A Ra datu eaa budi entras aad ecd Nis vi I Introduction 2c ED Et A ee A eee OREA 1 TL Background xc oes eoo beau ae D oc Siete te t den abet 1 1 2 Scope and ODJectives oec ER eto R e ree E thine Weise ae UA Fea reda 2 1 3 Achievement iiti eere ke EK wor Ld x ahe iin tedi dacs Dr Ye de 2 1 3 1 Dynamic rainbow graph 0 c cece cece ence nee e ence mme menm 2 1 3 2 Range displays ete eerte puit pd det a a 2 1 3 S GBPS poSItIOD sae et ia uec dotted iusti ates teh 3 1 3 4 Warning recorder o o o eR REM pede re aren HE Ee eds 3 1 4 Overview of Dissertation ccc cece cence cece ene ence eee ese mense eme eese enn 3 2 State of Thes Att c cocco Sec etu nci ed tie erc o se 4 2A ORTECMAEBSTRO 32 coeds a i ee PETER OR e E Lo E e se pha EI Pe deer eI PUES 4 2 2 Genie 2000 Basic Spectroscopy Software ssssssssssssssssseeeee en 4 3 Analyze Tequiemients cene me dee e metuit tede debe be e eere tere paa 6 3 1 Analysis of Using rainbow graph to display data 0 sce eeececeeeeeeeeee teenies 7 3 2 Analysis of range display
26. et colo seni te nt eee eee te exu Ex RUE ee EE ear E A woh ea RUE 25 5 5 Draw dynamic rainbow graph 0 0 cece cece cece cence neces e eme ee 25 5 6 Range displ yo eot oos e ded vc exte to T Rb Ere d er 27 So Warning record ui esseree tope rtu EI FII pU eH pre eiai 28 5 8 GPS functi D Leica e Eee ne Eo pe eee eae eee edad dle TREO sees Seeker dee eds 30 6 Testing and Users feedback rrecn cece cece nee e eee eese ee ehe emere 32 6 1 Testing the JOB function c cece cece eee cence ene eee meme meme 32 6 2 Testing display dynamic rainbow graph csse 32 6 3 Testing Threads oeste or eor EISE ER NREBUA E URN Oan IS ECHO EN 33 6 4 Testing warning record function ssssssssssssssssssssssse emen e emere 34 Je Conclusions cierta aee bedeutet d uae gestae vae gom eee tede esentium 35 dad S umimaty ose uas eet oe eene ER IER N ace Eee RUMNEUE USERS EN e Re pU AN CUR Ee ES 35 7 2 Bvaluation esse 21i ER ut eR pelle ip iren 36 Ta Future Work 2 rede e denn opea nance oni prre dep puente eee d mtis ege 37 7 3 1 Optimize function esses ee eme mener nee 37 7 3 2 Increase new fUNCTIONS 00 cece ccc e cence eee ence eee e eee e eee eeeeeeeenaeees 38 References cce MEE ERU ep RUE EDI EUER as 40 Appendix 1 Operation system requirement and JRE requirement seesesses 42 Appendix 2 User gulde 5252 ertet tee id dic hadestactate nae bete Do eg ne od e ora 4
27. executing the program in required condition to find out error of program and measure quality of software There are lots of tests I choose some of them to explain why and how I do it And users feedback should be expounded in7 2 6 1 Testing the JOB function This test is to check the data file can be saved in the right place It is important because only if the data files are saved in the designated folder then the application can read the data to implement functions Testing the MAESTRO if it can save data file to the designated folder Try 5 tests Test 1 Set JOB file to LOOP 5 WAIT 5 Test 2 Set JOB file to LOOP 50 WAIT 5 Test 3 Set JOB file to LOOP 5 WAIT 50 Test4 Set JOB file to LOOP 50 WAIT 3 Test 5 Set JOB file to LOOP 50 WAIT 1 Brief explanation LOOP N means set to ask MAESTRO 32 to do repetition for N times WAIT M means delay M seconds So each test is to ask MAESTRO 32 to save a file then delay for a designated time then repeat again Testing result Every test can save all data file into folder successfully If WAIT time is too short Some time the data file saving does not catch up with the time interval For example the time interval is set to Isecond and repeat 50 times sometime the data files saving procedure will exceed 1second So the software should be avoided to set the time interval to very short 6 2 Testing display dynamic rainbow graph The display dynamic rainbow graph f
28. figure 11 It just needs to do some modification in draw rainbow method to let users input a range Basic Display Area Dispaly Warning Record Please type in channel range From to Display Time Figure 12 Screenshot of rang display interface 4 5 Warning recorder Add command in the read file method to check each value if it exceeds the warning level If any data exceeds warning level the application will write the data in a record file Then when users want to read the record information the application will read the record file and display the information In the design record only displays the warning information from software starts detection to stop When Display rainbow graph button is pressed software will empty the record file and then if any data exceeds warning level the software will write it into this record file When show warning record button is pressed software read data from this record file to display on screen The detail will be explained in chapter 5 7 4 6 Design of GPS position The GPS device is Garmin GPS 72 That GPS 72 conforms to the NMEA 0183 specification 10 through its RS232 interface Maybe it is possible to connect its RS232 interface to laptop s USB socket Java Marine API is an NMEA 0183 parser library for Java 1 5 and newer 11 In the library there some useful command such as getSentence getPosition getLatitude and getLongitude With this comman
29. g Because the degree of accuracy of GPS 72 is 15 3m the application has the same accuracy 7 3 Future Work Future work should be divided into two parts They are optimizing function and increase new functions In 7 2 evaluations it involves some defects In future work they should be optimized Because of time limit lack of technology and environmental background some of Dr Andrew Tyler s requirements are not achieved in this project For example implement display more environmental indexes Multi range display In future they will be achieved 7 3 1 Optimize function There is a fatal condition limit of gaining data method The method should be design to avoid the speed of reading data is faster than the data creates There is a solution Design a method to control the saving time interval in JOB file to be the same as the frequency of the rainbow graph movement If do that speed of reading data is equal to speed of the data creates It can avoid this problem The read data file method is valid when there are at least two data files in the folder So if users set the saving time interval in JOB file to 5 second press the Connect to detector button and press real time rainbow graph button in 10 second it should be an error Because when the Connect to detector button is pressed the JOB file starts Every 5 seconds it will save a data file It needs 10 seconds to create two data files If there is not two data files
30. hanging rate is larger or equals to 6 and smaller than 9 Orange changing rate is larger or equals to 9 and smaller than 12 Deep pink changing rate is larger or equals to 12 and smaller than 15 Red changing rate is larger than or equals to 15 5 5 Draw dynamic rainbow graph The coordinate system includes channel axis time axis and color A time value and channel value can position a point But in this graph a time value and channel value position a small rectangle with size 2 x 5 So in one second the application draws 200 rectangles horizontally In next second these 200 horizontal rectangles move to upward And new 200 horizontal rectangles are drawn in the bottom The rest is deduced by analogy This makes the graph movable for int j 0 j count 1 j 44 for int n 12 n lt 212 n main bufferG setColor chooseColor f main bufferG fillRect 3042 n 12 525 5 j 2 5 This code is in loops f is the changing rate gain by calculating Application uses chooseColor float f method to find the corresponding color to draw the unit rectangle n 12 stands for the channel number n is a number from 12 to 211 For example if n 12 then fill a rectangle in position 30 525 5 j with size 2x5 This j is a count to record the movement times Variable n can make the rectangle horizontal movement and j can make the rectangle vertically Below is a series of dynamic rainbow graph The 1 second Channel The 2
31. ion The introduction part introduces the background of the project and what functions the project already achieved State of the Art will expound the existed software in detecting radioactivity and its defect Chapter 3 to chapter 6 is divided by software development procedure The first is analyzing clients requirements In this step clients requirements will be analyzed from rationality point of view and technical difficulties Predict problems may meet in software developing The second is design software Design software includes structure design and detail design In this step the design thinking will be expounded and answers of predicted problems will be given The third is implementation part This part will amply expound how to achieve requirements by coding and some core methods The fourth is testing and user experience This part shows some functionality tests Conclusion has three parts They are summary evaluation and future work Summary will review the achievement of the project Evaluation is a performance evaluation of the software Future work part will plan some additional functions and optimize program Chapter 2 State of The Art 2 1ORTEC MAESTRO 32 For 50 years ORTEC has been an industry leader in the design and manufacture of precision detectors signal processing electronics software and systems for industry academia and government requirements 5 ORTEC MAESTRO 32 is widely used in radiation detector Oper
32. l be solved in future In Dr Andrew Tyler s opinion the rainbow graph display is achieved the effect he wants The rainbow graph can correctly show the data information He tested this function with different radioactivity material and the software can display the difference But with many times of testing there is a potential problem If the move frequency of rainbow graph is too fast the movement of graph may delay This will be optimized in future Dr Andrew Tyler thought six kinds of colors is a little insufficient 10 colors may be better This will be modified later According to Dr Andrew Tyler s requirement want to focus on detail part of graph a range display is added And it achieved functionality of the design requirements The range display just support to display one range in the screen but Dr Andrew Tyler wants to display more ranges This function should be considered in future Dr Andrew Tyler is very satisfied with the warning record function design Because this is not in his requirements at first But it is very useful and intelligent for users With many times testing this warning record can efficiently record the data information which accord with condition GPS function is the requirement Dr Andrew Tyler pay more attention to He mentioned this function many times With testing the application can display the correct geographical position in the screen and the numerical reading will change following the position changin
33. mic rainbow graph the application will use the data that comes from the detector to show a real time moving colorful graph The graph can reflect three monitoring indexes X axis stands for channels Y axis stands for time and color stands for counts User can control start display rainbow graph stop displaying and the dynamic frequency of the graph I will amply introduce the dynamic rainbow graph in Chapter 3 1 1 3 3 Range display Base on display dynamic rainbow graph user can choose display range by typing number application allows users to choose different range to display part of dynamic rainbow graph and control its proceeding 1 3 3 GPS position Give a GPS position to let user know this rainbow graph shows the data detected in this position The GPS position data is from a Garmin GPS instrument named GPS 72 4 The GPS position consists of a longitude value and a latitude value It can locate any position accurately The degree of accuracy is 15 3 m 1 3 4 Warning recorder Warning record feature allows users to set a warning level and then the recorder will check data all the time If some data exceeds the warning level it will record this data information in a record note Users can gain the warning information in a time interval 1 4 Overview of Dissertation In the dissertation there are 7 chapters They are introduction state of the art analyze requirements software design implementation testing and conclus
34. nels is increase very slowly But when the detector is detecting a radioactivity metal the values of most channels are increasing fast This is the most important part which the read file method wants 5 2 8 Line 1042 1045 PRESETS Live Time 100 0 This is the mission live time limit From 0 100 5 2 9 Line others ROI 4 189 262 441 526 548 620 800 909 PRESETS Live Time 100 0 ENER FIT 108 371231 3 537106 NCA CAL 3 1 O83712E 002 3 537106E 000 6 608T40E 004 keV SHAPE CAL 3 2 520843E 000 3 615T43E 002 0 000000Et 000 Figure 16 Sample of data file From line 1036 to line 1053 except line 1042 1045 there is lots of information Such as ROI ENER FIT MCA CAL and SHAPE CAL They involve some result of formulae calculation and professional technology of environmental science If these data can be used it makes the application more powerful It may be done in future 5 3 Understanding of rainbow graph 5 3 1 Meaning of data in graph The rainbow graph uses color to show the different changing rate in different energy channel According to the data files come from detector each data file stands for total counts in a moment For example DATE MEA 08 29 2012 16 38 39 MEAS TIM 5 5 this stands for the data which when the mission run at the 5 second and record the total counts in different 1024 channels The counts in different channels are static or increasing all the time The objective
35. ng level In the application the warning level is settled to 15 It means any changing rate of data is out of warning level it will be recorded into warning record Warning Record Start Time 08 29 2012 16 38 39 Real Time27 channel29 Increase rate 20 0 Start Time 08 29 2012 16 38 39 Real Time27 channel30 Increase rate 17 0 Start Time 08 29 2012 16 38 39 RealTime27 channel32 Increase ratd 16 0 Start Time 08 29 2012 16 38 39 Real Time27 channel34 Increase rate 17 0 Start Time 08 29 2012 16 38 39 Real Time27 channel39 Increase rate 16 0 Start Time 08 29 2012 16 38 39 Real Time27 channel44 Increase rate 21 0 Start Time 08 29 2012 16 38 39 RealTime27 channel47 Increase rate 17 0 Start Time 08 29 2012 16 38 39 RealTime27 channel59 Increase rate 23 0 Start Time 08 29 2012 16 38 39 RealTime27 channel61 Increase rate 23 0 Start Time 08 29 2012 16 38 39 RealTime27 channel64 Increase rate 17 0 Start Time 08 29 2012 16 38 39 RealTime27 channel66 Increase rate 21 0 Start Time 08 29 2012 16 38 39 RealTime27 channel67 Increase rate 17 0 Start Time 08 29 2012 16 38 39 RealTime27 channel68 Increase rate 18 0 Start Time 08 29 2012 16 38 39 Real Time27 channel69 Increase rate 17 0 Start Time 08 29 2012 16 38 39 RealTime27 channel72 Increase rate 16 0 Start Time 08 29 2012 16 38 39 RealTime27 channel74 Increase rate 17 0 Start Time 08 29 2012 16 38 39 RealTime27 channel75 Increase rate 16 0 Start Time 08 29 2012 16 38 39 Real Time27 cha
36. nnel85 Increase rate 16 0 Start Time 08 29 2012 16 38 39 RealTime27 channel90 Increase rate 16 0 Figure 20 Warning record As the figure shows this detect mission started at 16 38 39 08 29 2012 When it was running at real time the 27 second It detects data in lots of channels exceed warning level This can give a reference to users to detect and analyze object This checks data if it is out of warning level function is inside the for loop in drawRainbow method When drawRainbow method draws each unit rectangle it will check the changing rate of that unit rectangle if it is out of warning level But drawRainbow method often read same data several time For example in the 1 second channel 1 is in the bottom but in the next second it needs to be read again because this data will be drawn to move up In the 3 second it still needs to be read To optimize application in this record method application only reads the data when the first time It is read if data file is first time to be read in each rainbow graph movement get the start time real time and live time if changing rate gt 15 write data in record file This j 0 means when first time to read this data f is changing rate The method sets the level to 15 If any data is higher than 15 then show its start time real time channel and changing rate Write this information into a warning file This function happens when users press Stop
37. of rainbow graph is to show the increasing rate in each channel 5 3 2 Gain changing rate In the beginning the data store folder is empty When users press Connect to detector button it will run JOB function in Maestro 32 Then Maestro 32 will save data file in data store folder with a given frequency When there are two data files in data store folder The application start to read data file Because the display meaning is changing rate The method is designed to read two continuous data files Then use the data in the late one to subtract the data in the early one Finally it will gain 1024 values in 1024 different channels Those values are the change in 1024 channels Then divide by interval time Give a brief example WHD SSE EAO EEV i SHO SE HEO DATE MEA BSPEC ID 08 29 2012 16 38 39 Lab Test MEAS TIM SPEC REM 5 5 DET amp 1 DATA T DETDESC MCB 129 O 1023 APH Maestro Version 6 08 ol DATE MEA 0 08 29 2012 16 38 39 0 MEAS TIM 0 E E 0 DATA 0 0 1023 0 o 0 o 0 o 0 Q 0 Q 0 0 T 1 8 0 2 D 3 0 6 0 12 E 10 2 12 2 9 Data File A Data File B Figure 17 Two continuous data files A is the data file of the 5 second B is the data file of the 7 second The interval time is 7 5 2 seconds In channel 1 both A and B are 0 So the change is 0 0 0 The changing rate is 0 2 2 0 An in channel 14 is 6 and B in channel 14 is 8 So the change is 2 0 2 the changing rate is 2 2
38. on Agency SEPA pays attention to monitor radioactivity 1 ORTEC Company is one of the world s best known manufacturers who produces radiation detector to detect the radioactivity and develops corresponding software 2 But ORTEC Company pays more attention to the detector and lost sight of the usability of the software For example the Biological amp Environmental Sciences department of University of Stirling uses software named ORTEC MAESTRO 32 version 6 08 3 to detect radioactivity This software uses lines and points to show the radioactivity values Users feel that is not use friendly enough and they want more useful functions There is a sample graph of display mode in chapter 2 1 2 Scope and Objectives Because ORTEC MAESTRO 372 has some defects the objective of this project is to develop a Java application which is based on ORTEC MAESTRO 32 and has some extra functions to satisfy users demands ORTEC MAESTRO 22 uses lines and points to show index values but we need to show values with dynamic rainbow graph A rainbow graph can directly show three indexes and it is easy to distinguish the increase rate of the counter ORTEC MAESTRO 32 does not have a GPS position with data Any data without GPS position is not meaningful we do not know the data stands for where the data providers information about A GPS function is necessary 1 3 Achievement Some main functions had been achieved 1 3 4 Dynamic rainbow graph A dyna
39. reaDisplay in the user interface to go to AreaDisplay panel Basic Display Area Dispaly Warning Record Please type in channel range From to Display Time First input two number to make a valid range For example you input 50 in the front text field and 100 in the back text field it means range 50 100 that is valid But if you put 100 in front 50 in black it is invalid If you enter a valid range then you can see the range rainbow graph When you start to display graph the software is check every data with warning level You need to click stop first then click Warning record in Warning Record panel to see the result 6 Real time processing Gamma ray data system Connect to detector type frequency M Basic Display Area Dispaly Warning Record Warning Record Start Time 08 29 2012 16 38 39 Real Time2 channel35 Increase rate 10 0 Start Time 08 29 2012 16 38 39 Real Time5 channel30 Increase rate 15 0 Start Time 08 29 2012 16 38 39 Real Time5 channel35 Increase rate 10 0
40. ries screenshot of dynamic rainbow graph esee 27 Figure 19 sample of range display cc cece eee e cece ene eect eee e m meme 28 Figure 20 Warning record igo nes ca Ere pe apart esr dade M eU URDU DER REOR 29 Figure 21 USB port setting ies prre Petr pe ER eh cuesbogens Grey seuss 30 Figure 22 Sample of output of sentenceRead 0 cece cece eee e eee ee eee eee eneenenaenes 31 Fipure 23 Thread testing ies ee wea ee 33 Figure 24 Result of warning record sc ceeeeee ence eee eee ee ene eeeeeaeeneeeaeenes 34 Figure 25 Some information of data file 00 cece cence eee eee ne ee ene ene eeenaenaes 38 Chapter 1 Introduction 1 4 Background Everything in the world is made up of atoms Some atoms are stable but some are not Radioactivity is the process whereby unstable atomic nuclei release energetic subatomic particles Radioactivity was first discovered in 1896 by the French scientist Henri Becquerel and then radioactive materials are used widely in industry military medicine and research In the past 100 years people extensive used radioactive materials without long term plan Nowadays radioactively contaminated land is a pressing issue It harms human s health and reduces living space of human Figure 1 shows a Polluted area this area is not suitable to live for human Figure 1 Radioactivity pollution Now people notice that issue and Scottish Environment Protecti
41. ta file When the data files are collected data analysis is the first step The read file method must be designed accord with data type Double click the data file TESTO00 SPE it is a graph 0 m l Iz WinPlots TESTO00 Spe e oa File Options Help TESTOOO Lab Test Counts h LLZZZI 108 00 754 00 1523 00 2218 00 2821 00 Energy keV Acquired 2012 8 28 5 14 25 Real Time 2 00 s Live Time 2 00 s File D NWORKSP 1SMYECLI 1 5NKKKNdataNTESTOUD Spe Channels 1024 Detector 1 MCB 123 Figure 14 Open the data file TESTO00 SPE with WinPlots Open the data file TESTO00 S PE with notepad the data detail can be seen TESTOOO Spe i i B p Tt al nac M Te51000Spe ica 2 2626464 amp IHF SE ELO BSW BAH LHA SE EEO BBV 88h H SPEC_ID 0 Lab Test 0 SPEC REM 0 DET 1 0 DETDESC MCB 129 0 AP Maestro Version 6 08 0 DATE_NEA 0 08 28 2012 05 14 25 0 MEAS_TIN d 252 s E 0 548 620 0 800 909 0 SPRESETS 0 Live Time 0 100 0 ENER FIT 0 108 371231 3 537106 0 NCA CAL 3 0 1 08371284002 3 537106E 000 6 608740E 004 keV SHAPE CAL 3 i 2 520843E 000 3 615743E 002 0 000000FE 000 3 Beginning part of TEST000 SPE End part of TEST000 SPE Figure 15 Open the data file TESTO00 SPE with notepad In a data file there is so many information data analysis is order to know which information is wanted by program Compare the graphic d
42. tion to display the warning record Then contrast the warning record with the value in data file Using randomly selective examination to check the data correctness For example the warning level is set to 9 0 And then the warning record displays the result as figure 23 I BasicDisplay Area Dispaly Warning Record Warning Record Start Time 08 29 2012 16 38 39 Real Time2 channel35 Increase rate 10 0 tart Time 08 29 2012 16 38 39 RealTime5 channel30 Increase rate 15 0 Start Time 08 29 2012 16 38 39 Real Time5 channel35 Increase rate 10 0 tart Time 08 29 2012 16 38 39 Real Time7 channel18 Increase rate 10 0 Start Time 08 29 2012 16 38 39 Real Time channel33 Increase rate 10 0 Figure 24 Result of warning record Using randomly selective examination to check Real time 2 channel 35 if the increase rate is 10 0 Find out the value from data file In data file Test001 SPE counts of channel 35 is 3 In data file TESTOO2 SPE counts of channel 35 are 13 The time interval is 1 second So the increase rate 13 3 time interval 10 0 It proves that warning record function is correct Chapter 7 Conclusion 7 1 Summary In this project the main requirements that the Biological amp Environmental Sciences department of University of Stirling wants are achieved The software is developed on the basis of software engineering procedure The procedure is analyze requirements software design implement
43. unction is most important function in the software It has a real meaning The software is expected to use in radiation detection So this quality of this function must be tested The test had been done by Dr Andrew Tyler who is the client of this software He used several kinds of radioactivity materials to test if the software can correctly display the change of rainbow graph Some material can let the channel 0 50 become red some can let the channel 0 200 become red So users can measure the unknown detected object 6 3 Testing Threads To ensure the software can provide executing multi task simultaneously This test is to check if the software can respectively run basic display and range display simultaneously First press Display rainbow graph after 15 seconds press display button in Area Display panel Figure shows two display functions respectively run simultaneously Basic Display Area Dispaly Warning Record Basic Display Area Dispaly Warning Record f Display rainbow graph Stop Continue Clea Please type in channel range From 15 1 Time Time 6 Channel 100 Basic Display panel Area Display panel Figure 23 Thread testing 6 4 Testing warning record function The warning record function is human friendly It should be check to avoid missing data information In this testing I run the program for several times each time asks the applica
44. upport users to execute area display and overall display in the same time So thread technology should be used 3 3 Analyze requirement GPS position Function GPS position is to display a position consisting of a longitude value and a latitude value Any place in the world has a unique longitude and latitude coordinate Users hope each detected data has a position coordinate then they can know where the data providers information about There are some technical difficulties 1 How to collect data A laptop collected data from another device will involve interface recognition 2 How to choose data If I can collect data from GPS 72 I am not sure the data type is valid for my application If the data type is invalid how can I change the data type to satisfy my application When the data type is valid find out the useful information from all data The application only needs longitude and latitude coordinate So it can ignore any other information just focus on longitude and latitude values 3 4 Analyze requirement Display detects indexes Display some detect index to let users know the detection report It involves lots of environmental science technology and some formulae I am not sure if the value that collected from the data file can be directly used or it needs to use formulae to gain the result I do not have background of Biological amp Environmental Sciences So I do not know meaning of these indexes and how to o
45. utput values of these indexes In order to do this part I need support of Biological amp Environmental Sciences department of University of Stirling No professional background and setting formulae are the difficulties in this requirement I cannot give a prediction for this requirement In another word I am not sure I can achieve this requirement perfectly Because my dissertation only has three months I make an achievement order I will try to achieve other requirements prior 3 5 One additional function I want to implement I think about the utility of the application And I want to add a warning recorder This function is to support users to set a warning level when the application and the detector are running If sometime the detection index is out of warning level the warning recorder will record that data information I hope it can help users to implement time interval monitor or daily check It means users just need turn on detector and run program then they check once end of the day they can see the warning data information of the whole day Some technical key point I consider 1 Problem of data The data is sent by detector How to collect data and choose the useful value in data 2 Update warning record In common way I will write the information out of warning level into a file And each time I just display the warning information from start application to the end So there is a key point in how to update warning recor

Download Pdf Manuals

image

Related Search

Related Contents

OKS 476 - INGSUMOS Ltda.  Service Manual - Appliance Factory Parts  Valueline VLCB34800B30  Mintek Pacemaker LV-T User's Manual  9201_Manuale Belardi - Meccanica Industriale S.r.l.  Weatherables DTPR-T&G-6X44.5 Instructions / Assembly    View Product Label - KellySolutions.com    BJC-8500 User`s Manual  

Copyright © All rights reserved.
Failed to retrieve file