VxWorks Real-Time Kernel .VxWorks Real-Time Kernel Connectivity: Cumulative Report . CEN 4935 . Joanne

  • View
    223

  • Download
    1

Embed Size (px)

Text of VxWorks Real-Time Kernel .VxWorks Real-Time Kernel Connectivity: Cumulative Report . CEN 4935 ....

  • VxWorks Real-Time Kernel Connectivity:

    Cumulative Report

    CEN 4935

    Joanne Sirois

    FGCU

    May 4, 2009

  • 2

    Table of Contents

    1. Introduction ................................................................................................................................. 5

    2. Software Requirement Specification .......................................................................................... 6

    2.1. Introduction .............................................................................................................................. 6

    2.1.1 Purpose ............................................................................................................................... 6

    2.1.2 Scope of Document ............................................................................................................ 6

    2.1.3 Definitions, Acronyms, and Abbreviations ........................................................................ 6

    2.1.4 References .......................................................................................................................... 7

    2.1.5 Overview of document ....................................................................................................... 7

    2.2. Description of Project .............................................................................................................. 7

    2.2.1 Project Overview ................................................................................................................ 7

    2.2.2 Project Functions ................................................................................................................ 8

    2.2.3 User Characteristics............................................................................................................ 9

    2.2.4 Assumptions and Dependencies ......................................................................................... 9

    2.3. Specific Requirements ........................................................................................................... 10

    2.3.1 External Interfaces............................................................................................................ 10

    2.3.2 Functional Requirements.................................................................................................. 10

    2.3.3 Non-Functional Requirements ......................................................................................... 10

    3.3.1 Reliability ..................................................................................................................... 10

    3.3.2 Availability ................................................................................................................... 10

    3.3.3 Security ......................................................................................................................... 10

    3.3.4 Maintainability.............................................................................................................. 10

    3.3.5 Portability ..................................................................................................................... 10

    2.3.4 Organizing the Specific Requirements ............................................................................. 11

  • 3

    2.3.4.1 System Modes............................................................................................................ 11

    2.3.4.2 User Class .................................................................................................................. 11

    2.3.4.3 Objects ....................................................................................................................... 11

    2.3.4.4 Feature ....................................................................................................................... 11

    2.3.4.5 Response .................................................................................................................... 11

    2.3.4.7 Functional hierarchy .................................................................................................. 11

    3. Software Design Description .................................................................................................... 12

    3.1. Introduction ............................................................................................................................ 12

    3.1.1 Purpose ............................................................................................................................. 12

    3.1.2 Scope of Document .......................................................................................................... 12

    3.1.3 Definitions, Acronyms, and Abbreviations ...................................................................... 12

    3.2. References .............................................................................................................................. 12

    3.3. Decomposition and Dependency Description ........................................................................ 13

    3.3.1 Module Decomposition .................................................................................................... 13

    3.1.1 Simple WEB Server ...................................................................................................... 14

    3.3.1.2 Interprocess Communication Service Module .......................................................... 15

    3.3.1.3 Event and exception logging package ....................................................................... 16

    3.1.4 Message-oriented IPC utility functions. ....................................................................... 16

    3.3.1.5 Server's infinite loop .................................................................................................. 17

    3.3.2 Dependency ...................................................................................................................... 17

    3.3.2.1 Simple WEB Server................................................................................................... 17

    3.3.1.2 Interprocess Communication Service Module .......................................................... 17

    3.3.1.3 Event and exception logging package ....................................................................... 18

    3.3.1.4 Message-oriented IPC utility functions. .................................................................... 18

    3.3.1.5 Server's infinite loop .................................................................................................. 18

  • 4

    4. Implementation ......................................................................................................................... 19

    4.1. User Instructions ................................................................................................................ 19

    4.2 Program Development......................................................................................................... 27

    4.2.1 Structure........................................................................................................................ 27

    4.2.2 Example ........................................................................................................................ 29

    4.2.3 Remote Access ............................................................................................................. 30

    5. Testing Documents ................................................................................................................... 35

    6. Conclusion ................................................................................................................................ 41

    7. References ................................................................................................................................. 41

    Appendix ....................................................................................................................................... 42

    Compilation 1 ............................................................................................................................ 42

    Compilation 2 ............................................................................................................................ 44

    Compilation 3 ............................................................................................................................ 49

  • 5

    1. Introduction

    When using automated data acquisitions systems, they need to be monitored frequently

    for continuation of operation. This is important because data acquisitions whole purpose is to

    take reliable readings using specific instruments. If this function is off even slightly, the results

    could be considered completely worthless. That is why issues have to be resolved as quickly as

    possible. One solution proposed by E. Desavouret and J. Nogiec is to create a type of toolkit

    which gives technicians the ability to see the status of DAQ devices quickly through any

    computer with an internet connection [1].

  • 6

    2. Software Requirement Specification

    2.1. Introduction

    2.1.1 Purpose

    The software requirement specification document is particularly designed

    to define the boundaries of the VxWorks Real-Time Kernel Connectivity projects

    design and functionality. This documentation is intended but not be limited to the

    system owners, the system users, and the project manager.

    2