Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
Look up keyword
Like this
7Activity
0 of .
Results for:
No results containing your search query
P. 1
Stimulus Response Model

Stimulus Response Model

Ratings: (0)|Views: 1,030|Likes:
Published by Qaisar Ayub Sheikh
A system which shows the system reaction to various events is called stimulus response system.
A system which shows the system reaction to various events is called stimulus response system.

More info:

Categories:Topics, Art & Design
Published by: Qaisar Ayub Sheikh on Apr 05, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

04/08/2013

pdf

text

original

 
Qaisar Ayub & Sulma Rashid
This document is an effort to give the understanding about stimulus response model (SoftwareEngineering)
Stimulus Response Model
What ?
A system which shows the system reaction to various events is called stimulus response system.To design the weather station using a state machine model we first need to identify the stimuli’s followingtable describes the stimuli for weather station
Object WeatherStation
 
Stimuli DescriptionreportWeather This stimulus get the summery of data from data that have been archivedCalibrate (Instruments) Used to check the accuracy of the data collected devices/hardware equipmentsStartup(Instruments) Change the state of instruments in to active stateShutdown(Instruments) Change the state of instruments in to inactive state
ReportWeather 
Algorithmwhen reportweather function event/trigger fired then1. Report weather contact with weather statation process Collect().2. The collect will get the data from devices or from data archiving module3. the summarize function then summarize the collected data and send.
 
Report weather Data Collect ProcessCollect from dataarchiving moduleCollect data from devicesSummarize data
 
Qaisar Ayub & Sulma RashidCalibrate
AlgorithmThis function takes the argument of device and then check the accuracy of device Active / inactive usingcalibrate function
Start up
AlgorithmProcedure shut_down(int device_code){Start up ground thermometer,anemometer,barometer Return true;}
calibrat
 
eCalibrating deviceGround thermometer Anemometer Barometer Start Up DeviceGround thermometer Anemometer Barometer 
 
Qaisar Ayub & Sulma RashidShut down
AlgorithmProcedure shut_down(int shut_down_p){If shut_down_p THENDisable the deviceReturn control;ElseReturn control;
 
Shut down DeviceGround thermometer Anemometer Barometer reportweather CalibrateStartupShutdownCollect fromdata archivingmoduleCollect data fromdevicesSummarizedataData CollectCalibratingdeviceGroundthermometer Anemometer Barometer Start UpDeviceGroundthermometer Anemometer 
 
Barometer Start UpDeviceGroundthermometer Anemometer 
 
Barometer 
Summery of Weaher station object

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->