1 / 19

VxWorks Real-Time Kernel Connectivity

VxWorks Real-Time Kernel Connectivity. What is VxWorks ?. VxWorks is a real time operating system developed by Wind River for use in embedded systems. Automated Devices. It’s not always possible to monitor them directly. How do we monitor and test them from a remote location?.

farren
Télécharger la présentation

VxWorks Real-Time Kernel Connectivity

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. VxWorks Real-Time Kernel Connectivity

  2. What is VxWorks? • VxWorks is a real time operating system developed by Wind River for use in embedded systems.

  3. Automated Devices • It’s not always possible to monitor them directly. • How do we monitor and test them from a remote location?

  4. Monitoring DAQ Devices • A web-based toolkit allows the status of DAQ devices to be seen by users with an internet connection.

  5. Overview • The client requests the status of a device, and the host queries the target for the data.

  6. The client accesses the host, selects the page of the device for testing, and submits a form with parameters for the device. • The host forwards the form to the appropriate target. • A CGI program on the target receives the form and performs the requested tests. • The CGI response is returned to the host and forwarded to the client.

  7. Devices Target Host Web Page Target Client Web Page Target

  8. “Host” Computer • An HP Desktop PC running an Apache server and Windows XP. • Acts as a medium between the client and the target(s). • Used for development on the VxWorks computer

  9. “Target” Computer • Connected to one or more devices as well as the host. • Runs the specialized web server for communication with the host.

  10. Hardware Problems • The intended VxWorks target (a WindRiver SBC83XX PowerQUICC II Proc) seems to have had a hardware failure. • It is not feasible to repair or replace currently • Fortunately, a potential alternative is available from Wind River.

  11. VxWorks Simulator • A specialized virtual machine running VxWorks. • Can be connected in a private network with the host • Greatly speeds development, since everything is done in software.

  12. Simple WEB Server • Last updated in 1999, and is tricky to compile now. • Written in C and designed with VxWorks in mind • Provides very basic functionality

  13. CGI • More than a month to get the CGI working. • About 2000 lines of old C code to sort out. • Poorly implemented • Recognizes function names, not files. • Programs run in the same thread as the web server. • Only C programs can run.

  14. Currently… • Web servers are up and running • Target CGI is working with limited functionality • Basic web site structure • http://69.88.163.21

  15. Boiler Controller • A controller was developed for a theoretical boiler system which contains a large boiler tank, several water pumps, a steam valve and multiple sensor. • This interacts with an entirely-software simulator. • It is possible to make the controller interact with the VxWorks simulators. • Physical devices cannot be connected to the simulators, so simulated devices can show a proof of concept • This allows changes in the boiler system to be available almost immediately on the web site.

  16. Boiler Controller Boiler Simulator RS-232 End User Shared Host Memory Internet VxSim Server CGI Program Web Server

  17. Database Integration • A MySQL database was set up for integration with the web site. • This allows amazing flexibility in expanding the functionality and minimizing maintenance and expansion difficulty.

  18. Database ERM Diagram Each Target may have one or more associated Devices, but each device may be associated with only one Target. Each Device may have one or more associated Tests, but each Test may be associated with only one Device. All entries have an ID number which uniquely identifies them within the table.

  19. Conclusion • While the usage of VxWorks Simulators allows easy development and is sufficient for a proof of concept, it is not practical for a permanent solution. • The web server being used on the simulators, while functional, is very prone to errors and exceptions. This has caused more difficulty than anything, so it may be beneficial to make another attempt to get an alternate webserver working.

More Related