23 Pages

glspost

Course: ENSC 305, Fall 2009
School: Sveriges...
Rating:
 
 
 
 
 

Word Count: 5391

Document Preview

of GIVELIFE Systems School Engineering Science, Simon Fraser University Burnaby, BC, V5A 1S6 December 15, 2003 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, British Columbia V5A 1S6 Re: Post-Mortem Report for an Emergency Response System Dear Dr. Rawicz The attached document, Post-Mortem Report for an Emergency Response System, outlines the process our team went through when...

Register Now

Unformatted Document Excerpt

Coursehero >> Other International >> Sveriges lantbruksuniversitet >> ENSC 305

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
of GIVELIFE Systems School Engineering Science, Simon Fraser University Burnaby, BC, V5A 1S6 December 15, 2003 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, British Columbia V5A 1S6 Re: Post-Mortem Report for an Emergency Response System Dear Dr. Rawicz The attached document, Post-Mortem Report for an Emergency Response System, outlines the process our team went through when designing and implementing our product for our ENSC 340 project. We are developing a device that will help people with medical conditions obtain assistance under emergency situations. This document details the current state of the device, deviations from our original plans, and our future plans for the device. In addition, we outline some of the budget details and time constraints we encountered and explain the inter-personal and technical experience gained from working on the project. GiveLife Systems was formed in September of 2003 by four motivated, innovative, and talented engineering students: Tristen Georgiou, Yang Pan, Hashina Parveen, and Melody Guo. If you have any questions or concerns about our functional specification, please feel free to contact me by phone at (604) 771- 6089 or by e-mail at givelifesystems@sfu.ca. Sincerely, Y Pan Yang Pan President and CEO GiveLife Systems, Inc Enclosure: Post-Mortem Report for an Emergency Response System Copyright 2003 by GiveLife Systems, Inc. GIVELIFE Systems Post-Mortem Report for an Emergency Response System Project Team: Tristen Georgiou Yang Pan Hashina Parveen Melody Guo Dr. Andrew Rawicz ENSC 340 Mr. Steve Whitmore ENSC 305 School of Engineering Science Simon Fraser University December 15, 2003 1.0 Submitted to: Issued date: Revision: Copyright 2003 GiveLife Systems Inc. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, including photocopying, electronic, mechanical, recording or otherwise, without prior permission of GiveLife Systems Inc. TABLE OF CONTENTS TABLE OF CONTENTS ..............................................................................................................................I 1. 2. 3. INTRODUCTION ............................................................................................................................... 1 CURRENT STATE OF THE DEVICE............................................................................................. 2 DEVIATION FROM PLAN............................................................................................................... 3 3.1 OVERALL SYSTEM ................................................................................................................................ 3 3.2 PULSE SENSOR & BUTTON .................................................................................................................... 3 3.3 RF TRANSMITTER/RECEIVER ................................................................................................................ 3 3.4 BASE STATION TELEPHONY & VOICE RECORDING/PLAYBACK ......................................................... 4 4. FUTURE PLANS ...................................................................................................................................... 5 4.1 OVERALL SYSTEM ................................................................................................................................ 5 4.2 PULSE SENSOR & BUTTON .................................................................................................................... 5 4.3 RF TRANSMITTER/RECEIVER ................................................................................................................ 5 4.4 BASE STATION TELEPHONY & VOICE RECORDING / PLAYBACK........................................................ 5 5. BUDGET DETAILS AND TIME CONSTRAINTS .............................................................................. 6 5.1 BUDGET ................................................................................................................................................ 6 5.2 TIME ..................................................................................................................................................... 7 6. INTER-PERSONAL AND TECHNICAL EXPERIENCES ................................................................. 8 6.1 YANG PAN ............................................................................................................................................ 8 6.2 TRISTEN GEORGIOU .............................................................................................................................. 8 6.3 HASHINA PARVEEN ............................................................................................................................... 9 6.4 MELODY GUO ..................................................................................................................................... 10 APPENDIX A: SOURCE CODE............................................................................................................... 11 VISUAL BASIC CODE (PC PROGRAM) ....................................................................................................... 11 FIRMWARE (C CODE)................................................................................................................................ 18 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 1. INTRODUCTION GiveLife Systems (GLS) use off-the-shelf sensors, microcontrollers, and wireless technology to develop Intelli-Alert . The system improves upon existing technology by monitoring and acting upon pulse rates of the user. This report reexamines the process that took this dream from concept to reality and documents the earth-shattering experiences of each of the four members. Copyright 2003 by GiveLife Systems, Inc. 1 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 2. CURRENT STATE OF THE DEVICE Pulse Sensor & Button RF sub-system Voice Recording/ Playback Telephony Figure 1 System Block Diagram Figure 1 above shows the system block diagram of the major components of Intelli-Alert . When the pulse sensor detects the users irregular pulse beat or the panic buttons are pressed, the RF transmitter sends a radio signal to the RF receiver at the base station located in the house. The telephony system dials the pre-programmed numbers for help. Once the call is answered, the base station will play a pre-recorded message stating the address where help is needed. The IR LED and phototransistor pairs are placed on opposite sides of finger to detect a human pulse from the fingertips. A circuit which consists of signal acquisition, filtering, and amplification is used to detect and amplify the small signal caused by blood flow. Two SPST-NO switches are placed in series and connected to the microcontroller. A simple and efficient firmware is designed for the OOPic II microcontroller evaluation kit. The microcontroller monitors a few different conditions and act upon those conditions. The code simply handles the following two conditions: both buttons depressed simultaneously or a 0 pulse rate. If either of these conditions is detected, one of the digital I/O pins will go high, and the emergency signal will be transmitted. Both the pulse sensor and push buttons are interfaced directly into the microcontroller. Each is connected to one of the microcontrollers digital I/O lines. The Master Evaluation Kit model # MDEV-900-HP produced by Linx Technologies is used to implement the RF link between the remote device and the base station. The data input pin on the Linx MDB with the transmitter module is directly connected to the digital output from the microcontroller. The Linx MDB with the receiver module is connected to a PC via a serial connection. Copyright 2003 by GiveLife Systems, Inc. 2 GIVELIFE Systems Post-Mortem Report for an Emergency Response System A TAPI-compliant voice modem is used to handle the telephony portion of our product. TAPI sets up the path for call but does not interpret the data on the path. It requires appropriate media stream API to handle the media stream. Microsoft Visual Basic 6.0 is used to write an application which functions as 1) an interface for the user to record message and set phone numbers to be dialled under emergency situation and 2) make emergency phone calls when radio trigger is received. 3. DEVIATION FROM PLAN 3.1 Overall System In terms of functionality, we achieved the minimum requirement that we planned. Due to time and budget constraints, we were unable to package the device to make it water proof. 3.2 Pulse Sensor & Button The final prototype of pulse sensor device is made for the user to wear it around his finger rather than on his wrist. This is due to the difficulties we faced in getting out electrical circuit to detect the pulse via the wrist. The idea we had on using infrared sensors to detect the pulse instead worked better through the finger, as differences in voltage were much higher and more detectable. 3.3 RF Transmitter/Receiver Everything worked out well with the RF modules. With its default functions and easy instructions, using the modules was a breeze. Only thing is that the RF transmitter is really big and does not fit onto the wrist. As a prototype, this is fine but for future development, an inbuilt model will be designed. Copyright 2003 by GiveLife Systems, Inc. 3 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 3.4 Base Station Telephony & Voice Recording/Playback Instead of designing a telephone answering machine from scratch to ring for help, we designed a software interface to ring for help via the modem telephone line. Using Microsoft Visual Basic 6.0, the interface was designed as shown below. Figure 2 The Final GUI This is a more efficient way of doing so as nowadays almost everyone has a computer in his or her home. With easy installation of the interface to the computer, the system is up and ready for action. The voice recording and playback functionality is embedded into our control program, instead of using any third party program. We have created this option to let the user personalize his/her own voice message for help using this embedded recording function. This way the user can edit the voice message in such a way that the users address, telephone or even the next of kin to call can be played out. This simplifies the process of using our product. Copyright 2003 by GiveLife Systems, Inc. 4 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 4. FUTURE PLANS 4.1 Overall System Intelli-Alert has great potential for further research and development. As we reexamine the development of the device, we have the following suggestions for future development. Placing the pulse sensor on the finger can interfere with everyday activities, so future plans include research for placing the sensor in unobtrusive areas of the body, such as the wrist or earlobe Although, there are many similar emergency response devices out in the market there is none the monitors pulse, and we feel strongly that our device caters to the elderly. Thus, there is a need for improvement on our prototype in terms of making it more user-friendly to the elderly and ensuring its durability since it will be worn all the time. 4.2 Pulse Sensor & Button The current pulse sensor works by letting the user wear it on his finger. This can be uncomfortable and inconvenient at times since most of us use our hands to do many activities. A more pleasant way of keeping the device on the body is wearing the device like a watch. It is still there but does not come in your way during your everyday activities. Thus, a future development of this device is to re-design it to be worn on the wrist where the infrared sensors can effectively detect ones pulse. 4.3 RF Transmitter/Receiver Right now in our prototype, the RF transmitter and receiver are separate from rest of the components of the system. For future development of this product, the RF transmitter can be integrated with the pulse sensor on the wrist and the RF receiver to a PC or laptop that has the installed version of the Intelli-Alert interface system. 4.4 Base Station Telephony & Voice Recording / Playback The interface designed for the Intelli-Alert system is adequate enough to handle most of the functions required of the system. A possible improvement could be to Copyright 2003 by GiveLife Systems, Inc. 5 GIVELIFE Systems Post-Mortem Report for an Emergency Response System develop a matching telephone answering system specific to the Intelli-Alert emergency response system, catering to the needs of the users. An embedded base station version is also planned. 5. BUDGET DETAILS AND TIME CONSTRAINTS 5.1 Budget Table 1 contains the estimated cost and the cost of the project up to December 15, 2003. Table 1: Table of Estimated Cost vs. Actual Cost Required Materials Sensors OOPic Microcontroller RF Transmitter / Receiver LCD Miscellaneous Items Contingency Total Estimated Cost 60.00 Donated 80.00 Donated 40.00 27.00 207.00 Actual Cost 55.00 Donated Donated Donated 10.00 65.00 The cost listed above is the amount spent working on the prototype of the Intelli-Alert system. We were fortunate enough to borrow certain items, such as the RF Transmitter and Receiver from Dr. Andrew Rawicz. Some of the items came from our resource-guy Tristen too. Because our major devices were borrowed, our estimated cost is lower than the actual cost of the project. If we had to purchase everything, the total cost would have been approximately $600.00. We estimate the mass produced version to cost approximately $100 per unit. Copyright 2003 by GiveLife Systems, Inc. 6 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 5.2 Time A Gantt chart is shown below in which the expected times to completion are indicated in blue and the actual time taken to complete are indicated in pink. It is amazing that we managed to stick to our schedule most of the time. This is because we realised early that time management is important in order to achieve the expected deadline of the 2nd week of December (after our exams). Only our implementation and integration took longer than expected due to some problems we face in getting all the different components working together. Despite this slippage, we had the first successful trial on December 2nd. Since then, more modifications have been taking place to improve robustness of the device. We also used this time to fix any major software and firmware bugs. Our group was the second ENSC 340 group to demonstrate our device on Monday, December 15, 2003. By adhering to the schedule, we were able to distribute the frustration and pressure throughout the entire semester. ID Task Name Weeks of Sept. 1 2 3 4 Weeks of Oct. 1 2 3 4 Weeks of Nov. 1 2 3 4 Weeks of Dec. 1 2 3 4 1 2 3 4 5 6 7 Research Proposal Functional Specification Design Specification Implementation / Integration Debugging Modification Documentation / Website Figure 3: Gantt chart Copyright 2003 by GiveLife Systems, Inc. 7 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 6. INTER-PERSONAL AND TECHNICAL EXPERIENCES 6.1 Yang Pan Working on this project has been a great experience. I not only learned a lot of technical skills, but also gained insights into group dynamics and the documentation process. On the technical side, I managed to learn and program in visual basic. Since we want our program to be as integrative as possible, I have to learn how to use VB ActiveX control objects to perform certain tasks. Given that I have never done any similar work before, this task has been a challenging one. I am glad I managed to beat the learning curve and get the program working in the end. As an engineer, I always dislike writing documentations. However, completing this project has taught me the importance of documentation. For instance, by writing the functional specification, I had a much better idea of where this project is going and what I need to do next. Without proper documentation, the whole process would not have been as smooth as it has been. Working in a group is not easy as well. Each group member has his/her own schedule, strengths/weaknesses. This project taught me how to best manage time in a group setting and how to distribute tasks according to each group members strengths and weaknesses. 6.2 Tristen Georgiou The experience gained from this project has been invaluable. As a team we pulled through well, and as an individual I gained much technical experience. The most important lesson I have learned is that the theory we learn in class can only take you a certain distance, and from there experience is the most important. Many times when I was working on the pulse sensor device, the expected theoretical results were non-existent, and at other times favourable results occurred when theory said it was impossible. This being said, most times a reasonable explanation could be formulated, and the project could go on. For example, I built a circuit using my theoretical skills from my education, and found that the circuit would not work as I expected, but when I moved the probes to a different point on the circuit, favourable results would arise. The reason behind this was due to the fact that my circuits impedance was so high, that the probes impedance could not be ignored; the simple act of observation changed that which was being observed (think that is a famous quote, but not sure where I heard it). Copyright 2003 by GiveLife Systems, Inc. 8 GIVELIFE Systems Post-Mortem Report for an Emergency Response System I also learned much about product documentation, and I am sure that the functional and design specification knowledge I gained will be invaluable if I ever design my own product. Finally, I think my teamwork skills have improved. It was challenging working with a group with very different backgrounds, but we all learned how to overcome such minor problems and work out any differences we might have. Overall I think we worked very well as a group, and we have all gained better personal skills because of it. 6.3 Hashina Parveen Working on the Intelli-Alert emergency response system for GiveLife Systems, Inc. has taught me a lot in terms of interpersonal relations and teamwork. The four of us came from very different backgrounds. Yet, we somehow managed to work together as a team getting this great product, Intelli-Alert into fruition. I was in charge of working on the interface of the Intelli-Alert system. Being a person who is not into computer software, learning a new programming language, Microsoft Visual Basic 6.0 (VB) was a challenge itself. To include TAPI programming into VB was even a tougher one. At times I almost gave up. I am thankful that Yang Pan helped me out towards the end, or else you would not have an interface for the system. In terms of interpersonal relations, Melody and I were good friends from back home in Singapore before we worked together for ENSC 340. To do a project module with people you did not really know was tough especially when you want to communicate something important with them. Having a shy personality with guys did not help much either. Yang and Tristen are wonderful guys who did most of the work and did not bother us gals much. At times, it felt that they were leaving us out of the loop but I understand that they work better by their own and only want to inform us when things are working well rather than all the time. I am glad that things turned out well in the end. The four of us are friends now and the prototype turned out great. Thanks to the three of you, for all you have taught me (Yang, Tristen and Melody) and also to the professors, Andrew and Steve and TAs who guided us along the way. If I was a pain at times, I am sorry but if I was an inspiration to you, I am happy to be of serve. Copyright 2003 by GiveLife Systems, Inc. 9 GIVELIFE Systems Post-Mortem Report for an Emergency Response System 6.4 Melody Guo This project has been an extremely challenging but exciting experience for me. This is the first project-based course I that have taken. At the beginning of this semester, I heard that this course was going to be super tough. Well, it turns out quite true. Being an engineering third year student with little practical experience, especially in hardware is obviously disadvantageous in this kind of project. Thanks to other team members. Their hard working really inspired me. From a technical perspective, I increased my knowledge of programming in Visual Basic and learned how to integrate software with hardware. To me, Visual Basic is a new programming language. Doing voice recording and play back was not an easy job initially. After going through a tough trial and failure process, I eventually got it done. It taught me how to deal with frustration too. Interpersonally, I have learned to be understanding. Working in a group is much more challenging than individually, especially when 4 of us come from different backgrounds. I feel extremely lucky to have worked with my team mates. Its a quite eye-opening experience. Overall, It has been a very precious experience and I enjoyed working very much with my group. Copyright 2003 by GiveLife Systems, Inc. 10 GIVELIFE Systems Post-Mortem Report for an Emergency Response System APPENDIX A: SOURCE CODE Visual Basic Code (PC Program) Option Explicit Public SerialIn As String Public i% Public TimerCounter As Integer Public counter% 'counter used to record which phone # to call Public timesPlayed% Public msgPath As String Public emptyCount As Integer '# of empty tel# memory Public AlertNum As Integer Private Type MCI_WAVE_DELETE_PARMS 'parameter structure needed for MCI_DELETE Callback As Long From As Long To As Long End Type Private Declare Function mciSendCommand Lib "winmm.dll" Alias "mciSendCommandW" ( _ ByVal wDeviceID As Long, _ ByVal uMessage As Long, _ ByVal dwParam1 As Long, _ ByVal dwParam2 As Any) As Long 'dwParam2 is the addr of the param struct Private Declare Function mciGetErrorString Lib "winmm.dll" Alias "mciGetErrorStringW" ( _ ByVal dwError As Long, _ ByVal lpstrBuffer As String, _ ByVal uLength As Long) As Long Private Declare Function GetAddrOf Lib "kernel32" Alias "MulDiv" ( _ nNumber As Any, _ Optional ByVal nNumerator As Long = 1, _ Optional ByVal nDenominator As Long = 1) As Long Private Declare Function timeGetTime Lib "winmm.dll" () As Long 'declare a TAPI variable Private currCall As ITAPICall Private Sub Form_Load() Move (Screen.Width - Width) \ 2, (Screen.Height - Height) \ 2 '-------------initialize some global variables TimerCounter = 0 counter = 0 timesPlayed = 0 emptyCount = 0 msgPath = App.path & "\msg.wav" AlertNum = 0 '-----------read stored phone number from file to memory----------Dim phonenumber$(3) Dim path$ path = App.path & "\number.dat" Open path For Input As #1 Copyright 2003 by GiveLife Systems, Inc. 11 GIVELIFE Systems Post-Mortem Report for an Emergency Response System i=0 Do While Not EOF(1) 'if file not empty, load the numbers Input #1, phonenumber$(i) i=i+1 Loop Close #1 If i <> 0 Then i=i-1 End If Dim MemCounter% For MemCounter = 0 To i lblMem(MemCounter).Caption = phonenumber$(MemCounter) Next '================================================================ '------------------initialize serial port---------------------'Use COM1. SerialPort.CommPort = 1 '4800 baud, no parity, 8 data, and 1 stop bit. SerialPort.Settings = "4800,N,8,1" 'Tell the control to read entire buffer when Input is used. SerialPort.InputLen = 0 'Open the port. SerialPort.PortOpen = True '================================================================= '----------------initialize MMcontrol-------------------------------With MMControl .Notify = True .Wait = True .FileName = App.path & "\msg.wav" .TimeFormat = 8 'in bytes .RecordMode = mciRecordOverwrite .Command = "Open" 'must do "open" after setting the properties!!! (spent 2 hrs to figure this shit out!) End With '==================================================================== Dim line As ITAPILine mTAPIEx.Initialize 'Initialize For Each line In mTAPIEx.Lines 'enumerate the line devices If line.Caps.Media_Modes And TAPIMEDIATYPE_AUDIO Then cboLineSel.AddItem line.DeviceName 'check the device audio caps cboLineSel.ItemData(cboLineSel.ListCount - 1) = line.DeviceID End If Next cboLineSel.ListIndex = 0 'make the first device to be the default TAPI device End Sub Private Sub Form_Unload(Cancel As Integer) MMControl.Command = "Close" mTAPIEx.UnInitialize End Sub Private Sub cmdExit_Click() Dim pintReturn As Integer pintReturn = MsgBox("Do you really want to quit?", vbOKCancel + vbQuestion + _ vbDefaultButton2, "IACC") If pintReturn = vbOK Then Unload Me End If End Sub Private Sub cmdKeypad_Click(Index As Integer) ' Responds to mouse click on keypad buttons on screen Copyright 2003 by GiveLife Systems, Inc. 12 GIVELIFE Systems Post-Mortem Report for an Emergency Response System If Index >= 0 And Index <= 9 Then If Len(lblDisplay.Caption) < 11 Then lblDisplay.Caption = lblDisplay.Caption & Index End If ElseIf Index = 10 Then If Len(lblDisplay.Caption) < 11 Then lblDisplay.Caption = lblDisplay.Caption & "*" End If ElseIf Index = 11 Then If Len(lblDisplay.Caption) < 11 Then lblDisplay.Caption = lblDisplay.Caption & "#" End If ElseIf Index = 12 Then If Len(lblDisplay.Caption) > 0 Then lblDisplay.Caption = Left(lblDisplay.Caption, Len(lblDisplay.Caption) - 1) Else End If Else 'index = 13 the clear key lblDisplay.Caption = "" End If End Sub Private Sub cmdKeypad_MouseDown(Index As Integer, Button As Integer, _ Shift As Integer, x As Single, Y As Single) cmdKeypad(Index).BackColor = &H80FFFF End Sub Private Sub cmdKeypad_MouseUp(Index As Integer, Button As Integer, _ Shift As Integer, x As Single, Y As Single) cmdKeypad(Index).BackColor = &HC0FFC0 End Sub Private Sub Form_KeyPress(KeyAscii As Integer) ' responds to keyboard press. it relates keyboard keys 0-9, *, # and backspace to ' corresponding keys on the keypad on screen. all other key presses are ignored Select Case KeyAscii Case 48 cmdKeypad_Click (0) Case 49 cmdKeypad_Click (1) Case 50 cmdKeypad_Click (2) Case 51 cmdKeypad_Click (3) Case 52 cmdKeypad_Click (4) Case 53 cmdKeypad_Click (5) Case 54 cmdKeypad_Click (6) Case 55 cmdKeypad_Click (7) Case 56 cmdKeypad_Click (8) Case 57 cmdKeypad_Click (9) Case 42 cmdKeypad_Click (10) Case 35 cmdKeypad_Click (11) Case 8 cmdKeypad_Click (12) Case Else KeyAscii = 0 End Select End Sub Copyright 2003 by GiveLife Systems, Inc. 13 GIVELIFE Systems Post-Mortem Report for an Emergency Response System Private Sub cmdMem_Click(Index As Integer) lblMem(Index).Caption = lblDisplay.Caption lblDisplay.Caption = "" Dim path$ path = App.path & "\number.dat" Open path For Output As #1 Dim counter% For counter = 0 To 3 Print #1, lblMem(counter).Caption Next Close #1 End Sub Private Sub MMControl_PlayClick(Cancel As Integer) With MMControl .Command = "Prev" 'rewind to the beginning of the sound clip .Command = "Play" End With End Sub Private Sub MMControl_RecordClick(Cancel As Integer) MMControl.Command = "Prev" '1st, the old wave file has to be erased Const MCI_DELETE As Long = &H856 Const MCI_WAIT As Long = &H2& Dim del_param As MCI_WAVE_DELETE_PARMS del_param.Callback = 0 del_param.From = 0 del_param.To = MMControl.Length Debug.Print "wave clip length = " & MMControl.Length Dim Addr As Long: Addr = GetAddrOf(del_param) 'get the address of del_param Dim retval As Long retval = mciSendCommand(MMControl.DeviceID, MCI_DELETE, MCI_WAIT, Addr) 'Debug.Print MMControl.DeviceID 'used to get and print the error msg==================== Dim ErrorMsg As String ErrorMsg = String(1024, vbNullChar) ' Reserve space for message mciGetErrorString retval, ErrorMsg, 1024 ' Get message ErrorMsg = Left(ErrorMsg, InStr(1, ErrorMsg, vbNullChar) - 1) 'trim away remaing null chars Debug.Print ErrorMsg ' print message '======================================================= MMControl.Command = "Save" MMControl.Command = "Record" End Sub Private Sub MMControl_StopClick(Cancel As Integer) With MMControl .Command = "Stop" .Command = "Save" .Command = "Prev" End With Debug.Print "wave clip length = " & MMControl.Length Copyright 2003 by GiveLife Systems, Inc. 14 GIVELIFE End Sub Systems Post-Mortem Report for an Emergency Response System Private Sub SerialPort_oncomm() Dim cominput As String Select Case SerialPort.CommEvent ' Errors Case comEventBreak ' A Break was received. 'ListStatus.AddItem "Break Error!" Case comEventFrame ' Framing Error 'ListStatus.AddItem "Framing Error!" Case comEventOverrun ' Data Lost. 'ListStatus.AddItem "Data Lost!" Case comEventRxOver ' Receive buffer overflow. 'ListStatus.AddItem "Receive buffer overflow!" Case comEventRxParity ' Parity Error. 'ListStatus.AddItem "Parity Error!" Case comEventTxFull ' Transmit buffer full. Case comEventDCB ' Unexpected error retrieving DCB 'ListStatus.AddItem "Unexpected error retrieving DCB!" ' Events Case comEvReceive ' Received RThreshold # of chars. cominput = SerialPort.Input 'ListStatus.AddItem cominput 'Dim askii As Integer If (cominput = "0") Then If AlertNum = 0 Then AlertNum = 1 ListStatus.Clear ListStatus.AddItem "Emergency alert received! Start counting down!" txtTimeLeft.Enabled = True Timer1.Enabled = True cmdCancel.Enabled = True ElseIf AlertNum = 1 Then AlertNum = 0 ListStatus.AddItem "Emergency+ alert received!" txtTimeLeft.Enabled = False txtTimeLeft.Text = 30 Timer1.Enabled = False cmdCancel.Enabled = False cmdCall_Click End If ElseIf (cominput = "1") Then ListStatus.AddItem "Emergency+ alert received!" txtTimeLeft.Enabled = False txtTimeLeft.Text = 30 Timer1.Enabled = False cmdCancel.Enabled = False cmdCall_Click End If Case comEvSend ' There are SThreshold number of characters in the transmit buffer. Case comEvEOF ' An EOF charater was found in the input stream End Select End Sub Private Sub Timer1_Timer() Dim TimeLeft As Integer TimeLeft = 28 - 2 * TimerCounter If TimerCounter < 15 Then 'not 30s yet Copyright 2003 by GiveLife Systems, Inc. 15 GIVELIFE Systems Post-Mortem Report for an Emergency Response System Beep txtTimeLeft.Text = TimeLeft Else '30s has passed ListStatus.AddItem ("making calls.....") Timer1.Enabled = False ListStatus.AddItem ("timer disabled.") txtTimeLeft.Enabled = False txtTimeLeft.Text = 30 TimerCounter = 0 cmdCall_Click 'make the call End If TimerCounter = TimerCounter + 1 End Sub Private Sub cmdCancel_Click() Timer1.Enabled = False cmdFake.Enabled = True txtTimeLeft.Enabled = False txtTimeLeft.Text = 30 TimerCounter = 0 ListStatus.AddItem ("Alert Cancelled by user.. Timer disabled") End Sub Private Sub cmdFake_Click() cmdFake.Enabled = False cmdCancel.Enabled = True ListStatus.Clear ListStatus.AddItem ("alert received") txtTimeLeft.Enabled = True Timer1.Enabled = True End Sub '---------------------------------------------------------------------------------' TAPI related code start from here-----------------------------------------------'---------------------------------------------------------------------------------Private Sub cmdCall_Click() Dim pintReturn As Integer Dim line As ITAPILine Dim ret As Integer cmdCancel.Enabled = False If cboLineSel.ListIndex >= 0 Then Set line = mTAPIEx.GetLineFromDeviceID(cboLineSel.ItemData(cboLineSel.ListIndex)) If line.Open Then If lblMem(counter).Caption <> "" Then 'if there is number stored Set currCall = line.MakeCall(lblMem(counter).Caption) 'Open the line device and make the call ListStatus.AddItem ("Making a call: call#" & counter + 1) If counter < 4 Then counter = counter + 1 'roll up counter # cmdHangUp.Enabled = True cmdCall.Enabled = False Else 'else skip to next number emptyCount = emptyCount + 1 If counter < 3 Then List...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Sveriges lantbruksuniversitet - ENSC - 305
School of Engineering Science Burnaby, BC V5A 1S6 sonitus-340@sfu.caDecember 18, 2003 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, BC, V5A 1S6 Re: Sonitus Solutions Post Mortem. Dear Dr. Rawicz, The attached d
Sveriges lantbruksuniversitet - ENSC - 305
School of Engineering Science Burnaby, BC V5A 1S6 http:/www.ensc.sfu.ca iv-ensc@sfu.caSeptember 16, 2002 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, BC V5A 1S6 Re: ENSC 340 Project Proposal for an Intelligent
Sveriges lantbruksuniversitet - ENSC - 305
Lumen Medical Technologies Inc. 1154 Harold Rd. North Vancouver, B.C. V7K 1G3March 7, 2006 Dr. Andrew Rawicz Simon Fraser University 8888 University Drive Burnaby, BC V5A 1S6Re: ENSC 440 Design Specification for a Non-invasive Glucose Measuring D
Sveriges lantbruksuniversitet - ENSC - 305
. . . . . . . . . .Simon Fraser University Burnaby, BC V5A 1S6eAR Inc.Proposal for eARSubmitted byeAR Inc:George Tsai, MinHong Zhou, Rick Liu, Daniel Tang, Aaron Lee Contact George Tsai School of Engineering Science Simon Fraser University
Sveriges lantbruksuniversitet - ENSC - 305
School of Engineering Science Burnaby, BC V5A IS6 crystal-tech@sfu.caDr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, British Columbia V5A 1S6 Re: ENSC 340 Process Report for SensorMate Parking System Dear Dr. Rawicz
Sveriges lantbruksuniversitet - ENSC - 305
January 19, 2009Patrick Leung School of Engineering Science Simon Fraser University Burnaby, British Columbia V5A 1S6Dear Mr. Leung: The following document, StandStation System Proposal, gives an overview of our ENSC 440 (Capstone Engineering Sci
Sveriges lantbruksuniversitet - ENSC - 305
School of Engineering Science Burnaby, BC V5A 1S6 sonitus-340@sfu.caOctober 20, 2003 Dr. Andrew Rawicz School of Engineering Science Simon Fraser University Burnaby, BC, V5A 1S6 Re: ENSC 340 Design Specifications for a 3D Ultrasonic Motion Track
Sveriges lantbruksuniversitet - ENSC - 305
NVision Technologies presentsan Automotive Diagnostic ToolNVision Technologies:Jozsef Dudas, Seema Jaffer, Deanna Lee, and Byron Thom ENSC 340 Presentation: December 18, 2003 2003 NVision TechnologiesOverview Meet the Team Meet the ToolMYes
Sveriges lantbruksuniversitet - ENSC - 305
Automotive Control Solutions Russell Potter CTO, President Alex Gutica CFO Brian Nelson CTOAutomotive Control SolutionsThe AF Optimizer An ENSC440 project Contents1. 2. The ACS Team The AF OptimizerThe 440 project Incar Demo No
Sveriges lantbruksuniversitet - ENSC - 305
Laparoscopic Surgery Training SystemMediTronics Inc.CEO Alexander Hahn CTO Mark Jung CFO Han-Lim LeeApril 2007Roles in ProjectAlexander Hahn (CEO)- Software developer, Technical writingMark Jung (CTO)- Software and Hardware developer,
Sveriges lantbruksuniversitet - ENSC - 305
Dynamic Directional System for the Visually ImpairedENSC 340 ProjectCopyright 2003 Sound DirectionsTeam Organization Farhan Ali, Team leader, CEO Daniel Kim, VP R&amp;D Nima Jahedi, CTO Galerah Paradian, VP Marketing Ted Liu, CFO Chris Chun,
Sveriges lantbruksuniversitet - ENSC - 305
SureStep: an intelligent walking aidSimon Fraser University May 26, 2006The CompanyLi Xu CEO Duncan Chan CFO Steven Dai CTO Daniel Agyar COO Victor Tai CMO David Jin VP MechanicsOverview ProblemIdentification Proposed Solution Marketing C
Allan Hancock College - LGAVB - 2002477
[Page Break] New South WalesLocal Government Amendment(Independent Valuation) Bill 2002Contents Page 1 Name of
Sveriges lantbruksuniversitet - ENSC - 305
May 12th, 2006Websa Technology Ltd. 2006 1 of 33 Wednesday, April 22, 2009Agenda Introduction Background Technical Features &amp; Future Improvements Business Component Conclusion Q&amp;AWebsa Technology Ltd. 20062 of 33Wednesday, April 22,
Sveriges lantbruksuniversitet - ENSC - 305
Lumen Medical Technologies Inc.Team PresentationNon-Invasive Glucose Measuring DeviceMembers:Mehdi Abdollahi Jeff Chen Graham LavertyDeema Annyuk Connor Gillan Tony TsaiLumen Medical Technologies Inc.Introduction Vision System Descriptio
Sveriges lantbruksuniversitet - ENSC - 305
Steve Whitmore January 2009Revising Sentences for ConnectionRevising for Connection1 of 43Announcements This is the last general 305 class until the mandatory class on April 2nd. Next weeks class will be about theses and is only for those
Allan Hancock College - LGAVB - 2002477
Introduced by Mr David Barr, MPFirst printNew South WalesLocal Government Amendment (Independent Valuation) Bill 2002Explanatory noteThis explanatory note relates to this Bill as introduced into Parliament.Overview of BillThe object of thi
Sveriges lantbruksuniversitet - ENSC - 305
Cheri PerceptionHubert PanCathy ZhangBryan CuaTilson Chung Product Overview Operation Simulation Statistics Prototype Future DevelopmentProduct OverviewVBSS Voice over IP Bandwidth Saving SystemProduct as Dynamic Op
Sveriges lantbruksuniversitet - ENSC - 305
Trax Technologies Inc.Wireless Home Phone-Operated AssistantAgenda Project Overview Central Control Unit Client Appliance Unit Problems Encountered Business Components Conclusion Q&amp;AProject OverviewGroup Member Hou, SeanGroup Member
Sveriges lantbruksuniversitet - ENSC - 305
Nov30,2007AbetterwaytocommunicateTeamFormation Consistsoffourdedicatedengineers Caroline Chen Biomedical Engineer Micky Pun Computer Engineer Richard Tang Computer Engineer Jeramy Wu Computer Engineer2ContentsBackground DesignP
Sveriges lantbruksuniversitet - ENSC - 305
Adarza Technologies Bacteria Classification AssistantENSC 440 Presentation April 19th, 2005 Members: Edward Goh Linda Wu Josna Rao Geeda IpAgenda for Today Introduction System Overview Data Acquisition Image Processing Data Filtering
Sveriges lantbruksuniversitet - ENSC - 305
ColourItTeam Members: Julie Chao Linda Ni Bill Yangctchao@sfu.ca lni@sfu.ca billy@sfu.caReveals True ColoursIntroduction of ColourSense Inc. Members of CoulorSense Inc. Julie Chao, CEO Linda Ni, Project Manager Bill Yang, CTOReveals Tru
Sveriges lantbruksuniversitet - ENSC - 100
Engineering and the Environment A Rebuttal: Challenges of TechnologyOctober 15th, 2007Brought to you by:The School of Resource and Environmental Management (REM) Brad Griffin (geological engineer) Adam Batty (fisheries biologist) Athena Ogd
Sveriges lantbruksuniversitet - ENSC - 100
The Greatest Engineering Race: Russia vs USA in The Race to Space Part1: The Orbital RaceBy Glenn ChapmanKonstantin Tsiolkovski: Russian Father of Cosmonautics Earth is the cradle of Mankind, but one cannot live in the cradle forever11930s Rac
Purdue - ECON - 512
Document Viewhttp:/proquest.umi.com/pqdweb?index=11&amp;sid=6&amp;srchmode=1&amp;vinst.Databases selected: Multiple databases.Why Do Americans Work More Than Europeans?Edward C. Prescott. Wall Street Journal. (Eastern edition). New York, N.Y.: Oct 21, 200
Sveriges lantbruksuniversitet - ENSC - 327
Instruction ManualTAS 455 &amp; TAS 465 Analog Oscilloscopes 070-8523-05Warning The servicing instructions are for use by qualified personnel only. To avoid personal injury, do not perform any servicing unless you are qualified to do so. Refer to the
Purdue - ECON - 512
What Caused the Recession of 2008? Hints from Labor Productivityhttp:/papers.nber.org/papers/w14729Publications |Research |Data |About |PeopleLogin or change prefsWhat Caused the Recession of 2008? Hints from Labor ProductivityCasey
Sveriges lantbruksuniversitet - ENSC - 327
InstructionsTDS 200-Series Extension Modules 070-9565-04This document supports TDS 200-Series firmware version 1.06 and greater, TDS2HM firmware all versions, TDS2CM firmware version 1.04 and greater, and TDS2MM firmware version 1.00 and greater.
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Topic 6: Arithmetic Coding 1Jie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 4249/20/20051OutlineIntroduction Basic Encoding and Decoding Scaling and Increm
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Topic 7: Quantization 2Jie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 42410/3/20051OutlineLast Week:Uniform QuantizationToday:Non-uniform Quantization
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Lapped Transform and Wavelet Transform 2Jie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 424 11/7/2005 1OutlineUpsampling Downsampling Perfect Reconstruction and
Sveriges lantbruksuniversitet - ENSC - 815
ENSC 815 Multirate Signal Processing6.1 Linear Phase Filter BanksJie Liang Engineering Science Simon Fraser University JieL@sfu.caOutlineLinear phase filters Linear phase paraunitary (LPPU) filter banks Special case: 2-band LPPU FB only has Haa
East Los Angeles College - MS - 2306
MS 2306 From Hypertext to CybertextEthnography:Approaching Culture and Identity in New Media StudiesEthnography: Approaching Culture and Identity in New MediaWhat is this lecture about?Ethnography as a relevant method in Cultural and New Med
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Topic 9: Video Coding 1 IntroductionJie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 42410/17/20051IntroductionTwo categories: Block-based hybrid video codi
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Huffman Coding (1)Jie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 4249/13/20051OutlineEntropy Coding Prefix code Kraft-McMillan inequality Huffman Encoding
East Los Angeles College - MS - 2306
methodsTheoriesList04/04/2006 13:52:41MS 2306 | Summary of Key Theories and Methods 1. KEY THEORIES (in regard to New Media) These are groups/clusters of relevant theories for the assessment of new media phenomena; the headers (labels) for the ca
Sveriges lantbruksuniversitet - ENSC - 815
ENSC 815 Multirate Signal Processing 4.2 FIR QMF SolutionJie Liang Engineering Science Simon Fraser University JieL@sfu.caQMF Method (Ch. 5.2 of PPV Book)The first solution: Quadrature Mirror Filter (QMF) [1976]:In addition to the alias cancella
East Los Angeles College - MS - 2306
FROM POLITICAL ECONOMY TO VIRTUAL PHILOSOPHY:BLOCK 1 THEORETICAL FRAMES OF REFERENCE LECTURE 3seminarsTony - LD2202 Ulf - LD2255Perspectives on the new media machine Introducing the panopticon (Foucault) Political economy of information (Webs
Sveriges lantbruksuniversitet - ENSC - 327
FM lndirect IPMGeneratorModel9414Manual lnstructionWl*INTRODUCTIONis and Model9414lndirect / PM Generator manufactured testedunder FM The Lab-Volt period quality is the and requires control. the Indirect / PM Generator within warranty lf FM
East Los Angeles College - MS - 3305
University of East London School of Social Sciences, Media and Cultural StudiesMS3305 New Media Theory/Practice: Information, Knowledge and Power:Semester B: February 2009 May 2009MS3305 Information, Knowledge and PowerTeaching Arrangements:
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Multimedia Communications 5 Buffer ControlJie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 424 11/30/2005 1Buffers in Video TransmissionVideo Input Encoder Buffe
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Lapped Transform and Wavelet Transform 5Jie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 424 11/16/2005 1Set Partitioning in Hierarchical TreesGeneralization of
Sveriges lantbruksuniversitet - ENSC - 327
DualF unction GeneratorModel9402Instruction Manual' ,lr*tINTRODUCTION quais and under strict TheModel 9402DualFunction Generator manufactured tested period is and requires repair litycontrol. the DualFunction lf Generator within warranty the
East Los Angeles College - MS - 2306
User ExperienceLecture from Terri Senft Delivered 19 February 2008 Module:MS2306 (From Hypertext to Cybertext) University of East London Questions? tsenft@gmail.comReview: last weekHistorically, media studies has concerned itself with two things:
Sveriges lantbruksuniversitet - ENSC - 815
ENSC 815 Multirate Signal Processing 4.1 2-band PR conditionsJie Liang Engineering Science Simon Fraser University JieL@sfu.caOutlineSome definitions 2-band Perfect reconstruction conditions1/17/20082Some definitionsFilter bank (FB): A col
East Los Angeles College - MS - 2306
Lecture 1 MS2306 FROM HYPERTEXT TO CYBERTEXT: RESEARCHING NEW MEDIA http:/homepages.uel.ac.uk/T.D.Sampson/DocLand/MS2306/MS2306.htm Tuesday Lectures - 1.00 2.00 in LD 1201 Seminar 1 - 2.00 3.30 in LD 2255 Seminar -2.00 3.30 in LD1335bIntr
Allan Hancock College - STAGLAMB - 2007598
PARLIAMENT OF VICTORIA State Taxation and Gambling Legislation Amendment (Budget Measures) Bill 2007 TABLE OF PROVISIONSClause P
Sveriges lantbruksuniversitet - ENSC - 815
ENSC 815 Multirate Signal Processing 3. Polyphase RepresentationJie Liang Engineering Science Simon Fraser University JieL@sfu.caOutlineInterconnection of building blocksSome simple identities Exchangability of coprime upsampler and downsampler
East Los Angeles College - MS - 2306
Introduction to Research MethodsMS2306:Hypertext to CybertextResearching New MediaPrepared 24 Feb 2008 By Theresa M. Senft for students in Interactive, Multimedia and Game Design Studies University of East LondonTalk Breakdown What is methodo
Sveriges lantbruksuniversitet - ENSC - 424
ENSC 424 - Multimedia Communications Engineering Topic 7: Quantization 1Jie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang: SFU ENSC 4249/27/20051Homework 2Due Wed., Oct. 12 in class.J. Liang: SFU ENSC 4249/27/200
East Los Angeles College - IC - 115
About IC115 FROM TEXT TO HYPERTEXT - Introduction to interactive multimedia KEY WORDS: COMMUNICATION; MEDIATION; MODELS OF COMMUNICATION; MASS COMMUNICATION, DIGITALISATION; CONVERGENCE; MODELS OF INTERACTIVITY; NON-LINEAR COMMUNICATION; INFORMATION
Sveriges lantbruksuniversitet - ENSC - 815
ENSC 815 Multirate Signal Processing4.4 IIR QMF and Smiths PR FIR SolutionJie Liang Engineering Science Simon Fraser University JieL@sfu.caOutlineIIR QMF solution and its properties Power symmetry Halfband Smiths PR FIR QMF solution1/17/2008
East Los Angeles College - MS - 2306
MS 1301 Introduction to Computer GraphicsblablaTitleMS 2306 From Hypertext to CybertextNew Media in the context of Critical TheoryMS 1301 Introduction to Computer GraphicsblablaTitleNew Media in the Context of Critical TheoryWhat is
Sveriges lantbruksuniversitet - ENSC - 861
ENSC 861 Source Coding in Digital Communications IntroductionJie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang SFU ENSC861 1/4/2009 1OutlineCourse information Course OverviewJ. Liang SFU ENSC8611/4/20092Course In
East Los Angeles College - IC - 115
Reading IC115 FROM TEXT TO HYPERTEXT - Introduction to interactive multimedia Core reading Bell, D (2001) An Introduction to Cybercultures, London: Routledge (an overview of the field, including ideas to think with, and issues to think about) Gauntle
Sveriges lantbruksuniversitet - ENSC - 861
IEEE TRANSACTIONS ON IMAGE PROCESSING, VOL. 14, NO. 4, APRIL 2005411Mutual Information-Based Analysis of JPEG2000 ContextsZhen Liu and Lina J. Karam, Senior Member, IEEEAbstractContext-based arithmetic coding has been widely adopted in image an
East Los Angeles College - IC - 115
Week-by-Week: IC115 FROM TEXT TO HYPERTEXT Introduction to interactive multimediaWednesday Lecture 9.30 11.00 LD 0228 1 INDUCTION 21-Sep-04 Lecturer: Tony Sampson 2 What is Multimedia? 29-Sep-04 Lecturer: Tony Sampson Lecture: Key themes and field
Sveriges lantbruksuniversitet - ENSC - 815
ENSC 815 Multirate Signal Processing 1. IntroductionJie Liang Engineering Science Simon Fraser University JieL@sfu.caJ. Liang SFU ENSC815 1/8/2008 1OutlineGeneral Information Course Objectives History Course Overview SummaryJ. Liang SFU ENSC81
East Los Angeles College - IC - 115
ASSESSMENT IC115 FROM TEXT TO HYPERTEXT - Introduction to interactive multimedia ASSIGNMENT A (40%) CODE IC115A COMMUNICATING A MESSAGE ONLINE: GROUP PROJECT USING ONLINE RESOURCES DEADLINE 1: WEEK STARTING 25-OCT-04 DEADLINE 2: WEEK STARTING 13-DEC-
Sveriges lantbruksuniversitet - ENSC - 327
Frequency CounterModel 9403Instruction ManualFrequency CounterModel 9403Instruction ManualFrequency CounterModel 9403 Instruction ManualCopyright 2003 Lab-Volt Ltd. All rights reserved. No part of this publication may be reproduced,
East Los Angeles College - IC - 115
Essay guidance: IC115 Session Think firstAsk yourself what the question is asking you and stick to the question asked. Read and research using a wide range of materials - taking notes at all times Make an essay plan before you begin writing. Begin b