Download Message Passing Tools for Software Integration
Transcript
4.5 4.5 4.7 4.8 Event-Based Message Handling ................................................ 61 Queue-Based Message Handling ............................................... 65 Combination Message Handling............................................68 Sum mary ............................................................................ ........................ 70 ...... 71 5 The Message Packaging Library ....................................... 5.1 5.2 5.3 5.4 .... The World of Message Data Objects ........................................ ... C Library Routines for Message Packaging ..................................... .... Tcl Library Routines for Message Packaging.............................. Sum m ary ......................................................... ........................................... 72 73 78 80 6 Exercising the Tools....................................................81 6.1 6.2 6.3 C A FE O verview ................................................... ...................................... 81 ....... 81 Factory Display Overview ............................................. 83 Factory Display Integration with CAFE ....................................................... 6.4 6.5 Sending Messages from CAFE.............................................84 Communication between fdaemon and fdisplays ..................................... 84 6.6 6.7 ....... Initial State of the Display ............................................. Integration Architecture ..................................................... 6.8 Facility History and Facility Simulations ..................................... 6.9 6.10 6.11 ..... 86 Run by Run Control Integration ........................................... ....... 86 Other Integration Projects ............................................. Summ ary .............................................................................. ...................... 87 7 Conclusion.................................................... 84 85 ..... 85 .............................. 89 7.1 7.2 7.3 7.4 A Graphical Tool for Software Integration.................................89 .. ........ 90 Message Verification ....................................................... Time-out Mechanism ....................................................... 90 Efficient Message Formats ................................................... 91 7.5 7.6 Lightweight Version of the Libraries ........................................................ 91 Porting Libraries to Other Platforms........................................91 7.7 Summ ary ......................................................... ........................................... 92 ............. ............... 95 References ........................................................... Appendix A - Using the Library Source Code ............................................ 97 The C Source Files ....................................................... The Tcl Source Files ....................................................... ......... .......... 97 ......... ......... 97 Appendix B - Viewgraph Source Code ..................................................... 99 107 Appendix C - Message Formats .......................................................... The Binary Message Format..............................................107 108 Object File Header ..................................... 108 ......... ........ Object File Directory .................................................... The ASCII Message Format .......................................................................... 10 Appendix D - Factory Display Details ........................................................ 13 113 User's Manual ....................................... 115 Obtaining Information From the Display ...................................... ............ 117 Customizations........................... The fdisplay Command Language ................................................................. 18 Page 8