31 Pages

PSalas_lab

Course: COEN 120, Fall 2009
School: Santa Clara
Rating:
 
 
 
 
 

Word Count: 3352

Document Preview

on HelloWorld Report Configuration vxworks Overridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: True PACKAGES Default Overridden Properties Subjects: CG Metaclasses: Package Properties: GenerateWithAggregates: True EVENTS: alarm_breach reset_alarm GLOBALS: Relations: itsDisplay Composition of Display, Multiplicity of 1, Uni-directional itsKeyBoard Composition of...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> Santa Clara >> COEN 120

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.
on HelloWorld Report Configuration vxworks Overridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: True PACKAGES Default Overridden Properties Subjects: CG Metaclasses: Package Properties: GenerateWithAggregates: True EVENTS: alarm_breach reset_alarm GLOBALS: Relations: itsDisplay Composition of Display, Multiplicity of 1, Uni-directional itsKeyBoard Composition of KeyBoard, Multiplicity of 1, Uni-directional itsMyPIC Composition of MyPIC, Multiplicity of 1, Uni-directional itsWindow Composition of Window, Multiplicity of 1, Uni-directional itsDoor Composition of Door, Multiplicity of 1, Uni-directional itsTemperature Composition of Temperature, Multiplicity of 1, Uni-directional Instantiated Relations: itsKeyBoard of itsDisplay with itsKeyBoard itsMyPIC of itsDisplay with itsMyPIC itsWindow of itsDisplay with itsWindow itsDoor of itsDisplay with itsDoor itsTemperature of itsDisplay with itsTemperature Functions: CompleteRelations Primitive-operation , Public, Return type is void Body itsDoor->setItsMyPIC(itsMyPIC); itsWindow->setItsMyPIC(itsMyPIC); itsTemperature->setItsMyPIC(itsMyPIC); CLASSES: Display The display class handles all the output. It also acts as the main class which calls everything else. Overridden Properties Subjects: CG Metaclasses: Class Properties: Concurrency: active Relations: itsKeyBoard works with the keyboard class Association with KeyBoard, Multiplicity of 1, Uni-directional itsMyPIC communicates with the PIC board. Association with MyPIC, Multiplicity of 1, Uni-directional itsTemperature Display communicates with temperature, and checks if it should sound alarm. Association with Temperature, Multiplicity of 1, Uni-directional itsDoor Display communicates with Door to see if it should sound the alarm. Association with Door, Multiplicity of 1, Uni-directional itsWindow Display communicates with Window to see if it should sound the alarm. Association with Window, Multiplicity of 1, Uni-directional Operations: count increments icounter by 1. Primitive-operation , Public, Return type is void Body ++icounter; Message_6 Primitive-operation , Public, Return type is void Attributes: HI an input for the POT on the PIC board. Type of int, Public, Initial Value: 0 icounter icounter is the variable used for counting the number of times display loops. Type of int, Public, Initial Value: 1 LO an input value for the POT on the PIC board. Type of int, Public, Initial Value: 0 Statechart /CompleteRelations(); Writing> tm(2000)/count(),cout<<(char)12; Overridden Properties Subjects: General Metaclasses: Diagram Properties: LastModifiedTime: 10.20.2003::5:48:51 ROOT Or-state Substates: Writing Default Transition /CompleteRelations(); Target: Writing Writing displays the events on the monitor Or-state EntryAction cout<<"------------------------------------------------\n"; cout<<"Hello World count #" << dec << icounter << endl; cout<< itsKeyBoard->getKey()<< "\t"; long picvalue = itsMyPIC->getAllKeyData(); cout<< setw(8) << setfill('0') << hex << picvalue <<endl; //temp is used to get only the Keypad values and zeroing out the COS bits long temp = picvalue; temp = temp << 16; temp = temp >> 16; /******************** STORING GETALLKEYDATE() ************************/ //these two methods are storing the PIC board values locally itsMyPIC->setCosbit(picvalue); itsMyPIC->setCurrentstate((int) temp); int mykey = itsMyPIC->getSilkScreen(itsMyPIC->getCurrentstate()); /********************* SCALED ANALOG ********************************/ HI = 200; LO = 0; int analog_value = itsMyPIC->scaledAnalog(HI,LO,1); cout<<"The value of my pot value within scale "<<dec<<HI<<"-"<<LO<<" is = "<<analog_value<<endl<<endl; /********************* KEY EVENT OUTPUT ****************************/ if (mykey!=18) { cout<<"The key I am pushing is: "<< dec << mykey << endl << endl; if (itsMyPIC->keyPressed(mykey)) cout<<"** You are pressing the key down!!! Woohoo This works!!!!" << endl; if (itsMyPIC->keyJustPressed(mykey)) cout<<"** You JUST pressed the key!!! Woohoo!!!"<<endl; } if (itsMyPIC->keyJustReleased(mykey)) cout<<"\n** you just released the key"<<endl; if (mykey==18) cout<<"\n** Why aren't you pushing anything?" << endl; cout<<"------------------------------------------------\n\n\n\n\n\n\n"; if (itsKeyBoard->getKey() == 'z') { itsDoor->GEN(reset_alarm); itsWindow->GEN(reset_alarm); itsTemperature->GEN(reset_alarm); } if (itsTemperature->tempAlarm() == true) { itsTemperature->GEN(alarm_breach); } else { itsTemperature->GEN(reset_alarm); } if (itsDoor->doorAlarm() == true) { itsDoor->GEN(alarm_breach); } if (itsWindow->windowAlarm() == true) { itsWindow->GEN(alarm_breach); } Out Transition tm(2000)/count(),cout<<(char)12; Target: Writing Door A door sensor that will sound an alarm if tripped. Overridden Properties Subjects: CG Metaclasses: Class Properties: Concurrency: active Superclasses: Sensor Public Operations: doorAlarm door alarm checks if door has been breached. If it has, then function returns true. Primitive-operation , Public, Return type is OMBoolean Body return alarmOnOff(6); doorPrint Prints the Alarm Message. Primitive-operation , Public, Return type is void Body cout<<"!!!!!!!!!!!!!!! Door Breach !!!!!!!!!!!!!!!"<<endl; Statechart Ok_State tm(500) reset_alarm/reset() alarm_breach Alarm> tm(1000) Overridden Properties Subjects: General Metaclasses: Diagram Properties: LastModifiedTime: 10.20.2003::5:33:18 ROOT Or-state Inherited Substates: Alarm Ok_State Default Transition Inherited Target: Ok_State Alarm Sounds the alarm for Door. Or-state Inherited EntryAction doorPrint() Out Transition Inherited reset_alarm/reset() Target: Ok_State Out Transition Inherited tm(1000) Target: Alarm Ok_State Or-state Inherited Out Transition Inherited alarm_breach Target: Alarm Out Transition Inherited tm(500) Target: Ok_State KeyBoard handles all keyboard events. Overridden Properties Subjects: CG Metaclasses: Class Properties: Concurrency: sequential Operations: getKey Primitive-operation , Public, Return type is char Constant Body return key; Attributes: key stores the keyboard input. Type of char, Private, Initial Value: 'a' Statechart KeyPressing> tm(1000) Overridden Properties Subjects: General Metaclasses: Diagram Properties: LastModifiedTime: 10.17.2003::17:28:22 ROOT Or-state Substates: KeyPressing Default Transition Target: KeyPressing KeyPressing cin the key input here Or-state EntryAction cin>>key; Out Transition tm(1000) Target: KeyPressing MyPIC inherits the basic functionality of the PICserial class and adds some of its own new functionality. Superclasses: PICserial Public Operations: getCosbit returns the change of status bit as an int. Primitive-operation , Public, Return type is int Constant Body return cosbit; getSilkScreen maps keyvalue, which should be an integer value of the PIC board, and returns the button name or location. Primitive-operation , Public, Return type is int Args: int keyvalue = 18 takes in an integer value of the PIC board current value and maps it to a data structure called mappedkey. Body int binary = 0x0001; for (int i=0; i<15; i++) { //cout<<binary<<endl; if (keyvalue & binary) { for (int k=0; k<13; k++) { if(binary == mappedkey[k]) return k; } } binary = binary<<1; } return 18; keyJustPressed returns true only one time indicating that the key has just been pressed Primitive-operation , Public, Return type is OMBoolean Args: int n the silkscreened key number Body int cos = getCosbit(); /*********** For tesing purposes ************/ //cout<< "cosbit = "<< hex << cos<<endl; //cout<< "currentstate = "<< currentstate<<endl; int current = (int) getAllKeyData(mappedkey[n]); return (((current&cos)|(mappedkey[n]&cos)| (mappedkey[n]&current&cos))!=0); //(cos|(current&cos)|(mappedkey[n]&cos)|(mappedkey[n]&current&cos))! =0 /* int cos = getAllKeyData(mappedkey[n]); return (cos&((mappedkey[n]<<16)+mappedkey[n]))==(mappedkey[n]<<16)+mappedke y[n]); */ keyJustReleased checks if a key was just released from the PIC board. Primitive-operation , Public, Return type is OMBoolean Args: int n the silkscreened key number Body int cos = getCosbit(); /*********** For tesing purposes ************/ //cout<< "cosbit = "<< hex << cos <<endl; //cout<< "currentstate = "<< currentstate<<endl; //int current = (int) getAllKeyData(mappedkey[n]); return (cos&&((cos&currentstate)==0)); keyPressed checks if there is a key pressed currently. Primitive-operation , Public, Return type is OMBoolean Args: int n the silkscreened value of the PIC board. Body int current = (int)getAllKeyData(); current = current << 16; current = current >> 16; return ((current&mappedkey[n])== mappedkey[n]); //checks if the key was pressed and is pressed still MyPIC initializes the values. Constructor , Public Body mappedkey[0] =0x0002; mappedkey[1] =0x4000; mappedkey[2] =0x2000; mappedkey[3] =0x1000; mappedkey[4] =0x0400; mappedkey[5] =0x0200; mappedkey[6] =0x0100; mappedkey[7] =0x0040; mappedkey[8] =0x0020; mappedkey[9] =0x0010; mappedkey[10]=0x0800; mappedkey[11]=0x0004; mappedkey[12]=0x0001; scaledAnalog returns the relative possition of the pot value. Primitive-operation , Public, Return type is int Args: int hi represents the highest values in engineering units of the desired value range. int lo represents the lowest value in engineering units of the desired value range. int n represents the analog pot in question Body int analogval = (int) getAnalogValues(n); /********************* TESTING *********************/ //cout<< dec <<"hi = " << hi <<endl<<"lo = " << lo <<endl; //cout<<"Testing out = "<< analogval <<endl; int relative = analogval*(((float)hi-(float)lo)/255)+lo; //cout<<"Testing again the output = " << relative <<endl; return relative; setCosbit sets the change of state bits. it ignores the data bits. Primitive-operation , Public, Return type is void Args: long p_cosbit the whole 32 bits from the PIC board. it includes the change of status bits and the data bits. Body p_cosbit = p_cosbit>>16; int newcosbit = (int) p_cosbit; cosbit = newcosbit; setCosbit sets the cosbit to the value passed in. the cosbit is the change of status bits. Primitive-operation , Public, Return type is void Args: int p_cosbit the change of status bit argument. Body cosbit = p_cosbit; setCurrentstate sets the current state of the PIC board Primitive-operation , Public, Return type is void Args: int mycurrent the value of the current state of the PIC board Body currentstate = mycurrent; Attributes: cosbit the 16 bit change of state bit. Type of int, Public, Initial Value: 0 currentstate the current status of the PIC board (only the data bits) Type of int, Public mappedkey instantiates the silkscreen array Type of 'int %s[13];', Public Statechart InitPIC DebugPrint> LEDs> tm(10) [goodread] WriteDisplayBuffer... [!goodread] DN tm(50) C ReadDataHere> Send_R> tm(25) Overridden Properties Subjects: General Metaclasses: Diagram Properties: LastModifiedTime: 10.15.2003::21:42:18 ROOT Or-state Inherited Substates: DebugPrint DN InitPIC LEDs ReadDataHere Send_R WriteDisplayBuffer Default Transition Inherited Target: InitPIC DebugPrint Or-state Inherited EntryAction //cout << " keys " << setbase(16) << setfill('0') << setw(8) << getAllKeyData() ; //cout << " a0 " << (int)getAnalogValues(0); //cout << " a1 " << (int)getAnalogValues(1); //cout << " a2 " << (int)getAnalogValues(2); //cout << endl; //cout << setbase(16) << setfill('0') << setw(8) << getAllKeyData() << " " << (int)getAnalogValues(0) << " " << (int)getAnalogValues(1) << " " << (int)getAnalogValues(2) << endl; //for (int i=0;i<5;i++) //{ cout << " " << setbase(16) << //cout << endl; (int) readBuffer[i]; } Out Transition Inherited Target: LEDs DN Or-state Inherited Out Transition Inherited tm(50) Target: Send_R InitPIC Or-state Inherited Out Transition Inherited Target: LEDs LEDs Or-state Inherited EntryAction ExitAction writeLeds(); //leds++; Out Transition Inherited tm(10) Target: WriteDisplayBuffer ReadDataHere Or-state Inherited EntryAction goodread = ReadData(); Out Transition Inherited Condition Connector Branches: [goodread] Target: DebugPrint [!goodread] Target: DN Send_R Or-state Inherited EntryAction ControlChar[0] = 'R'; write(fd, ControlChar, 1); //write an 'R' to the PIC board to read the buffers. Out Transition Inherited tm(25) Target: ReadDataHere WriteDisplayBuffer Nested Statechart Or-state Inherited EntryAction //for(int i=0;i<32;i++) Display[i]=leds; Out Transition Inherited Target: Send_R Statechart of WriteDisplayBuffer WriteDisplayBuffer startWrtDispSeq> firstHalf> secondHalf> tm(40) Overridden Properties Subjects: General Diagram Metaclasses: Properties: LastModifiedTime: 10.15.2003::21:42:18 ROOT Or-state Inherited Substates: WriteDisplayBuffer WriteDisplayBuffer Or-state Inherited Substates: firstHalf secondHalf startWrtDispSeq state_0 Default Transition Inherited Target: startWrtDispSeq firstHalf Or-state Inherited EntryAction write(fd, Display, 16); //write out 16 characters. Out Transition Inherited tm(40) Target: secondHalf secondHalf Or-state Inherited EntryAction write(fd, &Display[16], 16); //write out 16 characters. Out Transition Inherited Target: state_0 startWrtDispSeq Or-state Inherited EntryAction ControlChar[0] = 'B'; write(fd, ControlChar, 1); //write an 'B' to the PIC board to read the buffers. Out Transition Inherited Target: firstHalf state_0 Local Termination State Inherited PICserial Overridden Properties Subjects: CG Metaclasses: Class Properties: Concurrency: active Subclasses: MyPIC Operations: getAllKeyData Gets status/value of the Keypad buttons. Status is returned in the upper 2 bytes. Values are returned in the bottom 2 bytes. The parameter COSreset will Primitive-operation , Public, Return type is int Args: int COSreset = 0xFFFF Body union keydata { long temp; char t4[4]; } KeyData; KeyData.t4[3]=getKeypadStatus(0,(char)((COSreset>>8)& 0xFF)); KeyData.t4[2]=getKeypadStatus(1,(char)((COSreset)& 0xFF)); KeyData.t4[1]=getKeypadValues(0); KeyData.t4[0]=getKeypadValues(1); return KeyData.temp; getAnalogValues Returns the value of each of the 3 analog values on the PIC board. Overridden Properties Subjects: CPP_CG Metaclasses: Operation Properties: Kind: common Inline: none Primitive-operation , Public, Return type is 'unsigned char' Args: 'int' i1 Constant Body i1= min(max(i1,0),2); return Analog[i1]; getKeypadStatus Gets value of the Keypad character status. Primitive-operation , Protected, Return type is 'unsigned char' Args: int i1 char COSreset Which bits get reset when a status read is performed. Body i1= min(max(i1,0),1); char temp = KeyStatus[i1]; KeyStatus[i1] &= (COSreset^0xFF); return temp; getKeypadValues Gets value of the Keypad character. Primitive-operation , Protected, Return type is 'unsigned char' Args: 'int' i1 Body i1= min(max(i1,0),1); char temp = Keypad[i1]; Keypad[i1] &= 0x7f; return temp; PICserial Constructor , Public Args: int ComPort = 1 This is the number of the communications port of this object. Initializers leds(0) Body if(ComPort==1)fd = open("/tyCo/0",O_RDWR,0644); if(ComPort==2)fd = open("/tyCo/1",O_RDWR,0644); io_status = ioctl(fd,FIOBAUDRATE,2400); //cout << "ioctl status for " << fd << " = " << io_status << endl; for(int i=0;i<32;i++) Display[i]=0; Keypad[0]=0; Keypad[1]=0; KeyStatus[0]=0; KeyStatus[1]=0; ReadData 5 characters are read from the PIC board. The first 2 are the Keypad and the last 3 are the analog pots. A check is made to determine if a COS has occured in any of the Keypad values. TheKeypadStatus bits are set if there has been a change of state. Primitive-operation , Protected, Return type is OMBoolean Body io_status = ioctl (fd, FIONREAD, (int)readBuffer); if(readBuffer[0]== 5) { read(fd, readBuffer, 5); //read in 5 characters. KeyStatus[0] |= (readBuffer[0] ^ Keypad[0]); Keypad[0]=readBuffer[0]; KeyStatus[1] |= (readBuffer[1] ^ Keypad[1]); Keypad[1]=readBuffer[1]; Analog[0]= readBuffer[2]; Analog[1]= readBuffer[3]; Analog[2]= readBuffer[4]; //GEN(evGoodReadPIC_Serial); return(true); } else { cout << "receive error in PIC_Serial" << endl; io_status = ioctl (fd, FIOFLUSH, 0); //GEN(evRetryPIC_SerialRead); return(false); } setDisplayChar Allows the user to set each element of the 32 character Display on the PIC board. Primitive-operation , Public, Return type is 'void' Args: 'int' i1 'char' p_Display Body i1= min(max(i1,0),31); Display[i1] = p_Display; setLeds Allows the user to set the 8 led's on the PIC board. Primitive-operation , Public, Return type is 'void' Args: 'char' p_leds Body leds = p_leds; writeLeds Write the leds value to the PIC board. Primitive-operation , Protected, Return type is void Body ControlChar[0] = 'L'; io_status = write(fd, ControlChar, 1); //write an 'R' to the PIC board to read the buffers. io_status = write(fd, (char*)&leds, 1); //write in 1 character. //cout << "Led's = " << ControlChar[0] << (char) leds << leds << endl; ~PICserial Shutdown this object; Virtual, Destructor , Public Body close(fd); Attributes: Analog This is the location of the three analog inputs. Type of 'char %s[3]', Public ControlChar This character is set to the control for the PIC device. 'L' is used to set the value of the LEDs - L# 'B' is used to set the 32 char board display - Bcccccccccccccccccccccccccccccccc 'R' is used to initiate a transmission of analog and button values. Type of 'char %s[1]', Public Display 32 char display buffer on the PIC board Type of 'char %s[32]', Public fd This is the file descriptor of the serial port returned by the open statement. Type of int, Public goodread This is used to indicate the status of the read operation to the PIC board. Type of OMBoolean, Public io_status contains the status of all i/o operations. Type of int, Public Keypad There are 2 bytes of keypad Type of 'char %s[2]', Public KeyStatus There are 2 bytes of keypad status Type of 'char %s[2]', Public leds the led display outputs Type of char, Public readBuffer buffer to place the data read in by the ReadData operation. Type of 'char %s[5]', Public Statechart InitPIC DebugPrint> LEDs> tm(10) [goodread] WriteDisplayBuffer... [!goodread] DN tm(50) C ReadDataHere> Send_R> tm(25) ROOT Or-state Substates: DebugPrint DN InitPIC LEDs ReadDataHere Send_R WriteDisplayBuffer Default Transition Target: InitPIC DebugPrint Debug state to determine any possible difficulties with the PIC board. Or-state EntryAction //cout << " keys " << setbase(16) << setfill('0') << setw(8) << getAllKeyData() ; //cout << " a0 " << (int)getAnalogValues(0); //cout << " a1 " << (int)getAnalogValues(1); //cout << " a2 " << (int)getAnalogValues(2); //cout << endl; //cout << setbase(16) << setfill('0') << setw(8) << getAllKeyData() << " " << (int)getAnalogValues(0) << " " << (int)getAnalogValues(1) << " " << (int)getAnalogValues(2) << endl; //for (int i=0;i<5;i++) //{ cout << " " << setbase(16) << //cout << endl; (int) readBuffer[i]; } Out Transition Target: LEDs DN Do nothing state used to create a small delay in the I/O stream. Or-state Out Transition tm(50) Target: Send_R InitPIC A do-nothing state for future possible use. Or-state Out Transition Target: LEDs LEDs Write the leds attribute to the PIC board. Or-state EntryAction writeLeds(); ExitAction //leds++; tm(10) Out Transition Target: WriteDisplayBuffer ReadDataHere Read in the 5 characters that the PIC board returns in responseto a request for data. Or-state EntryAction goodread = ReadData(); Out Transition Condition Connector Branches: [goodread] Target: DebugPrint [!goodread] Target: DN Send_R Initiate the reading of the data from the PIC board by sending an 'R' to the board. Or-state EntryAction ControlChar[0] = 'R'; write(fd, ControlChar, 1); //write an 'R' to the PIC board to read the buffers. Out Transition tm(25) Target: ReadDataHere WriteDisplayBuffer initiate the execution of the output to the Display on the PIC board. This state uses a sub_state_chart to accomplish this operation. Nested Statechart Or-state EntryAction //for(int i=0;i<32;i++) Display[i]=leds; Out Transition Target: Send_R Statechart of WriteDisplayBuffer WriteDisplayBuffer startWrtDispSeq> firstHalf> secondHalf> tm(40) ROOT Or-state Substates: WriteDisplayBuffer WriteDisplayBuffer Or-state Substates: firstHalf secondHalf startWrtDispSeq state_9 Default Transition Target: startWrtDispSeq firstHalf The actual transmission of characters is broken down into 2 halves. Send out...

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:

