Home

GSEOS User`s Manual

image

Contents

1. Institut f r Datenverarbeitungsanlagen Central Checkout System Interactive Data Language Consultative Committee for Space Data Systems Internet Protocol Dynamic Data Exchange Mechanical Ground Support Equipment Data Processing Unit Personal Computer Electrical Ground Support Equipment Quick Look Electrical Model Spacecraft Flight Model Standard Formatted Data Units Ground Support Equipment Operating System Software SA 54 Institut f r Datentechnik J z SEN Ref und Kommunikationsnetze TECHNISCHE UNIVERSIT T IDA GSEOS 0001 BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project f f 4 GSEOS Page 7 of 8 1 5 Key Word Definitions Active QLook Items Visual part of the Data Display An Active QLook Item displays Batch Manager BDM Block Block Element Compiler Control Panel Data Display Decoder Edit Mode G Language Logging Display Navigation Tree Operational Mode Block Elements in different formats e g hex decimal array y t plots y x plots histogram images and is refreshed automatically if the displayed Block Element has changed GSEOS module responsible for batch file handling e g batch start suspend resume abort GSEOS module responsible for data driven Block stream handling All data handled by the GSEOS is grouped in Blocks e g telemetry data blo
2. Institut f r Datentechnik und Kommunikationsnetze TECHNISCHE UNIVERSITAT Ref IDA GSEOS 0001 BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Page 20 of 48 5 System Architecture The next picture shows the main modules of the GSEOS and the data flow inside the EGSE PC E 8 S E O 2 o M Modules configured by the G Compiler Standard PC H W Interaction Recorder Processor G Compiler Command amp Batch Configuration Files Near Realtime Parallel E li Sound i Service Message Logging Realtime Experiment H W Network I F Serial I F Parallel I F Figure 5 GSEOS 5 Data Flow E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project Pase 21 f 48 GSEOS age ol 6 Configuration 6 1 6 2 Overview The GSEOS can be switched to one of two modes In the Edit Mode interactive modifications of parameters are supported Data Displays can be defined interactively In the Operational Mode no modifications can be done interactively This prevents the less experienced user from the risk that the configuration is destroyed erroneously So the operation of the system becomes very stable and robust The user should be somewhat familiar with the basics of the Windows NT graphical user interface At least the following basic proce
3. TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project f 4 GSEOS Page 8 oT 8 configuration is destroyed erroneously Passive QLook Items Visual part of the Data Display A Passive QLook Item displays static elements e g text static pictures Property Sheet Part of QLook Property Sheets are special dialog boxes for configuring QLook Item attributes or general setups QLook GSEOS module responsible for all display related GSEOS tasks Recorder GSEOS module responsible for recording and playback of Blocks Institut f r Datentechnik Ref IDA GSEOS 0001 ez und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project f 4 GSEOS Page 9 of 8 2 Introduction This paper describes the main features and the internal structure of the IDA Ground Support Equipment Operating System Version 5 GSEOS 5 First it states the purposes of IDA GSEOS and gives an overview of the software and hardware relationship This is followed by a general description of the software concepts The last chapter shows the configuration of the system A detailed description of the operating of the GSEOS program can be found in the GSEOS Reference Manual IDA GSEOS 0002 In the document GSEOS Language Description IDA GSEOS 0003 a full explanation of the common configuration language of the GSEOS is given The GSEOS Language Runtim
4. 4 22 Data Decoder rene eae eee er epe e dere ee E ERE ede repens 17 42 3 Data Display et entere nitet A pe P E ED 17 4 2 4 Data MONTOS cetro rese eene 17 ADS JLOBPIg noe HE ete e Ug HE Uere Fee tone EET 17 42 6 Recordmgp Playback iu e ane Aa ee de e RE i dr i eb cu eben 17 A222 NRI E EE ON o c 18 4 2 5 Command Batch Files cantor tree ederet eae eerte eire aede reader tea dv 18 4 2 9 External Program Calls in emet et eee e e ele tg e be ete Baia 18 2 2 10 Network dee NER eere p V ee ee ede D RE rn ee eid 18 42 11 Serial POFtS air Rede t eie ede eee o ae ie e eR A 18 42 12 Special H W SUpport netter teen tee reri eem cere deed kn 18 System Architecture asien 20 COMAS A A ia 21 6 1 COVE WD 21 6 2 Configuration Language vs QLook uuc000s000ossosnssensnsnennsssnsnssnsnssensnnennsnnennnssessnnsnnnnennsssssnssessnnnese 21 6 3 The GSEOS Langa te wiisessccsssscsccssentsvsckesisssecssesedsscessevssescectesesssenscssesesensessevesoesacvesecsseuess doeeveenscdesetees 23 6 3 1 Language Main Features iio IH all 23 6 3 Tel D codets tt its 24 6 3 T 2 7 OEook Items e at 24 6 3 1 3 Commanding iii 25 6 3 T 4 Batch Files uito etam atenta Enn HS 25 6 3 2 Language Example en al eR eR amd 25 63 37 Data and Control Blow 5i eu and 28 4 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze
5. HNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Page 3 of 48 6 3 3 1 Virtual Machine un tines han naeh epe t dore ec eei pd ee ees 28 6 3 3 2 GSEOS Startups S oon ace eee Ri ERR EE ona 29 6 3 3 3 QLook Items ee essen ee ae 29 6 3 3 4 OLook Buttons ones mt Ge e Opp ARR DR E 30 6 3 3 3 Batch EXECULIO it icon 31 ES A A M 32 OAT Navigation Treeuricaii noni linda oir 33 6 42 Data Display tc aee US ER USE ee eiie He cte ec 33 6 4 2 1 Active OEool Items uio eee eee eee eerie e eee ridet encodes 33 64 2 2 Passive OLook A ts 35 6 4 2 3 Command Buttons teet e rie ert tere rede dest e Ree eee Ee eee a PEERS ER dean i 36 64 24 Dat MODILOE RO 36 643 Logging Display rana 37 644 Configuration te RES e REUS ERI die Hefe eee 37 6 4 4 1 General GSEOS Configuration eese nennen nennen nenne enne neret rennen nenne tenerent 37 6 4 4 2 Data Display Configuration ueesseessesnnesnnesnnesnensnensnensnennonnnnnnnnnnnnsnnnsnnennnesnnesnnnsnensnensnensnnnsennnonnnnnnn 38 7 Configuration Example een 42 TA gt Experiment Descriptions iccsecssecccedisceesecsssecevoszveavecesdonsedesstenesvssestoscsecsuesanesntolescesctesodestasseadseccsstecsets 42 AN ERA ROO 42 ZAZ Command Eormiat 2 2 2088 e OO dea IR IE E le CERES RUNS 43 7 2 GGSEOS SII eI eR 43 1 2 1 Comiguration Elle cir eoe teo rere tete eter EN a orae ee ie eren A 44 22 Data Display esee ie aree yea
6. SKS SAPS SAKRA KPS SA sete see naco nono sena 20 Figure 6 Virtual Machine Control and Data Flow eere eee eee ee eene eene etse te ette setae tte es nenene no secoce 28 Figure 7 GSEOS Startup Control and Data Flow eee eee eee eee ee eene eene ense te ettet te sites tenete season 29 Figure 8 QLook Item Control and Data Flow crecer eese esee eee eee ette etos to ette 0000000000000 senes ense onnc on 30 Figure 9 QLook Button Control and Data Flow cresce esee eee eene eene te ette sten seta 000000000 ette s testa sena 30 Figure 10 Batch Data Flow A 31 Figure 11 Typical GSEOS Display ococoooonnoconncoonocoonononcooncnoncnoonooconoconnaconacononcnnaconaccnncnon nono KPA nooo ronoc nono nonacoss 32 Figure i dimi cc 34 Figure 13 Passive QLook Items eee eeee ee eese eese eee eren ette senno tn aetas etas etas ona ona eese e sesto seen eee Se stet testa sena 35 Figure 14 Command ButtOns eren eroe oe eoa nenn sten prete o oput eo re eua o eo ae en o Ime ten eee vero canina nenes ee en pun eos 36 Figure EE Gnd 38 Figure 16 Sizing of QLook Items 4 eee ee eee etes eren eren ette senno tn aeta aetas etas eas tae ease tese testen sesto coco Hon ee nene 40 Figure 17 QLook Item Attributes tete eterne etra neret o aei ep ne
7. instrument development phase In particular commands can be activated by clicking of a respective command button command strings can be generated and activated directly via buttons or dependent on conditions e g derived from sensitive H K values or other specific values within the scientific data flow The data response of the instrument DPU is decoded and displayed in selectable windows in easily configurable representations as alphanumerical bar graph plot etc and recorded in an easily retrievable way Sensor simulators are used to feed well defined stimuli into the front electronics of the sensor Again the sensor simulators are controlled by the GSEOS Y E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project Pace 1 f 4 GSEOS age 3 oT 8 3 2 2 Spacecraft Integration System Level Sensor Data Instrument Telemetry Instrument Hs H W S C DPU System Sensor Simulator Ctrl TUNE Ground Telemetry GSEOS wor Segment CCS Simulator Ctrl EGSE PC Figure 3 Spacecraft Integration The EGSE is usable also as checkout equipment during instrument integration of EM and FM aboard the spacecraft The respective configuration is shown in Figure 3 In this level the EGSE is connected via network with the Ground Segment of the CCS The S C simulator is no longer needed In principle the E
8. like referencing of parameters in function calls is possible e No global variables Y E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Page 24 of 48 e No explicit typecasting of complex types but slightly more tolerant in mixing types of the same size e Full runtime checking of array ranges even of arrays with unknown size at compile time This prevents GSEOS to crash because of invalid memory accesses Built in error recovery allows to continue execution in most cases Error recovery can be limited to stop functions that are producing too many errors e Automated interaction with the BDM Bit precise definition of the data structure and endian of blocks generated by external hardware Automatic conversion of bit precise to byte based formats on read access and vice versa Automatic conversion between Motorola data formats and Intel big little endian Built in commands for triggering execution on incoming data blocks Since all data manipulations as well as commanding and displaying are programmable through G GSEOS allows easy powerful and comfortable programming of nearly all user specific parts The QLook independent configuration like definition of data block types decoders and global functions can be done inside of one common configuration file But it is also possible to split
9. multiple pages each page has a tab that the user can select to bring the page to the foreground To confirm the changed settings the user may press OK or Apply to close the Property Sheet without any changes the use may press Cancel All settings of the GSEOS modules are stored in one configuration file GSEOS ini So all settings can be easily backed up and recovered There is no need to edit this text file directly Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Page 38 of 48 N IDA GSEOS Development Project G x File Edi View Source Tools Help ml el me epar k ET aj m Project Control Panel E B Screens a d GEI E e amp CI 104 d Ej gt M D F s ool BDM Compiler H w Driver Network Look Recorder Security Serial Ports est FH Commands a FESIM QLook 21x HE SCSIM General Project Messages QLook Project Settings r Project Project Title Development Project r Screen File Directory C GSEOS Development GSEOS NT XScreens Browse r Batch File Directory C GSEOS Development GSEOS NT Batches Browse g Message 10 19 1999 13 07 21 Information Compiler 0 warnings 10 19 1999 13 08 06 Information Command Hardware S 10 19 1999 13 08 08 Information Command Hardware 5 5 10 20 1333 13 56
10. nre IRR cn ERR Ee Tae INTERN 47 MG und Kommunikationsnetze y I A Institut f r Datentechnik Ref IDA GSEOS 0001 TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project i GSEOS Page 4 of 48 Tables and Figures Table t Change Record EE 5 Table 2 Abbreviations 6 Table 3 GSEOS Feature Overview uusosssossonsonssnssnnsnnssnsssnnsnnsnnesnssnnsnnsnsnnnsnnnsnnsnnnsnnsnnssnnsnnsnnssnnssnssnnsnnnsnnsnnnen 15 Table 4 Format String Conversion Characters eee ee eee ee eee ee ee eee eene eee 0000000000000 0 0000000000000 0000000 35 Table 5 Telemetry Definition e eeee eene oo eret rte eoe on Pen ea aeo rone een ep uae ena se oe eee ee eo e TR roes Sro ER HE ER Seen Tee 42 Table 6 Command Definition 0 200 00s00n0002002002000200200200n000200n00n00n000000n2000 eno sesso seta sees sense Ens Sasss pess 43 Figure 1 General System Configuration eee e ecce esee esee ee eee eee seen esten ae etos e tasse eaae sense eese s tasses ea ae 11 GP Bench Test PP D 12 Figure 3 Spacecraft Integration ssusssseonssonsssonssonssnnssnonssonssnnennussnunsnnnesnussnnssnnssnnssnnssonsssnssssnssonsssnsssnnene 13 Figure gira TO ScOU Ce 14 Figure 5 GSEOS 5 Data Flow eee ee esee eee ee esee ee ette sense sense een ao one Kea setas eaae
11. on IP level The full program functions are accessible via network e g data transfer to other Ethernet user remote commanding The GSEOS supports both client and server mode of communication Special communication protocols e g CCSDS SFDU are implemented as data decoder functions 4 2 11 Serial Ports Up to 255 serial communication ports are supported by the GSEOS Like a network connection a serial connection can exploit all program functions Data decoder functions are used to decode the communication protocol Further there are special functions to control the handshake signals 4 2 12 Special H W Support To access special H W e g spacecraft and sensor simulators the GSEOS uses a Windows NT kernel mode driver After data has passed the driver it is available as data blocks for further processing by the GSEOS This special driver is necessary because under Windows NT there is no way to access H W directly from a user program The driver is responsible to the lowest level handling of data and commands and serves the interrupts of the special H W This driver is highly hardware E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project uw f 4 GSEOS Page 9 ol 8 dependent and therefore has to be adapted to the dedicated experiment H W used inside the PC In EGSEs configured by IDA this adaptation is built in
12. this file into several handy pieces and use the include command to combine the parts at compile time 6 3 1 1 Decoders User defined decoder functions are executed automatically by the BDM each time when a user specified data block arrives generated by the hardware or internal sources Each decoder function can be allotted to a specific data block or even a list of blocks It is possible also to allot several decoders to the same block Decoder functions can be used to create new blocks out of the incoming blocks they can filter data or combine multiple data blocks to one It is possible to apply multiple decoder runs to each incoming data block 6 3 1 2 QLook Items All data displayed by QLook is specified by G expressions Whenever the BDM processes a new block of a type used inside the expression the value is recalculated and displayed automatically The GSEOS Language support to translate numeric values into different colored texts to highlight alarm flags for example It is very simple to view only special block elements just specify the desired element like a part of a data structure inside the GSEOS Language expression 29 24 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project l GSEOS Page 25 of 48 The program code of QLook Items can be changed at runtime In that case the new program will be
13. 0101100 10001001010011010111011010110000 10001001010010010111011010110100 10001001010001010111011010111000 10001001010000010111011010111100 10001001001111010111011011000000 This is a string Figure 12 Active QLook Items The representation of numeric values offers a high flexibility using a format string known by the C language printf function All values can be displayed in various formats in many numeric representations like decimal hexadecimal octal or binary integer or as floating point number or as character It s possible to combine multiple numeric representations of one single value 29 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project P 35 f 48 GSEOS age Table 4 Format String Conversion Characters Type Char Expected Input Format of Output Jod l i Integer signed decimal integer You lu Integer unsigned decimal integer Tox TX Integer unsigned hexadecimal integer Io Integer unsigned octal integer Integer unsigned binary integer Ic Character single character If He Rog WE G Floating Point double signed floating point number 6 4 2 2 Passive OLook Items The Passive Items facilitate the experiment representation on Data Displays There are following Passive Items e Static Group Boxes Grouping area like the group boxes of dialog
14. 10 19 1999 13 08 06 Information Command Hardware SelfStimulation length 1 01 10 19 1999 13 08 08 Information Command Hardware SelfStimulation length 1 00 10 20 1999 13 56 52 Information Compiler O warnings 0 errors O internal errors 10 20 1999 15 26 50 Information Command Hardware SelfStimulation length 1 01 10 20 1999 15 26 52 Information Command Hardware BtifLed length 2 00 01 gt Source Hardware Figure 11 Typical GSEOS Display Y E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 33 f 48 GSEOS fon ii 6 4 1 Navigation Tree Within the Navigation Tree various Data Displays are hierarchical collocated The user can switch between the Data Displays quickly Furthermore all user defined command batch files are listed in the Navigation Tree They can be started with a double mouse click on the appropriate batch in the tree Beneath the Data Display and the batches the user finds the Control Panel in the Navigation Tree With this tool the main settings of all GSEOS modules may be made like the common Windows Control Panel 6 4 2 Data Display One of the most important features of the QLook is its ability to display the instrument data in various formats in real time The data blocks from the instrument H W can be displayed as numeric scalars or fields as graphical plot
15. 25 4 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNIS CHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project Pase 4 f 4 GSEOS age 47 of 8 7 2 2 Data Display The whole configuration of the Data Display can be made interactively using the graphical user interface of the GSEOS The next figure shows the Data Display for the magnetometer experiment The decoded Sensor Data is displayed within the Measurement group box as a single value and a plot The decoded H K Data can be found in the H K group M IDA GSEOS Sample Project olx File Edit View Source Tools Help mj al ele ele er rris rel Project Magnetometer E Papa B r Status r Measurement Batches On of E Current Measurement 41 77 nT amp Control Panel r Raw Telemetry Data EB 91 01 Z6 42 00 AC 00 AC 00 00 00 00 00 00 00 r H K Temperature 26 20 C T5V Voltage 5 16 V 5V Current 206 40 m Time g 11 16 1999 15 59 02 Information Compiler 0 warnings 0 errors 0 internal errors CA Source Hardware Lo Figure 18 Sample Magnetometer Data Display 4 Institut f r Datentechnik Ref IDA GSEOS 0001 I und Kommunikationsnetze ECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 4 f 4 GSEOS age 8 Or 8 The decoder within
16. 52 Information Compiler O warnings errors O internal errors 10 20 1999 15 26 50 Information Command Hardware SelfStimulation length 1 01 10 20 1999 15 26 52 Information Command Hardware BtifLed length 2 00 01 10 21 1999 14 01 01 Information Compiler O warnings 0 errors O internal errors 10 22 1999 15 36 18 Information Compiler O warnings O errors 0 internal errors Source Hardware Edt 7 Figure 15 Control Panel 6 4 4 2 Data Display Configuration Probably most time in configuration is consumed to build the Data Displays Therefore the user interface is designed to handle this task as easy as possible All settings can be done interactively quick and easy with the built in Data Display editor The configuration of the Data Display corresponds to common graphical editors Tool bar and context sensitive menus are used The QLook editor relevant part of the tool bar consist of following functions Ei Toggle Edit Mode On Off With this button the user can switch between the operation mode and the edit mode Configuration changes can be done in edit mode only TEA ET Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project P 39 f 48 GSEOS age os If the edit mode is enabled one of the following tools can be chosen Ld 4 W BEE A Selection Mode In the select
17. EPICA SWICS SWIMS ULEIS e CASSINI DISR MAG e CLUSTER RAPID GALILEO LRD EPI e GEOTAIL EPIC e SOHO CELIAS SUMER e Spaceshuttle MAS At the end of 1990 s engineers at APL started customer specific branch in the GSEOS history tree These efforts resulted in the GSEOS versions 3 4 16 bit Windows 3 0 and 4 0 32 bit Windows 95 98 At that point the development at APL and IDA diverted Currently APL uses these own versions for the projects e GALILEO CASSINI ACE NEAR IMAGE TIMED and SSUSI As the system evolved over the years new challenges appeared First of all technology has moved on to 32 bit systems Windows NT 2000 and support for 16 bit development dropped Second the use of different syntax and scripting language for the different modules made the system less consistent and harder to document and configure Furthermore the old system has some disadvantages such as block size limitation at 64 Kbytes commanding output data throughput limited by timer interval 55 ms and language deficiencies e g no loops 29 24 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project PT f 4 GSEOS Page of 8 Responding to these challenges IDA started the development of the completely new GSEOS version 5 0 in January 1998 To have the possibility to create optimum software architecture without compatibi
18. GSE is used in a similar way as during bench test Using the same test equipment during all stages of the instrument s life offers the important advantage that no expertise and familiarization with the test equipment is lost which otherwise has to be acquired again from test level to test level Instrument commanding can be initiated either under GSEOS control via the network link or directly by the ground segment In this case the commands should be reflected also to the EGSE for displaying and logging E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project Pase 14 f 4 GSEOS age of 8 3 2 3 Flight Operation Mission Level Sensor Data Instrument Telemetry Instrument B H W S C DPU System Sensor Simulator Ctrl Telemetry GSEOS a Segment mulator Ctrl CCS EGSE PC Figure 4 Flight Operations The last experiment phase is the operation after launch During the flight phase the EGSE is used as a quick look tool in principal in the same way as during S C integration The EGSE PC provides an interface to the ground segment computer which processes all data received from spacecraft This is typically a network connection to the CCS ground segment similar to that used in the integration phase The ground segment delivers telemetry data S C status data and reflects command data If supp
19. Look Items e t also can call hard coded runtime library functions for special calculations or communication purposes like commanding external hardware or getting user input The runtime library functions can receive and return data by simple parameter delivery The BDM can receive data blocks from the virtual machine as well as from external hardware 6 3 3 2 GSEOS Startup At startup time GSEOS reads the main configuration file into the compiler Depending on this configuration file the compiler performs different tasks e Process data structures for data from external sources and make them known by the BDM which handles all incoming data e Create machine code for functions that can be executed by any other user programmable GSEOS module e Create machine code for decoders and register this code for the accordant block type in the trigger list of the BDM After initialization whenever a new data block has to be processed the BDM will call the virtual machine to execute the according decoder code The machine communicates like described before User Functions Function Code Block Structure Decoder Source Code List BDM Array Figure 7 GSEOS Startup Control and Data Flow Control Flow Data Flow 6 3 3 3 OLook Items OLook Items are used to display data on the screen After entering a GSEOS language expression the compiler translates it to machine code returns it t
20. O OO Os 750000002 Mage 1 75000001 9999099993 Vss mor 27 100000000 WIES gabe Dp default Moe oue rangen Ope 3 4 Institut f r Datentechnik D Dalente Ref IDA GSEOS 0001 W und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project 02 f 4 GSEOS Page 8 oT 8 6 3 3 Data and Control Flow User Functions 6 3 3 1 Virtual Machine Decoder Item So 4 m pe Batch e 3 E m E s E A O H W Service Data Command Data Command Control Flow Data Flow Figure 6 Virtual Machine Control and Data Flow The virtual machine is the central data processing module of GSEOS It executes the compiled G programs of all decoders QLook Items and batches The machine itself communicates in different ways with its environment e Itcan execute the code of user defined global functions e The machine can read data blocks from the BDM or create and send new data blocks to the BDM Data blocks sent by a decoder are processed immediately Processing of the sending decoder is suspended until all decoders triggered on the justly sent block have been executed Y E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project 9 f 4 GSEOS Page 29 of 8 e Jt can fill data buffers that are displayed by Q
21. Ur Technische Universit t Braunschweig Institut f r Datentechnik und Kommunikationsnetze GSEOS User s Manual Revision 1 2 IDA GSEOS 0001 June 2000 Prepared by Kay Uwe Reiche Hagen Schmidt Kai Stoeckner Tim Wittrock T B 1 QA Institut fiir Datentechnik Ref IDA GSEOS 0001 MG und Kommunikationsnetze ECHNISCHE UNIVERSITAT RAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Page 2 of 48 SEODE MO aida 5 1 1 Purpose of this Document cusssussnassnnssnnseonsesnnssnnssnnnsnnsssnssnnnennussnensnnnssnussnussnsssnnssonssonsssnnssonssansssnnene 5 1 2 Change Record e 5 1 3 Reference Documentation ssi sc ceicscaiiesissesssccceossosesstesssaocevesuasoecsscesevoasseassoons voce sosessnssoterst vos een 5 EA sossvoceseoassosdepacebtesesseseovoncssossoassees 6 ESA tedsacesoonesnessesecsesdoecsseasonse 7 A MN CP et 9 NO 10 ASAS O O 10 3 2 General System Configuration veccscisesececsecocscsoscsssessvsossensesssncsseecsesdscessonsesecsesnnesdcncssvececsoneessontosesseons 11 3 21 Bench Fest AssemblyLeV 3 e 8 lee Rda 12 3 2 2 Spacecraft Integration System Level eese nre rennen nennen nennen 13 3 2 3 Flight Operation Mission Level eoe eee Ete ae ee bag eed 14 Main Keafures asia A 15 4 1 Platform 16 A ROU C 16 42T Command Processor 50165 nien etie tbe He e eet d RR Ee cdas 17
22. ata to the display e a decoder that calculates the average values of the last 10 values sent by sub device 2 and atext reference function that translates the temperature values into different named ranges QLook Items can use this function to display highlighted text if the optimum temperature range is left Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 2 f 4 GSEOS age 26 of 8 define SAMPLE_COUNT 10 number of samples to take for average calculation Hip define a simple structure for data transmission struct strTelemetry char 3 0 cDevicelD ID of subdevice sending this data in data JJ blockss 3 yalid bics no gad to as nert element long lTemperature current temperature of this device 32 valid J bits no gap short 14 sLoad current processor load in data blocks 14 Z vedle bircs y VA define a blocktype for incoming data The blocktype with a data structure defined in strTelemetry is called tblkTeleIn Any block of this type sent to the BDM will be accessible as ZE AMS ci blockdef strTelemetry tblkTeleIn blkTeleIn define a blocktype for processed average data The blocktype with a data structure defined in strTelemetry is called tblkTeleAv Any block of this type sent to the BDM will be accessibl
23. ate 6 5 2000 Project Pase 4 f 4 GSEOS age 45 of 8 block declarations AA blockdef tsRawTelemetry tblkRawTelemetry RawTelemetry Raw telemetry blockdef tsSensorData tblkSensorData SensorData Sensor data blockdef tsHkData tblkHkData HkData H K data Is this simple project lets assume that commands to the magnetometer ar routed through a H W driver There are different channels for network serial parallel etc So we can easily switch to an other destination define CMDCHANNEL MAGNETOMETER 0x01000042 J KK IK KK Ck RR RR RR RR 2 Ck oko oko oko oko oko ok oko oko oko kk kk kk kk kk ck ck ck ck ck ck ck ck ck ck ck ck ck ck ok ko k decoder J KK IK KK RR RR RR RR RR RR 2 oko RRA RA RR RR kok k ok kok kok ck ck ck ck ck ck ck ck ck ck ck ok ko k A VA decode on RawTelemetry VA The decoder in allotted to the raw telemetry data block transmitted from the magnetometer Depend on sync and type a new data or H K block is generated TEA A decode on RawTelemetry tblkSensorData Data tblkHkData Hk if RawTelemetry ucSync OxEB switch RawTelemetry ucType case 0x90 Data ucRaw RawTelemetry ucRaw 0 sizeof Data ucRaw send Data break case 0x91 Hk ucRaw RawTelemetry ucRaw 0 sizeof Hk ucRaw send Hk break e eh decode on _TimerlSec J A global system generated 1 sec Timer The
24. cks One Block contains one ore more Block Elements All Blocks are time tagged and are processed decoded monitored displayed etc in the order of their arrival Part of a Block Block Elements can be defined bit precisely and are accessible from the G Language by their names GSEOS module responsible for compiling of the configuration files written in the G Language The output of the Compiler is the internal configuration of other GSEOS modules GSEOS module responsible for general configuration Visual part of QLook responsible for the display of several Active and Passive QLook Items The Data Display is also the interface of the built in graphic editor for the QLook Item configuration Part of BDM responsible for the data driven Block processing After arrival of a Block the Decoder module calls a user defined decoder function for this special block type Mode of the Data Display In the Edit Mode interactive modifications of QLook Items can be done Configuration language of GSEOS All GSEOS modules use the same C like language Part of QLook responsible for displaying and storing of message protocols Part of QLook responsible for easy selection of a Data Display Mode of the Data Display In the Operational Mode no interactive modifications of QLook Items can be done This prevents the less experienced user from the risk that the 29 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze
25. compiled and the resulting code will be linked to the BDM instead of the former code 6 3 1 3 Commanding The hardware can be commanded by generating control sequences through GSEOS Language and sending it to the hardware by calling runtime library functions Commanding can be done e interactively by linking the program code to a QLook button or e program controlled inside of batch files or even decoders If the program code is linked to a QLook button it is recompiled immediately after a change The resulting code will be executed every time the button is pressed 6 3 1 4 Batch Files GSEOS Language is also used to write batch files that can run asynchronous Waiting on block arrival can be used to synchronize batch processes on special events It is also possible to suspend the execution of a batch file for a specified time interval Whenever a batch file is started it is read and compiled If no error occurs the execution of the resulting code is started immediately The code will run once and is deleted after the execution has finished Each batch program runs in its own thread so waiting in one batch won t affect the execution of other GSEOS tasks 6 3 2 Language Example The following example demonstrates the use of G for data processing It could be a part of the initialization file and defines e a simple data block type that is used for receiving temperature and CPU load data e a block type that is used to transfer processed d
26. created in which the compiler translates the source code of the batch file and the virtual machine is called to execute the resulting code immediately Since the batch file is running in its own thread it can wait for special events or block arrival without affecting any other part of GSEOS Besides that the virtual machine works like described before Batch Source Compiler Call Machine File o Control Flow Data Flow Figure 10 Batch Data Flow Institut f r Datentechnik a und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG Project GSEOS 6 4 QLook The QLook module realizes the easy to use graphical interface between user and experiment It benefits the experimenting user while the whole live cycle of the instrument H W from the bench test on a S C simulator prior the launch to operating the instrument on the flight after launch Ref IDA GSEOS 0001 Issue 1 2 Date 6 5 2000 GSEOS User s Manual Page 32 of 48 To facilitate the use of the GSEOS S W the user interface is conform to common Windows applications Nearly the whole configuration can be made interactively on the graphical user interface The built in editor allows the user to configure the Data Display easily on the fly while running the experiment The user interface is divided into three parts e Navigation Tree on the left side e Data Display on the upper right side e Logging Display on the lower right side O Further
27. d Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project P 40 f 48 GSEOS age oe To change any QLook Item the user has to switch from Operational Mode to the Edit Mode at first This mode does not affect the system all settings can be done while the system is running In the selection mode any number of QLook Items can be selected If the Item is sizeable small carets called chooser appears around the corners of the selected Item Using this choosers the height or the width of the Item can be changed several or at once see Figure 16 TT nu Command Button Figure 16 Sizing of QLook Items All QLook Items will be placed and fit to an internal logical grid So the Data Displays have the same appearance on different display resolutions To change the properties of the selected Items the user has to click within the selected area with the right mouse button If the user choose the Item Properties in the context menu a single Property Sheet will appear see Figure 17 The style of this tool is common to the Control Panel Following Item attributes can be set e Data Settings if there are Active Items or command buttons selected G Language expression to define the QLook Item kind of view of the data format string separator string space colon etc to separate columns in arrays arrangement of arrays zoom factors of images e Text Set
28. dures are needed to operate the GSEOS e Using Keyboard and Mouse e Logging On as Windows NT User e Starting Applications e Moving and Sizing Windows e Using Dialog Boxes e Using On Line Help These basic procedures are not explained here If the user is new to using a graphical user interface such as Windows NT please refer to the Microsoft Windows NT System Guide chapter 1 Introducing Windows NT and chapter 2 Windows NT Basics Also a good source of basic information is the Windows NT build in online help found in the menu Start Help Configuration Language vs QLook The GSEOS is designed to support the development test and operating of a variety of S C instruments Therefore a high flexibility of the configuration is needed The GSEOS S W can be configured to a wide extend There are two main tasks of configuration e basic system configuration with the configuration language block definition data decoder definition function definition e interactive configuration of the user interface with QLook creation and configuration of Data Displays general program settings 29 24 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project m f 4 GSEOS Page of 8 To provide a maximum of flexibility and performance the basic system configuration will be done using a built in compiler Th
29. e Library Description IDA GSEOS 0004 lists predefined functions built in the GSEOS supporting for the development of user configuration 29 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 1 f 4 GSEOS age 0 oT 8 3 Overview 3 1 Inheritance IDA developed the first version of the GSEOS during the 1980 s It was realized that use of a common checkout system would be a cost saving approach across the various projects Due to the easy integration of hardware into the PC the test system GSEOS 1 0 was originally developed for DOS based PC systems It uses a simple character based interface for data displays The work on GSEOS 2 0 that aimed at improved user and command interfaces as well as recording capabilities was preempted by the advent of the Windows graphical user interface extension running on DOS Development for GSEOS 2 0 was stopped and that for GSEOS 3 0 running on Windows 3 0 started On GSEOS 3 0 the data display capabilities have been drastically improved They include graphics in addition to the preceding text based displays A recorder module was added as well as support for monitoring the data A simple decoder scripting language was implemented that meets the most common decoding needs Up to version 3 3 the GSEOS supported more than 30 different space instruments e g e ACE EPAM S
30. e as _blkTeleAv A blockdef strTelemetry tblkTeleAv _blkTeleAv A define a decoder that samples the last SAMPLE COUNT telemetry data and calculates the average temperature and load of these samples The calculated average is incorrect for the first SAMPLE COUNT 1 runs decode on blkTeleIn static unsigned long ulCurrentIndex 0 position for storing of values define arrays for storing the sampled temperature and load data static long lTemperatures SAMPLE COUNT static short sLoads SAMPLE COUNT long lAvTemperature 0 average temperatur short sAvLoad 0 average processor load unsigned long ulCount tblkTeleAv blkAverage block containing the average process only blocks that are sent by device 2 if blkTeleIn cDeviceID 0b010 return store current temperature and load lTemperatures ulCurrentIndex blkTeleIn lTemperature sLoads ulCurrentIndex _blkTeleIn sLoad Uy check temperatur temperature too high send shut down command and inform user if blkTeleIn lTemperature 100000000 4 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project Pase 27 f 4 GSEOS age ot 8 unsigned char aucCommand 9 shutdown send command on channel aa to de
31. ion mode Items can be selected moved or resized With a click of the right mouse button within an Item area the context menu appears to configure the Item Insert Data Item Any number of Active OLook Items can be placed With a click of the right mouse button within the Item area the context menu appears to configure the Item Insert Static Text Any number of static text Items can be placed With a click of the right mouse button within the Item area the context menu appears to configure the Item Insert Group Box Any number of group boxes can be placed With a click of the right mouse button within the Item area the context menu appears to configure the Item Insert Command Button Any number of command buttons can be placed With a click of the right mouse button within the Item area the context menu appears to configure the Item Insert Static Picture Any number of static pictures can be placed With a click of the right mouse button within the Item area the context menu appears to configure the Item Following edit tools can be also used ele Cut out selected Items All selected Items will be cut out from the Data Display and copied to the clipboard Copy selected Items All selected Items will be copied to the clipboard Paste Items All Items stored in the clipboard will be inserted in the Data Display on the same position as the stored Items TEA ET Institut f r Datentechnik Ref IDA GSEOS 0001 un
32. is compiler use a special configuration language based on C as input The configuration files handled by the compiler contain all block definitions the processing of blocks decoder and all command functions as G Language program section 6 3 will describe the using of this language Normally the GSEOS will be delivered with pre configured G Language files The user interface can be configured with the QLook module interactively The name QLook Quick Look describes the meaning of the module The processed data can be viewed in Data Displays quickly and easy without knowing the GSEOS language in detail All configuration work of the Data Displays can be done with a built in graphical editor with sparse mouse clicks Thereby the user can choose from a wide selection of formats the data can be displayed various numeric and graphical displays are available section 6 4 will describe the QLook module 29 24 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project 9 f 4 GSEOS Page 23 of 8 6 3 The GSEOS Language All processing of incoming data for displaying and decoding purposes is done by a virtual machine This machine is programmable through the GSEOS Language which is based on C and enhanced in some properties The machine is used for the following purposes e Build an interface between QLook and the hardware dri
33. lity restrictions the implementation started from scratch There is no source code used from previous GSEOS versions Currently the GSEOS 5 0 is used for the projects e ROSETTA ROSINA OSIRIS e MSRS DSU e SMART SIR e RTMC 3 IDA Test Equipment for High Capacity Memories 3 2 General System Configuration During the development of scientific space experiments sophisticated test equipment is needed to operate the instrument and its various operational modes and to format the data received from the instrument to an easily interpretable extract In particular a S C simulator is used to simulate the electrical interfaces between the experiment DPU and the S C data and power system A computer which is connected to the S C simulator transmits control commands to the S C simulator and receives DPU data from the S C simulator The whole arrangement computer S C simulator external Power Supply Harness and operational S W package here GSEOS is referred as the Electrical Ground Support Equipment EGSE Figure 1 shows the general configuration of the EGSE Commands Figure 1 General System Configuration The GSEOS is designed to support all stages of experiment development from bench checking up to quick look during flight operation Using the same test system for the whole lifetime of the instrument avoids fragmentation and duplication of efforts which would result in higher costs more schedule and technical risk and red
34. more there are a main menu and a tool bar on the top and a status bar on the bottom like common Windows applications see Figure 11 X IDA GSEOS Development Project Oo x File Edit View Source Tools Help wa sale e af rp pene rel Project CalcTool Ei fg Screens 5 IDA Calculator Cal DDCD2230 DDC92234 a en DDC52238 DDC1223C B Test DDED2240 DDB92244 E Commands DDB52248 DDB1224C 3 DPU DDAD2250 DDA92254 DDA52258 DDA1225C a MCB DD9D2260 DD992264 E NAC DD952268 DD91226C 48 PCM DD8D2270 DD892274 B WAC Doors e al x 7 0 0 EU FESIM DD752288 DD71228C G 8 Comnord Fs a la aa a pn ee 8 MCE DD5D22A0 DD5922A4 E Nac DD5522A8 DD5122AC tan 1 X il 2 3 pi 1 DD4D22B0 DD4922B4 a AM Power DD4522B8 DD4122BC toy yl ol uz 7 back Pe s ds DD3D22C0 DD3922C4 5 H DatalFs SCSIM mixed DOCO2030 JA 1355 Interface SC Interface n _or ard aie m on E C3 IDA g Beep BlueBlink Ticker f Zn BtfBlueToggle Self Stimulation 0x0000151E DJ MN H Ende 0x00000000 ndlessLoop Global 1 sec Timer 5395 E GreenBlink a E Panic of 4 TestBatch E WaitForTicker Time Message ea Control Panel 10 18 1999 12 25 48 Information Compiler O warnings 0 errors 0 internal errors 10 19 1999 13 07 21 Information Compiler O warnings 0 errors O internal errors
35. nesting depth of elements within the block structure Data processing in the GSEOS is data driven After arrival of a data block the Decoder module calls a user defined decoder function for this special block type Inside this decoder function all data processing takes place The data may be rearranged as new blocks e g sub super commutation or commands are sent e g simulation of sensor response 4 2 3 Data Display Both experiment and simulator data can be displayed as QLook Items on the Data Display in selectable formats hex decimal text bitmap histogram plot y t plot y x etc The QLook Items are displayed in different Data Displays organized as tree The count of Data Display is practically unlimited 4 2 4 Data Monitoring QLook Items can be checked automatically Exceeding of a limit activates user defined actions e g switch power supply off print error log Monitoring is applicable to all data known by the GSEOS 4 2 5 Logging Storage of command data and status protocols on the disk drive is supported The protocol may also be send to a printer 4 2 6 Recording Playback All incoming and outgoing data can be stored to and played back from disk drive There are several modes for data replay backward forward single step continuous seek A Recorder Database Manager shows information about the recorded data e g recorder session name 29 24 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikatio
36. nsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pace 18 f 48 GSEOS age S recorded block names start end time Any file oriented mass storage device is supported e g hard disk magneto optical disk network drive 4 2 7 Printing All displayed data can be printed as a hardcopy of a GSEOS Data Display on a graphic color printer Printing of logging files is supported It is possible to customize the printed page layout user defined header and footer time date 4 2 8 Command Batch Files The GSEOS supports command batch files Batches are useful for automatic test procedures Commands can be activated either time triggered or event driven The GSEOS is able to run several batches simultaneously and independently This feature is useful to generate sequences of test data independent of and asynchronous to the operation of the unit under test A user controlled Batch Manager is capable to suspend resume and abort running batches For synchronization of the several batches special commands are foreseen Together with monitoring and data logging automatic system tests can be run without any user supervision 4 2 9 External Program Calls External program calls including parameters and DDE are supported e g call IDL interpreter to process data call Microsoft EXCEL for use of its data display functionality 4 2 10 Network The GSEOS PC can be connected to the network
37. o the OLook Item and registers the OLook Item in the trigger list of the BDM according to the block types mentioned in the expression Y E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project f 4 GSEOS Page 30 of 8 Each time when a new block is processed by the BDM all QLook Items triggered by this block type are called The QLook Item then calls the virtual machine to execute the code and return the resulting data into the displayed buffer Finally QLook displays the returned data Source Trigger List Control Flow Data Flow Figure 8 OLook Item Control and Data Flow 6 3 3 4 QLook Buttons QLook buttons are used to perform an action on user demand After entering a GSEOS language statement the compiler translates it to machine code and returns it to the QLook button object Whenever the button is pressed the virtual machine will be called to execute this code The virtual machine works like described before Control Flow o P Figure 9 OLook Button Control and Data Flow 19 34 Institut f r Datentechnik Ref IDA GSEOS 0001 4 I und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project 31 f 4 GSEOS Page 3 of 8 6 3 3 5 Batch Execution Whenever a batch file is to be started a new thread is
38. orted by the project commands can be initiated from the EGSE directly Institut f r Datentechnik Ref IDA GSEOS 0001 ez und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project E f 4 GSEOS Page 15 of 8 4 Main Features Table 3 GSEOS Feature Overview Performance Data throughput 2 x PII 350 Input data e g sensor data 400 MBits sec Output data e g sensor command 400 MBits sec data Response times 2 x PII 350 H W interrupt lt 10 us hard coded in driver Decoder lt 5 ms user configurable Size limitation 4 GByte per block Simultaneous execution of several batches Y Task management event driven Windows NT based BDM buffer size allocation dynamic Configuration On line configurable Y GSEOS 3 3 compatible Same configuration language for all GSEOS modules Syntax of configuration language with minor modifications Nested block structure to simplify task specific System configuration dialogs configuration Platform H W Intel PC Alpha MIPS Windows NT 2000 Multiprocessor support If no specific H W support is needed Windows 2000 is next Windows 98 generation O S Windows NT Windows 2000 If H W support is needed e g Sensor I F Windows 98 Windows NT Windows 2000 Plug amp Play support SSS SSS Sy SSI necessary for PCI H W 29 24 Institut f r Da
39. play area the Data Display area will be tiled All settings of a single Data Display are stored in single file with the extension scn as simple text It s possible to edit this files directly in any text editor the file syntax is described in the document IDA GSEOS 0005 GSEOS Data Display Language Description Institut f r Datentechnik ez und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG Project GSEOS GSEOS User s Manual 7 Configuration Example This chapter describes a possible configuration of the GSEOS for a small magnetometer experiment 7 1 Experiment Description 7 1 1 Telemetry Format The magnetometer sends two types of telemetry packets Their format is shown in the next table Ref Issue Page 42 e Sensor Data is sent every second if the sensor is active e H K Data is sent after a Send H K command of IDA GSEOS 0001 1 2 Date 6 5 2000 48 The telemetry transmits data in separate blocks of 16 bytes each in motorola format Table 5 Telemetry Definition Type Description Resolution Sensor Data OxEB Sync byte 0x90 Sensor data Magnetometer readout 0 42949672 96 nT H K Data OxEB Sync byte 0x91 H K data Sensor Status O inactive 1 active Temperature 130 C 130 C 5V voltage 0 7 65V 5V current 0 306 00 mA Y E Institut f r Daten
40. ported e Numeric Display of Scalar Values Native representation of numeric values as single number in multiple formats decimal hexadecimal octal binary floating point character e Numeric Display of Fields Native representation of numeric fields as dump in any arrangement and multiple formats decimal hexadecimal octal binary floating point character 4 Institut f r Datentechnik Ref IDA GSEOS 0001 4 D und Kommunikationsnetze ECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Page 34 of 48 e Text References Representation of numeric values as predefined text in colors depending on the value The definition of the text references is made in the G Language project files e Strings Representation of zero terminated character fields e Graphical Plot Representation of numeric value pairs as graphical plots in multiple formats y t y x etc e Histogram Chart Statistic representation of numeric fields in histogram charts e Image Display Representation of numeric fields as bitmap IM TTE 10001001011110010111011010000100 10001001011101010111011010001000 10001001011100010111011010001100 10001001011011010111011010010000 10001001011010010111011010010100 10001001011001010111011010011000 001001011000010111011010011100 10001001010111010111011010100000 10001001010110010111011010100100 10001001010101010111011010101000 1000100101010001011101101
41. rial Ports e Special H W Support The GSEOS is highly configurable Most of the configuration can be developed interactively on the running system assisted by a graphic editor All modules of the program use the same configuration language So it is guaranteed that all of the functionality built in the GSEOS is usable in every module E g it is possible to command the GSEOS via network or a serial 29 24 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 17 f 4 GSEOS age of 8 communication port in the same way as the user is doing it by clicking a command button Chapter 6 describes the configuration in more detail 4 2 1 Command Processor At any time it is possible to send experiment commands and simulator commands directly to the H W or via network The commands are activated by touching a button on the Data Display or are executed time tagged or event driven It is possible to define a command database All commands may have parameters Mathematical expressions as parameter are fully supported 4 2 2 Data Decoder Experiment data is grouped into blocks e g Science Data Housekeeping Data Blocks are user defined structures on bit level The data blocks and the elements inside the block can be accessed by symbolic names In contrast to the previous GSEOS versions there are no restrictions for the
42. s or bar graphs or as an image in any free configurable format The representation of the data is made by several QLook Items There are Active and Passive QLook Items as well as command buttons Because of various requirements in various experiments the QLook Items can be collocated in various different Data Displays There are almost no limitations in the number of QLook Items or in the number of used Data Displays The user can switch between the Data Displays easy and quickly using the Navigation Tree To document experiment the Data Displays can be printed as hardcopy The user may define the format of the print as well as header and footer lines including a caption and the date or other specific information Furthermore any single QLook Item can be logged on printer Because of the real time character of a test system QLook does not affect the reaction time of the GSEOS So GSEOS modules run in various asynchronous threads on different priority levels The paint thread of QLook possesses the least priority level in time critical situations the refreshing rate of the Data Display will be reduced 6 4 2 1 Active QLook Items Active QLook Items and Passive QLook Items realize the Data Display Active QLook Items correspond to Block Elements used in any G Language expression If the used Block Element appears at the Decoder module output see Figure 5 the respective QLook Item is refreshed see section 6 3 3 3 Following Active Items are sup
43. technik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Page 43 of 48 7 1 2 Command Format Two commands can be sent to the magnetometer The first command activates the sensor measurement the second command requests sensor H K data Table 6 Command Definition Command Description Activate Sensor 0x01 Command identifier Measurement 0x00 Set sensor inactive 0x01 Set sensor active H K Packet Request 0x02 Command identifier 7 2 GSEOS Configuration Two main configuration parts of the GSEOS are needed e Configuration File The configuration file is written in the GSEOS configuration language It contains Block Definitions The block definition describes all elements within the telemetry data by type offset length and name All elements are accessible by their names Decoder The decoder functions are executed automatically each time when a specific data block arrives In this example the decoder is used to separate science data and H K data from the telemetry data stream Functions Functions are used to command the magnetometer e Data Display The Data Display is the visual interface between the magnetometer experiment and the operator It contains of command buttons and Items to visualize the experiment data 4 Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnet
44. tentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project gt f 4 GSEOS Page 16 of 8 4 1 Platform The GSEOS runs within the Windows NT environment currently versions NT 4 0 and NT 2000 on INTEL PCs optional ALPHA Workstation The INTEL platform is extremely cost effective and widespread On PCs specific hardware easily can be developed built and integrated into the system For installation and maintenance expert knowledge is not required To increase the data throughput the GSEOS fully supports multiprocessor systems The GSEOS program contains several threads which are separate program paths running in parallel The data throughput is nearly proportional to the number of processors used The operating system Windows NT is also available for other platforms than for INTEL PCs such as workstations based on the ALPHA processor Because all parts of the GSEOS are coded in C except a few lines of Assembler code the GSEOS and its hardware driver are portable to this platform 4 2 Tools The primary task of the GSEOS is to send commands and to receive data from the connected hardware The following tools are supported to achieve this purpose e Command Processor e Data Decoder e Data Display e Data Monitoring Logging e Recording Playback e Printing e Command Batch Files e External Program Calls e Network e Se
45. tentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 37 f 48 GSEOS fon ie 6 4 3 Logging Display All messages from the various GSEOS modules are logged in a message file viewed by the Logging Display Furthermore all commands can be logged as well as messages from user applications Following information are displayed to any message e the exact date and time the message occurred e the category of the message information message warning error e the source of the messages and e the message itself The messages can be sorted ascending descending by any of these categories It is possible to document the messages as print out 6 4 4 Configuration The QLook is designed for efficient configuration support All configuration work can be done interactively with the mouse 6 4 4 1 General GSEOS Configuration All properties of the GSEOS modules can be configured interactively with the e Control Panel like the Windows settings The Control Panel of GSEOS can be reached at the Navigation Tree on the left side Any single icon listed in the Control Panel represents a specific module of GSEOS After a double click on an icon with the mouse the respective e Property Sheet opens see Figure 15 With this tool all properties of the selected module can be set easily and quickly Any Property Sheet contains
46. the configuration file is not responsible for the conversion of the H K values into physical units Figure 19 shows the Property Sheet for the temperature Item It is possible to enter a mathematical expression for the H K conversion directly in the Data Expression field M IDA GSEOS Sample Project File Edit View Source Tools Help a al ejej e e or k re Taal re Project Magnetometer a Screens s 8 Magnetometer r Status Measurement ZA Batches On off n Current Measurement 38 45 nT Control Panel QLook r Raw Telemetry Data Data Text Colors EB 90 00 00 OF 05 00 00 00 00 00 OO 00 00 00 00 Data Item Settings r H K emperature 21 54 C r Data Item 5V Voltage 5 10 Y pression PO o HkData usTemp 0 016 130 0 TUER View as Format Command Button Format String Separator Numeric Scalar fture 257 2 C C Numeric Array C Image Atengement Beirne Hows C Text Reference Li fi C String Graph Zoom Numerator Denominator 1 E Y 1 Categor ho n 3 11 16 1999 15 59 02 Information M Source Hardware Edit Z Figure 19 H K Conversion
47. ticker reguests H K packets from magnetometer Oi Hip decode on TimerlSec RequestHk Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 4 f 4 GSEOS age 46 of 8 J KK HK IK Ck Ck Ck A oko oko oko oko oko oko oko oko oko oko A kk kk oko ok kok kok kok kok kok ck ok ck ck ck ck ck ck ck ok ko k functions KK HK KK Ck RR RR RR RA oko oko oko oko oko oko oko oko oko oko kk kk kk kk kk kok kok kok ck ok ck ck ck ck ck ck ck ok ko k A VOID ActivateSensor UCHAR ucActive Hi The function activates disactivates the Sensor The sensor sends status packes every one second on active state FH Parameters ucActive 0 set sensor inactive 1 set sensor active A VOID ActivateSensor UCHAR ucActive UCHAR ucParameter 2 ucParameter 0 COTA ucParameter 1 ucActive _SendCommandUByte CMDCHANNEL MAGNETOMETER ucParameter sizeof ucParameter 1 ActivateSensor Ei Oi VOID RequestHk VA The function requests a H K packet from sensor oi VOID RequestHk UCHAR ucParameter 1 0x02 _SendCommandUByte CMDCHANNEL MAGNETOMETER ucParameter sizeof ucParameter 0 A text references A text OffOn 0 Off 0 1 3 TOU der debat Pe
48. tings caption command buttons group boxes and static text kind of font size and style text alignment e Color Settings default fore and background color fore and background colors of the different monitor levels or the text references use of default or user defined colors ID A Institut f r Datentechnik Ref IDA GSEOS 0001 E EF und Kommunikationsnetze ECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project Pase 41 f 4 GSEOS age of 8 e Item Style position and size useful in multi selections frame style of group boxes picture file of static pictures QLook Ki E3 Data Text Colors Style Data Item Settings Data Item Expression BTIF bmp more View as Format Command Button Format String Separator C Numeric Scalar 2032 208 Numeric Array gt ne Image r Arrangement C Text Reference a 3 m C String O Graph Zoom Numerator Denominator Cancel Apply Figure 17 QLook Item Attributes Same as QLook Items the Data Display background can be customized If the user click with the right mouse button in the Data Display background out of any Item the related context menu will appear In the Property Sheet that opens after the user choose Properties a background color or a background picture can be set If the picture does not fill the Data Dis
49. uced capability Y E Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project GSEOS Page 12 of 48 There are typically 3 phases during experiment development e Bench Test Assembly Level e Spacecraft Integration System Level e Flight Operation Mission Level The same EGSE hardware and software configuration can be used for all of these phases However some hardware and software modules will be useful for only a single phase e g basic tests at mission level 3 2 1 Bench Test Assembly Level Sensor Data Sensor Cmds Sensor Simulator Simulator Ctrl Sensor Data Instrument Telemetry GSEOS Instrument HW HW DPU Power Simulator Simulator Ctrl Sensor Figure 2 Bench Test During the instrument development the EGSE is used as bench checkout equipment for EM and FM tests including sensor calibration For this application the GSEOS S W running on the EGSE PC communicates with a project specific S C simulator H W The S C Simulator emulates spacecraft command and telemetry handling and power supply The GSEOS controls the S C simulator and is responsible for data and command handling both in real time Other GSEOS modules as displaying recording decoding logging and data printing support an efficient execution of all tests in the course of the DPU
50. vera vr wo eee SE vba esa nos eoe eroe ad ova Pee eb roda osea esas 41 Figure 18 Sample Magnetometer Data Display ccce eese eene eene eene ene ne tton ste 00 ettet 00 eo nenene one con 47 Figure 19 H K ConvVe rsiOn oe eee Court ee eios etre sv nee piu Kon non e Sene ven Per en eeu ven a vba Qua aeta Ve ea e eras essen Cuna eU 48 354 Institut f r Datentechnik VB a REN Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSIT T BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project GSEOS Page 5 of 48 1 Scope 1 1 Purpose of this Document Purpose of this document is to describe the main features and the internal structure of the IDA GSEOS 1 2 Change Record Table 1 Change Record Date Revision Author Affected Sections 11 18 1999 1 0 HS KS KUR TW All sections 1 13 2000 1 1 Stoeckner 3 2 4 2 4 2 5 6 5 2000 1 2 Stoeckner minor spelling corrections 13 Reference Documentation All GSEOS related documents are listed in the GSEOS Document Index IDA GSEOS 0000 Institut f r Datentechnik ez und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Ref IDA GSEOS 0001 Issue 1 2 Date 6 5 2000 Page 6 of 48 Project GSEOS 1 4 Abbreviations Table 2 Abbreviations Applied Physics Laboratory Housekeeping of the Johns Hopkins University Hardware Block Data Manager
51. vers Therefore it processes all QLook Items translates numeric data into readable colored text and sends commands e Decode data blocks create and send new data blocks e Run batch files The GSEOS Language called G allows a structured programming of the virtual machine and also specifies the data structure of all data blocks handled by the BDM The language provides easy access to bit precisely placed data block elements Programs written in G are compiled into special code that will be executed by the virtual machine Since all data processing is based on this freely programmable machine the user is able to configure nearly all parts of GSEOS exactly for his own needs with a common language It is not necessary to modify the GSEOS program code itself 6 3 1 Language Main Features As already mentioned the GSEOS Language G is based on C This means that the user can e define and access complex data structures structure union array e use different loops for while do while e call functions with parameters once declared a function can be called from any other program code like decoder QLook Item batch file and e use conditional executions if then else switch case Nesting is unlimited Some modifications have been introduced to eliminate sources potential of error and to allow easy access to bit precisely packed data that are created by external sources e No pointers instead C
52. vice 0x010200 SendCommandUByte 0xaa010200 aucCommand sizeof aucCommand 1 add message to message log file _AddMessage MSG ERROR temperature check device shut down calculate next index for storing Wrap around on upper limit VA ulCurrentIndex ulCurrentIndex 1 SAMPLE COUNT A calculate the sum of the current samples The sum of all sampled temperatures must fit into long integer VA for IwliecoHnrt W wbvount lt SAMPLE COUNT tfulCountj lAvTemperature lTemperatures ulCount sAvLoad sLoads ulCount now calculate the average valu Uy blkAverage lTemperature lAvTemperature SAMPLE COUNT blkAverage sLoad sAvLoad SAMPLE COUNT send the calculated average to BDM for further processing Uy send blkAverage function for translation of temperature Hip Values from 100000000 up to O are translated to the text very cold and are displayd with the color assigned to the color index 2 Values between 20000001 and 50000000 are displayed as optimum and colored with the color assigned to the color index 0 and so on Values less than 100000000 or greater than 100000000 are translated to out fil or ranget wirch color aci O Z Text LXLTemperature 100000000 0 Er oler AR 0 20000000 Vee LEM i 20000001 50000000 optimum OF SOO
53. windows e Static Text Non alterable text as caption or comment e Static Pictures Any Windows bitmap file as logo etc Passive ltems Institut f r Datenverarbeitungsanlagen Figure 13 Passive QLook Items TEA ET Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 Date 6 5 2000 Project P 36 f 48 GSEOS age 6 4 2 3 Command Buttons Command buttons are static input Items They are used to send commands to the instruments immediately The user can define any G Language command or application on a button see section 6 3 3 4 Unlike the batches commands send by command buttons will be transmitted to the H W immediately in the order of their arrival Buttons 3 8 9 LIII aj 2 3 a o Figure 14 Command Buttons 6 4 2 4 Data Monitor All Active QLook Items on the Data Display can be monitored automatically There are five levels to the monitor classification e Error Level above value e Warning Level above value e Default Range e Warning Level below value e Error Level below value If the data leave the default range user defined actions will be performed To any warning and error level the user can define any action in G Language and additionally the color of the QLook Item The occurrence of a warning or error level can be logged on message file or printer 29 24 Institut f r Da
54. ze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual Issue 1 2 Date 6 5 2000 Project gt f 4 GSEOS Page of 8 7 2 1 Configuration File The listing below shows the complete configuration file for this magnetometer experiment where the previously defined configuration part can easily be identified PH Ln Project Sample Project EE id main g Li Copyright C 1999 IDA Author Kai Stoeckner A ER ER includes Veh include gseos g common defines Runtime Library prototypes etc J KK HK KK RR RR RR RR RR RR 2 oko oko ok oko RR kok kok kok kok kok kok kok kok kok kok block definitions J KK KK oko ok o oko oko oko oko oko oko oko oko oko oko oko oko oko oko oko oko oko oko oko ok kok kok kok kok kok kok kok kok kok kok kok kok raw telemetry data typedef union SO UCHAR ucSync UCHAR ucType UCHAR uc 14 y UCHAR ucRaw tsRawTelemetry Sensor Data packet typedef motorola union GIONE UCHAR ucSync UCHAR ucType ULONG ulData y UCHAR ucRaw tsSensorData H K Data packet typedef motorola union SO UCHAR ucSync UCHAR ucType UCHAR ucStatus USHORT usTemp USHORT usVoltage5V USHORT usCurrent5V y UCHAR ucRaw tsHkData Institut f r Datentechnik Ref IDA GSEOS 0001 und Kommunikationsnetze TECHNISCHE UNIVERSITAT BRAUNSCHWEIG GSEOS User s Manual isue 1 2 D

Download Pdf Manuals

image

Related Search

Related Contents

ドップラー動体検知器(GOA)試作品 取扱説明書  RT-300_Benutzerhandbuch  Systemtrenner Backflow Preventer Disconnecteur Separatori di  actualizaciones del software del sistema precauciones piratería  Bedienungsanleitung  Manual N° 3192    Nokia 6760 Cell Phone User Manual  

Copyright © All rights reserved.
Failed to retrieve file