2019年2月16日星期六

The third week

In the third week, all of our members which include TONG WU, XIUQI LIU, ZIANG XU and ABDULLA ALAMRI attended the meeting with our supervisor in 12 February. The supervisor taught us the procedures to design a software program: Specifications, Design, Implementation, Testing and asked us to think about how to turn the program to other form so that user who does not have MATLAB can also use that. In that meeting, we also showed the supervisor what is the algorithm of the calibration part and grabbing point part. In this Friday lab session, team leader TONG WU would try to add the zoom in/out function and save file function, XIUQI LIU, ZIANG XU would take charge of other parts of design writing in the report and ABDULLA ALAMRI would write the testing part of the report.

The third week


In this Friday lab session, we finished the coding of zoom in/out and save file function along with function of displaying x, y data in the table box. After calibration and grabbing points, the data will be displayed on the table next to it and a curve plotted with those data will be displayed in the preview box, which is shown in the picture below. in Figure 1, 2.
Fig.1 Results of 'Grab Points'


Fig.2 Results displayed in Preview box


Fig.3 Results displayed in Data table

Also, user can press 'Save as excel file' and the program will ask user to input the file name. The file will be saved in the same file as the .m file. The results are shown below in Figure 4,5,6.
Fig.4 Results displayed in Excel file

Fig.4 Ask user to input file name

Fig.4 Excel file to save data

Next week, we will try to deal with the problems of illegal input when asking user to input values or name of the file. Moreover, we will do some research on how to convert it into a form which can be used by user who does not have MATLAB.

没有评论:

发表评论