Home
Embedded system
Contents
1. before switching the power on Pressing the Generate Pulse button generates a 31 V pulse on the output Controlling the Space Wire interface The Space Wire control window can be activated by the Space Wire Control button see Figure 14 ES SpaceWire Control Sele Interface Status Information OR Got 0 bytes for transmission A OR Transmit successful Sent 0 bytes of i OR Healthy packet received OF Received 0 bytes Command received TIME Od TC Qa Figure 14 Space Wire interface control The list area shows the trace messages of the interface driver program The list can be cleared To change the interface settings select the line and the desired speed click on the input field to see the available values and press the Init button Turntable control 13 The turntable control window can be activated by the Turntable Control button see Figure 15 Fr J Turntable Control Figure 15 Turntable control The turntable control is TBD 14 PICAM commands The Command window is activated by the PICAM command button see figure 16 The available commands and their parameters are described in the file command config Choose the desired command and double click on it To change a parameter value select it by pressing double clicks and type in the new value in the bottom line Select the acknowledgement fields and the source and press Send to send the com
2. let refresh the screen whenever data of a new energy arrive All Energy If the screen is frozen the refreshing of data is inhibited In frozen mode there is possibility to plot the screen again with different color setting 10 The TOF values are represented by colors The Color setting window is activated by the Color button On that window there is possibility to change the color s ranges The maximal value can be set manually or by selection the Default button A steady color scale will appear The color bars can be moved individual too I Colors amp Limit Setting Sele 50 000 1000 50000 40000 30000 20000 10000 7 gE ipasde ien EA Figure 11 Color setting Activating the Statistic window instead of the Color setting shows the distribution of the TOF values of the current pixel data display ES Statistics J 5 x Fisel 28 Figure 12 Statistic 11 TOF Energy diagram There is possibility to select 5 different TOF data of different pixels to collect Figure 13 shows the TOF Energy chart diagram On the figure there is only the first channel displayed The 5 channel have different colors see Figure 10 When data of a new energy arrive the diagram is shifted to the left by one point BepiColombo PICAM EGSE mex TH Fie Network He Dump Option Script About TM E E E Hesa Dump Fisel Data TOF Energy Frozen OFF Clear show Pixel Index o cH o fo cH
3. m Generate Puv S Voltage and Current contral T l _ i E EL i Ea Script File Hame Step Selection D gt H h Pause Abort E se cube ENABLE dis 0 Hour si 0 Hin f 0 Seca 0 Ine Del Day g Abort Feco Recordin paf o Hour 0 Min 0 Sec 0 gt F om Start lon Figure 9 TOF bar display The TOF diagram shows all TOF indexes of one selected pixel If there is only one TOF index per pixel all pixels are displayed Using the cursor a TOF index can be selected and its value is displayed This index can be marked for data collection of Energy data using the Show as CH buttons Ei BepiColombo PICAM EGSE TH File Network He Dump Option Script About TH wy E E Hesa Dump Tof data TOF Energy Pi M Mode1 Time 1291 Frozen Show az CH1 CH2 CH3 PWS Voltage and Current Generate Output i BEER PICAM 0 0 0 0A 1 Puse Setto 320 aa control control command script Control Script File Hame E Recording Hetwork Execute Abort b Fause z FF Day S T Hour si 0 Hin f 0 Seca 0 JENABLE dis Selection D gt It k Abort Rlecerd Ine Del paf o Hour 0 Min 0 Sec 0 Inelud E Ent Open reie Start jaop fo End loop Conment Figure 10 TOF diagram The current energy measuring mode and time is displayed There is possibility to select only one single energy as shown on the figure or to
4. 3 2fo fo cH4 fao ao cs fao ao Value CH1 3968 5 00 Time 1 Energy at Mode a Move PWS Voltage and Current iat Output Spacewire Turntable FICAM E 1 Pulse mule Cet ta ames control control command script Control Script File Hame z Recording Hetwork Execute Abort p Pause zi Day S T Hour si T Min f T Seca 0 JENABLE dis Selection gt il k Ree Ine Del Daf o Hour 0 Min 0 Sec 0 Crt Open mel Start jaop afi fo End loop e Figure 13 TOF Energy diagram The data buffering can be suspended by the Frozen button The Clear button deletes the data buffer and the screen There is possibility to scan trough the data buffer using the lt lt lt gt gt gt buttons End Left Right Home When the screen is moved backwards the automatic shifting is disabled Using the cursor for selection of one point its energy time measuring mode and value is displayed 12 The upper chart displays the energy It is recommended to clean up when the measuring mode or the channel assignment is changed Commands Controlling the power simulator The output voltage and current of the power simulator is measured every second If the output is switched off these values should be zero The output voltage of the power simulator can be switch on off by the PWS button Please set the desired voltage in the V field and press the Output Set to button
5. PICAM EGSE User Manual The PICAM EGSE consists of two parts the embedded Linux system and the Graphical User Interface The embedded Linux system controls the Space Wire Interface and the Power Simulator It communicates with the Graphical User Interface GUI through Ethernet using TCP IP protocol It accepts command from only one GUI program but it can send data to eight different GUI the same time The Graphical User Interface is implemented under Windows operating system Its task 1s connect to the embedded system send telecommand to the PICAM device display and store the PICAM telemetry control the space wire interface control the Power Simulator Embedded system The embedded system contains a Space Wire SPW interface It has two lines and realizes all requirement described in BC EST RS 01140_Iss2Rev2 Signed pdf The Power Simulator unit is controlled via serial line The settings are speed 9600 Baud no parity 1 stop bit 8 data bits The embedded system communicates with the GUI using TCP IP protocol Two ports are used 8040 for input commands and 8050 for output telemetry The data structures are described in BC EST RS 01140 EIDA Iss1Rev1 Signed pdf There are three types of commands PICAM telecommands are marked in field apid with value equal 106 Space wire control commands are marked in field service with value greater then 1 Power Supply commands Four bytes long integer value
6. a fast overview Each pixel is represented by a dedicated TOF index or by the average of the pixel s TOF values The TOF field serves for selection of the TOF index representing the pixel s value The index 1 means the average value The display mode can be changed by pressing the TOF Bar button or selecting a pixel I BepiColombo PICAM EGSE TH File Network H Dump Option Script About s Gl ml amp Hesa Dump Pixel Data TOF Energy TOF 0 TOF Bar Pixel 30 error 15872 ERN H Mode 0 Time 1 Show as CH1 CHe CH3 CH4 Cave OFF r 45 TH zi Puv S Voltage and Current Generate Output m Pays Spacewire Turntable FICAM E 1 Pulse Cet ta 50 OFF control control command script Control Script File Hame z Recording Hetwork Execute Abort Aun Pause Step OFF Day 0 How 0 Min Sf 0 sef 0 JENABLE dis Selection ji il i Abort Record ris Del Daf o Hour 0 Min 0 Sec 0 Crt Open Include P Start jaop i fo End pop ce Figure 8 Pixel map The TOF bar displays all pixel and TOF data The Pixel field shows the pixel index of the first line If the place is not enough to show all the same time the Next button enables to turn a Gi BepiColombo PICAM EGSE page forward The display mode can be changed by pressing the Pixel Map button or selecting a pixel About TH File Network He Dump Option Script Hesa Dump Fiel Data TOF Energy Statistic Turntable Output
7. d too Script menu The menu contains the following items Record gt Save or Recording button on left side on underside Select gt Run or Execute button in the same line to the right Select Script Directory Save Script Directory The first item starts recording of the commands The first question is shown on Figure 6 If the answer is no the commands are not sent to the embedded system i e the network output direction is temporally disabled After it select a file name An existing file will be overwritten Before starting the recording fill the Script comment window Figure 7 and press start saving Comment Start Savirig x Figure 7 Script comments To execute an existing script file use the second menu item Select a file in the file selection window Use the Run or Step button to execute the script The default directory of script file can be changed using the Select Script Directory menu item and can the setting can be saved with the next menu item About menu Selection of this menu displays information about the GUI program generation Display of telemtry data There is three mode of displaying telemetry data hexadecimal dump for all type of data graphical display of pixel data and the TOF energy diagram for science data Hexa Dump The hexa dump display mode is controlled by the HX Dump Option menu At least one line per packet always appears It shows
8. e possibility of controlling the Power Simulator and the Space Wire interface enables testing the PICAM hardware under different circumstances Figure shows the main panel of PICAM EGSE after program start Ei BepiColombo PICAM EGSE TH File Network H Dump Option Script About TH ws E E Hesa Dump Pixel ma TF N Frozen OFF Clear Scroll l ON AE anag R a PWS Voltage and Current Generate Output Spacewire Turntable PICAM E 1 Pulse penta Ti ome control control command Script Control Script File Hame al Recording Hetwork Execute A E Fause zi OFF Daa 0 Hoursy 0 Min Joo Seca o ENABLE dis Selection Selection gt il k i Abort Record Ine Del paf o Hour 0 Min 0 Sec 0 Inelud E Crt Open re Start jaop fi fo End loop e Figure main panel Working with the GUI In offline mode the GUI is not connected to the embedded system In this mode the replay of previously stored telemetry data is enabled The telemetry records can be read back one by one or some records can skipped This feature enables to slow or fasten the original time In online mode the GUI is connected to the embedded system Everything is shown in real time The Power Simulator and the Space Wire interface can be controlled in this mode Before switching online the first time the IP address of the embedded system should be set by selection of the Network Definition of TCP IP Addresses menu
9. he saved TM files is controlled with this value When the data file reaches this size it is automatically closed and a new file is opened The Select Default Directory shows a file selection window title Select Directory It enables to change the directory for telemetry recording The next menu item stores this directory recognizing it even after program restart The Exit menu item terminates the GUI program as well as the Stop shortcut or Alt F4 does it Network menu The Network menu has the following items Register to the Device for Telemetry Register to the Device for Commands Register TM amp Command Direction or the globe shortcut below Network Disconnect Telemetry Direction from Device Disconnect Command Direction from Device Disconnect TM amp Command Direction or the crossed globe shortcut Definition of TP addresses Use this menu items to connect to the embedded system The IP address of the embedded system can be set using the last menu item Figure 5 shows how to do it Ea TCP IP Address Hame IP Address InPort 10 93 11 50 8050 10 9 11 50 Figure 5 TCP IP Address setting HX Dump Option menu This menu controls the decoding of telemetry data The byte order of header and data part can be controlled separately The detailed printout of header and data part can be disabled The xml driven decoding of housekeeping messages can be enabled or disable
10. is inserted before the PICAM telecommand The PICAM telecommands are forwarded to the Space Wire SPW interface in reversed byte order The SPW control enables the switchover the main and redundant interfaces and set the communication speed The Power Supply PWS control enables to switch the unit on off to set the output voltage and to generate a 30 V pulse There are tree types of telemetry data PICAM telemetry marked in field apid with value equal 106 SPW interface status messages marked in field destination with value equal 1 PWS messages marked in field destination with value equal 0 In the PICAM telemetry the leading 4 bytes are cut from the received data block and the byte order is reversed Graphical User Interface The Graphical User Interface runs under Windows operating system It connects to the embedded system through Ethernet interface using TCP IP protocol Port number 8040 is used for output direction telecommands and 8050 for input telemetry The received data can be stored on disk in files In off line mode the archived data can be read back and displayed as well The telemetry data can be visualized in different forms hexa dump graphical symbols or chart diagrams are available The available PICAM telecommands are stored in an xml control file describing all the commands and their parameters There is a possibility to compose and store command sequences script file and later execute them Th
11. item The last setting is stored To switch online use the network menu or click the globe symbol below it The possibility to compose command sequences scripts and to test them is enabled both in offline and online modes Menu line and shortcuts There is a menu line on the top of the window and some shortcuts below it The selection of a menu item displays a pulldown menu Selecting a line of it starts further actions as display a submenu changing a setting activating a panel for file selection or data input The selection of a shortcut symbol activates a pulldown menu item TM File menu The TM File menu has the following items Read TM File Save TM File Log File Size Select Default Directory Save Default Directory Exit The TM shortcut below the TM File activates the Read TM File menu item as well A file selection window is displayed as shown on Figure 3 After selection with double click on the file name or pressing the OK button the Read TM options window appears ES Read TM options to stop it press Read TM File to stop it press Read TM File E record x Hent x Figure 2 Read TM options Pressing the All button the records are read without break To break the program press the read TM File again Pressing the Next button the given number of record is read continuously When Pixel Data is displayed and the science data record contains da
12. mand J Command 5 fx EEPROM ENBL ACE Acceptance EEPROM_DISBL PGM_CHECKSUM 2 DFF MEM_DUMP ACK Completion PGM_UPLOAD MEM _CHECE OFF Source start_MM_RUN Stop MM_AUN Figure 16 Generate PICAM command 15 Scripts A set of commands can be stored in script files and later executed as described in chapter Srcipt menu The script files are xml files and can be edited with any text editor too Script generation The script generation is started from the script menu or by pressing the recording button The script generation is finished by pressing the same button or it can be aborted by the Abort Record button Delay instructions can be inserted between the issued commands using the Ins Del button The delay value can be set in range from 1 sec to several days Even embedded command loops can be defined with fixed repeat count There is also possibility to include another already existing script file Using the Comment button comments are inserted into the script file Script execution The script execution is started by the Execute button After the file selection the automatic execution is started by the Run button The color of the Execute button changes on green showing that the script is running The time fields below the Execute buttons show the elapsed time The time fields above Ins Del button show the remaining time of a delay instruction The exec
13. ta of more then one energy step the graphical data display stops by each energy step Pressing the Next button displays the data of the next energy step Select IM file ae C Program Files M ational Instruments MeasurementStudio Cy picam_egse Gl bg Hely E GUI E G cvibuild EC BC100922_143858 dat a cvidistkit BC Ej BC100922 145909 dat Legut bbi jim es BC100922_143917 dat dokumentumok xmi Ej Bcig0g22_143925 dat B7100922 143231 dat Ej BC100922 _145938 dat E BC 100922 _ 145249 dat Ej BC 100922 _ 145946 dat Ej B7100922 145409 dat Ej BC100922_143501 dat Ej BC100922 145517 dat Ej B7 100922 _145528 dat E B7100922 145607 dat pe Ej BC100922_143655 dat g Ej BC100922_145741 dat 2 E Bc1i00922_143819 dat Ej BC100922_143843 dat Dokumentumak Saj tg p P H l zati helyek F jln v E C1009222 143291 dat Fajltipus dat M agse Figure 3 file selection display The Save TM File menu item activates the recording of telemetry data in file Pressing the Save TM button on left side below the white display area does the same The file name is generated automatically BC two digit of year month day hour minute second dat See also Figure 3 The selection of Log File Size menu item activates the Log File Size window see Figure 4 ES Log File Size File Size 10000 Kb x Figure 4 Log File Size window 4 The size of t
14. the most important fields of the header the application PICAM the sequence count the data length the service and subservice type the source of the message and the time If the hexa dump of header is enabled it is displayed before the decoded header line The detailed display of the data part can be enabled for science data and for command responses separately The decoding of housekeeping messages can be also enabled The decoding is controlled by the file tmdata config It contains display control information for different packet categories and process identifiers Each field is printed in a new line The Hex Dump window is a scrolling list There is possibility to stop the display process pressing the Frozen button In this case the refreshing is inhibited the new data is not listed If only the Scroll is inhibited the new packets are listed but the display window doesn t jump to the end of list automatically Using the Up and Down button the user can manually control the display area Pressing the Where button there is possibility to define a search string The first line containing the search string will be displayed on the top The search process can be continued in forward direction by the gt button or backwards by lt Display of pixel data Figure 8 9 and 10 show the tree possibilities of displaying pixel data pixel map TOF bar TOF diagram The pixel map is
15. ution can be aborted by the Abort button or suspended by the Pause button If the execution is suspended continue the execution with the Run button There is a possibility to execute a script file step by step using the Step button instead of the Run button In this case the delay instruction is skipped 16
Download Pdf Manuals
Related Search
Related Contents
RiseAtlas450T RiseAtlas625T Sony DSC-TX5/B Handbook Copyright © All rights reserved.
Failed to retrieve file