Santa Clara - COEN - 120
vti_encoding:SR|utf8-nl vti_author:SR|CSESERV\nquinn vti_modifiedby:SR|CSESERV\nquinn vti_timecreated:TR|20 Oct 2003 18:48:17 -0000 vti_timelastmodified:TR|20 Oct 2003 19:05:03 -0000 vti_filesize:IR|473818 vti_extenderversion:SR|4.0.2.7802 vti_backli
Santa Clara - COEN - 120
Btully_finalProjectReport on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESParkingGatethis is the package which contains all information about the parking gateU
Santa Clara - COEN - 120
HousesafeReport on Configuration HousesafeOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESHousesafe GLOBALS:Relations: itsDisplay Composition of Display, Multiplicity of 1, Uni-directio
Santa Clara - COEN - 120
Robert WhitmireHousesafeReport on Configuration HousesafeOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESHousesafeThis package contains the whole of the project. The classes, actors,
Santa Clara - COEN - 120
HousesafeReport on Configuration DefaultConfigPACKAGESDefault GLOBALS: ACTORS:HomeownerThe main user of the system. The homeowner will enter the code to lock and unlock the system as well as setting the zones and other inputs. Relations: itsSec
Santa Clara - COEN - 120
AutoParkingGateReport on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: TruePACKAGESAutoParkingGateYou have been assigned the task of providing efficient and responsive custome
Santa Clara - COEN - 120
Piya (Ray) Chindaphorn COEN 120 Final 6/4/2009finalReport on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePiya (Ray) Chindaphorn COEN 120 Final 6/4/2009PACKAGESDefaul
Santa Clara - COEN - 120
Daniel Reyes Prof. Quinn COEN 120, Final ExamParkingGateSystemReport on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESParkingGateSystemThanks for a fun quarter,
Santa Clara - COEN - 120
Andrew ThompsonFinal_ExamReport on Configuration vxWorksPACKAGESDefault USE CASE DIAGRAMS:Final_Exam_UseCaseGate_ControllerEntry GatestimerCarticketControllerExit GatesOverridden Properties Subjects: General Metaclasses: Diagram
Santa Clara - COEN - 120
Andrew Thompson Kevin Kerns Our group project is a snowmaking machine control system. The snowmaker has a clock and several different sensors for temperature, wind, altitude, barometer, and valve sensors. On a mountain several different snowmakers ar
Santa Clara - COEN - 120
Daniel Reyes Prof. QuinnpersonalProjectReport on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESDefaultThis program is used as a secure login system. It consists
Santa Clara - COEN - 120
LeDatChu Virtual PetReport on Configuration vxworksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: TruePACKAGESDefaultOverridden Properties Subjects: CG Metaclasses: Package Properties: GenerateWith
Santa Clara - COEN - 120
LeDatChu Virtual PetPersonalProjectReport on Configuration DefaultConfigPACKAGESDefault USE CASE DIAGRAMS:LeDatChu_Virtual_PetVirtual_PetPetConsumerStatusOverridden Properties Subjects: General Metaclasses: Diagram Properties: LastMod
Santa Clara - COEN - 120
Peter Salas Dr. Quinn - Coen120 Personal Project 10/29/2003LeDatChu: VirtualPetReport on Configuration vxworksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: TruePeter Salas Dr. Quinn - Coen120 Pers
Santa Clara - COEN - 120
Coen120FInalReport on Configuration vxworksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: TruePACKAGESFinalYou have been assigned the task of providing efficient and responsive customer services in
Santa Clara - COEN - 120
fridgeReport on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESDefault USE CASE DIAGRAMS:FridgeEverybody that uses the fridge.Fridgekeeps track of items and co
Santa Clara - COEN - 120
Use of the PIC serial board in your individual and group projects.The PIC serial board supports several capabilities which you may find useful in creating robust and effective projects. Its capabilities include: 3 analog values which consist of sing
Santa Clara - COEN - 120
Qik Start PICmicro Education BoardFEMA LCD Display (P/N CG1621-SGR1) Character SetPIC and PICmicro are register trademarks of Microchip Technology Inc.283 Indian River Rd., Orange, CT 06477 TEL 203-799-7875 FAX 203-799-7892 WEB www.diversifieden
Santa Clara - COEN - 120
BTully_Car_AlarmReport on Configuration VXWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: True SequenceDiagram Metaclasses: General Properties: ShowArguments: TruePACKAGESDefaultOverridden Prop
Santa Clara - COEN - 120
BTully_Car_AlarmReport on Configuration VXWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: TruePACKAGESDefaultOverridden Properties Subjects: CG Metaclasses: Package Properties: GenerateWithAggr
Santa Clara - COEN - 120
Personal_projectReport on Configuration HelloWorld2Overridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: True1PACKAGESDefaultKevin Kerns Coen 120 Project Proposal For my project I propose to design an a
Santa Clara - COEN - 120
Personal_projectReport on Configuration HelloWorld2Overridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: TruePACKAGESDefaultKevin Kerns Coen 120 Project Proposal For my project I propose to design an acre
Santa Clara - COEN - 120
indprojKBReport on Configuration computerOverridden Properties Subjects: CPP_ReverseEngineering Metaclasses: ImplementationTrait Properties: AnalyzeIncludeFiles: AllIncludes CG Metaclasses: Relation Properties: InstanceBasedLinking: False Class Pro
Santa Clara - COEN - 120
Bike_ComputerReport on Configuration DefaultConfigPACKAGESBike_Computer GLOBALS: USE CASES:bike wheel input signalThis is the input from the sensor on the fork. Every time the magnet on the wheel passes the sensor it registers a signal. Relatio
Santa Clara - COEN - 120
psalas_final_fall20 03Report on Configuration VxWorksOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGESDefault EVENTS:deleting1deletes from gate 3.deleting2delete from gate 2.distri
Santa Clara - COEN - 120
AdaptiveHeadlightsReport on Configuration DefaultConfigPACKAGESDefault GLOBALS: CLASSES:MotorMindCarrierContains one function and no statecharts. See SetDC description. Overridden Properties Subjects: CG Metaclasses: Class Properties: Concurren
Santa Clara - COEN - 120
Piya (Ray) Chindaphorn COEN 120AdaptiveHeadlightsReport on Configuration VxWorksPiya (Ray) Chindaphorn COEN 120Project proposal: Adaptive Headlights Ever wanted your headlights to illuminate the roads that you are turning into? Ever wanted to
Santa Clara - COEN - 120
AdaptiveHeadlight sReport on Configuration DefaultConfigPACKAGESDefault GLOBALS: ACTORS:2_way_road_switchTakes in an input from a switch that the user has control of to either turn on or off the 2-way road function. Relations: itsX coordinate c
Union KY - ENCO - 461
Economic PerspectiveENCO 461/561 Summer 2006American Consumers Spend over $200 billion per year on media products and services Average household: $570 annuallyEconomics = Resources Media industries take in $300 billion each year in revenue 9
Union KY - ENCO - 461
History 1929 CBS/Columbia Broadcast System, began with 25 radio stations originating out of New York Before 1930 Vladimir Zworkin developed an all electronic system to transform visual image into an electronic system (beginnings of TV) 1930 Ph
Santa Clara - COEN - 120
Group4 ServerReport on Configuration WindowsOverridden Properties Subjects: CG Metaclasses: CGGeneral Properties: GeneratedCodeInBrowser: FalsePACKAGEStrainServer TYPESmessageBufferThis type is a 10 character array used in sending and receivin
Santa Clara - COEN - 120
ClientReport on Configuration vxworksPACKAGESTrainTicketsPackage containing all the information about the train ticket system.USE CASE DIAGRAMS:UseCaseTrainTicketsGenerate TicketRide the TrainDeduct FundsPassenger Add FundsRemov e
Santa Clara - COEN - 120
SnowMakerReport on Configuration SnowMakerPACKAGESDefault GLOBALS: CLASSES:clkThe clock simply keeps track of system time, which is in minutes and rolls over at the end of every day. Relations: itsControl_system Association with control_system,
Santa Clara - COEN - 120
Jonathan L. MontanaUse Cases Report on Microwave configurationSTEREOTYPESextendsMetaclass: Dependency Defined At: DefaultPACKAGESDefault GLOBALS: ACTORS:Microwave DisplayThe microwave display is an output screen. Relations: itsDisplay Foci
George Mason - AVT - 483
For Immediate ReleaseContact: Mattel Corporate Communications 310-252-4705 corporate.communications@mattel.comMATTEL ANNOUNCES VOLUNTARY RECALL OF SINGLE PRODUCT LIMITED TO THREE MARKETS Product in Canada, British Isles and U.S. Only EL SEGUNDO,
George Mason - AVT - 483
Fisher-Price, en coordinacin con la United States Consumer Product Safety Commission, est retirando voluntariamente del mercado una cantidad limitada de juguetes Go Diego Go! Los juguetes, que representan botes de rescate de animales, fueron pintados
George Mason - AVT - 483
Fisher-Price, en collaboration avec la Consumer Product Safety Commission des tats-Unis, procde actuellement au rappel volontaire d'un nombre restreint de canots de sauvetage d'animaux jouets Go Diego Go! qui ont t peints par un fabricant faon parti
George Mason - AVT - 483
Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Target Targe
George Mason - CSI - 703
Above is a screenshot of Name Voyager. Screenshot was obtained using GIMP (a freeware from GIMP.org)
George Mason - CSI - 703
Perceptual Accuracy Of Extraction: Position Along A Scale Is Best01 2 3 4 0 1 2 3 4 0 Increased distance Accurate decoding Decreased accuracy1 2 3 Grid lines help4The above plot was obtained by running the following script in R:Reference:
George Mason - CSI - 703
CSI 703 Assignment #3- Density Plots SP 2007 Musaddeque HosseinPage 1 of 6Density Estimate Construction .10 .05 .00 .10 .05 .00 .10 .05 .00 .10 .05 .00 .10 .05 .00 .10 .05 .00708090100110Kernel Density Estimation plot from Section 1.1
George Mason - CSI - 703
CSI 703 Assignment 7 Musaddeque HosseinSP 2007Page 1 of 4 Maps and Loess 2-D SmoothingWhite Male Colon Cancer Mortality, 1980-1989Age-Adjusted Rates Per 100,000 Population Based PercentilesMax=3980%26.960%23.540%21.620%19.2
George Mason - CSI - 703
CSI 703 Assignment 8 Musaddeque HosseinSP 2007Page 1 of 8 GlyphsMotor Trend CarsMazda RX4 Wag Mazda RX4 Datsun 710Hornet 4 Drive Hornet SportaboutValiantDuster 360Merc 240DMerc 230Merc 280Merc 280CMerc 450SEMerc 450SLMerc
George Mason - CSI - 703
CSI 703 Assignment 12 Musaddeque HosseinSP 2007Page 1 of 3 Clusters and SubspacesScaled Conditional Entropy Original DataV12 0.87 0.87 0.87 0.87 0.98 0.98 0.98 0.99 0.99 0.99 0.99 0.99 0.99 0.99 0.87 V9 0.87 0.88 0.88 0.98 0.98 0.98 0.99 0.99
George Mason - CSI - 703
Scaled Gene mRNA Data Minimal Spanning Tree Sort: Rows and Columns MatricesCorrelations Data DissimaritiesCOLOR KEY Correlation: Data: Dissimilarity: 1.00 0.68 0.00 0.60 0.42 0.54 0.20 0.16 1.09 0.20 0.10 1.63 0.60 0.37 2.18 1.00 0.63 2.72
George Mason - CSI - 703
Scaled Gene mRNA Data Minimal Spanning Tree Sort: Rows and Columns MatricesCorrelations Data DissimaritiesCOLOR KEY Correlation: Data: Dissimilarity: -1.00 -0.68 0.00 -0.71 -0.49 0.39 -0.43 -0.31 0.78 -0.14 -0.12 1.17 0.14 0.07 1.55 0.43 0.25 1.94
George Mason - CSI - 710
CSI710 Scientific Databases Group 2 Solar System Cataloging Allen Harvey Musaddeque Hossein Nishant Mehta Oscar Olmedo J. Scott Thompson The 10 Questions 1.) How many NEOs are currently identified in the JPL database? 2.) Which specific NEOs pose t
George Mason - CSI - 710
CSI 710 Scientific Databases FALL 2006 FINAL EXAM Submitted By: Musaddeque HosseinPage 1 of 18Musaddeque HosseinCSI710 FinalFall 2006Please Note: Answers to this exam were based on the in class lecture slides and the textbook for the cours
George Mason - CSI - 722
CSI 722, Spring 2006Project 1Page 1 of 2Fig 1: Density change (100 iterations)Fig 2: Pressure change (100 iterations)CSI 722, Spring 2006Project 1Page 2 of 2Fig 3: Velocity change (100 iterations)
George Mason - CSI - 722
%= % plot the results from the FCT scheme % read data from the following files: % lowflux.out - low order flux solution % fctflux.out - limited high order solution % data in the files are arranged in the following columns: % column 1: elementid - seq
George Mason - CSI - 742
csi742 project 1 program outputeigen values and eigen vectors for linear elements subject set 1 and 2 conditions (output summary of diffusion.out)eigen vectors lambda 2 lambda 3 lambda 4 lambda 5 lambda 6 lambda 7 eigen vectors eigen vectors eigen
George Mason - CSI - 721
CSI721 Fall 2005Project 1 ResultsPage 1 of 2CSI721 Fall 2005Project 1 ResultsPage 2 of 2
George Mason - CSI - 721
% = % This file plots the output of potential flow solver % for a airflow over a parabolic arc. % CSI 721 project 1, Fall 2005 % Instructor: Professor Rainald Lohner % Musaddeque Hossein % Fall 2005 % Input file is called phi.out % V infini = 500 mph
George Mason - CSI - 721
CSI 721 Fall 2005Project 2Page 1 of 4Fig 1 Mesh domain triangular elements, airfoil at centerFig 2 Velocity Vectors at element nodesCSI 721 Fall 2005Project 2Page 1 of 4Fig 3 Velocity Vectors at airfoilFig 4 Velocity Vectors at
George Mason - CSI - 701
Musaddeque Hossein Assignment 3CSI 701 Spring 205 MATLAB Plot CodePage 1 of 1clear all; phi = load('/home/musa/csi701/classNotes/hw3/c701hw3_version1/phi.out') grid_size = size(phi); n = grid_size(1,2); m = grid_size(1,1); x=linspace(0.000000,2
George Mason - CSI - 701
Matrix Resolution (8,16)Matrix Resolution (64,96)Matrix Resolution (300,450)
George Mason - CSI - 701
Air Force Academy - ERTH - 350
User Agent not allowed |ua Wget/1.11.4 (Red Hat modified)|Your client does not have permission to get the transcoded version of http:/www.wou.edu/las/physci/taylor/erth350/orprecip.xls from this server. Your user agent (Wget/1.11.4 (Red Hat modified
Air Force Academy - ERTH - 350
User Agent not allowed |ua Wget/1.11.4 (Red Hat modified)|Your client does not have permission to get the transcoded version of http:/www.wou.edu/las/physci/taylor/erth350/table1.xls from this server. Your user agent (Wget/1.11.4 (Red Hat modified)
Air Force Academy - ERTH - 350
User Agent not allowed |ua Wget/1.11.4 (Red Hat modified)|Your client does not have permission to get the transcoded version of http:/www.wou.edu/las/physci/taylor/erth350/table2.xls from this server. Your user agent (Wget/1.11.4 (Red Hat modified)
Air Force Academy - ERTH - 350
User Agent not allowed |ua Wget/1.11.4 (Red Hat modified)|Your client does not have permission to get the transcoded version of http:/www.wou.edu/las/physci/taylor/erth350/table3.xls from this server. Your user agent (Wget/1.11.4 (Red Hat modified)