Home
Strip Chart User Guide - Australian Synchrotron
Contents
1. dialog 7 of 12 AS 200904 03 b Select from a predefined list of up to ten PVs These PV names are specified in the adaptation_parameters_file ini file located in the start up directory folder For a non empty bar the options available are a Read Archive this causes the strip chart tool to request historical data from the Channel Archiver for the selected PV only and display that data if a valid response is received b Scale Chart To This PV brings up the scale sub menu Cc Scale to HOPR LOPR values scales the strip chart to the HOPR and LOPR values of the PV providing the PV is connected and HOPRPLOPR are defined Scale to displayed Min Max values scales the strip chart to the current minimum and maximum displayed values of the selected PV Scale to buffered Min Max values scales the strip chart to the current minimum and maximum buffered Le includes off display values of the selected PV Adjust PV this brings up the adjust PV sub menu In order to more easily correlate two or more PVs the Strip Chart enables the display of a PV is be linearly adjusted using the formula Ypisplayea Ypy Origin slope offset The is a variation of the more usual y m x c formula but essentiall has a scaled and unscaled offset constant which makes it a bit easier for the human uset The sub menu items are dialog box allows the user to manually enter origin slope and offset values It
2. 0 178 4435 32 63001 1s Z5 Apr 2003 12 10 47 EST 15 000 178 4415 32 61866 16 26 Apr 20029 12 10 48 EST 16 000 178 4395 32 61866 17 Z5 Apr 2003 12 10 49 EST 17 000 4178 43595 32 61566 13 25 Spr 2009 12 10 50 EST 13 000 178 4574 32 60135 19 25 Apr 2009 12 10 51 EST 19 000 178 4568 32 60138 z0 25 Apr 2009 12 10 52 EST 20 000 178 4347 32 58779 1 25 Apr 2009 17 10 53 EST 1 000 178 4335 32 58779 end The Read All PVs button causes all the PVs currently on the strip chart to be re read from the EPICS Channel Archive s and that data displayed if a valid response is received The adaptation_parameters_file ini file in the start up directory folder specifies the default output resample interval together with archive hostnames port numbers and end point scripts of each of the archives to be accessed 5 of 12 AS 200904 03 o Control Time view fo gt IMIE al These buttons select the time view of the strip chart From left to right these buttons Open a start time and end time dialog Start times are restricted to being no earlier than 1 Aug 2005 while end times are no later than current time The time frame start time to end time is no less than 30 seconds Note the times are interpreted as per the time zone selection described in paragraph h below Select real time mode this is the default mode The end time of the strip chart is always the current time the start time is a fixed durat
3. Australian Synchrotron Technical Note AS CIT 200904 03 Strip Chart User Guide Andrew Starritt 25 April 2009 Abstract Live PV data and historical data from the EPICS Channel Archives can be displayed by the Graphical User Interface GUD and the Stand Alone Strip Chart SAS tool The later is a stand alone version of the Strip Chart Form available on the Operator Interface OPI GUI 1 Introduction This technical note provides a guide to using the Strip Chart how to start the GUI and Stand Alone Strip Chart programs together with some frequently asked questions 2 Starting the GUI SAS A number of bat scripts have been provided on the K asad01 synchrotron drive to enable users to run the GUI SAS programs in the office environment Additional information is available at deploying OPI components on the Synchropedia 2 1 Starting the Operator Interface GUI Navigate to K Engineering Control_Systems utilities Drag and copy the short cut run_gui to your desktop This is a short cut that links to the file run_gui bat file Please do not copy the run_gui bat file itself this may change without notice Double click on the run_gui short cut icon This runs the bat script which copies the relevant files to your C drive and then executes the gui from your local drive These files are copied to the folder C asp ics opi gui_process To open the strip chart go to the menu bar and select Framework Strip Chart Alternative
4. a value capability is turned on this status is supplemented by the delta time and delta value values dT 0 00 01 02 8 dY 0 3021 4 Frequently Asked Questions Q Can I mess anything up with this program A It is quite impossible to control anything from the Strip Chart form It is read only It has no effect of the operation of the accelerator or beamline components Also when running in the office environment the accelerator office EPICS gateway is a read only gateway and prevents PV writes Q Is it updating is real time A The real time PV updates are essentially real time there is a small delay introduced by the gateway when running in the office environment However data retrieval from the Data Archiver is not real time this data is typically a few minutes behind real time 11 of 12 AS 200904 03 Q Will it work at home A Partially data retrieval from the Data Archiver will work at home and anywhere with an internet connection Direct real time PV updates will not work from home Archive retrieval has been confirmed by several people Performance is VERY reasonable except when using dial up connection You may need to allow it through your firewall Q How do I remember all of these Process Variable PV names A The current version supports a drop down list of all archived PVs and a regular expression filter This is way cool play with it The list will update dynamically so as new PVs get archi
5. also provides four automatic origin slope and offset value selection buttons These are General allows the user to select arbitrary origin slope and offset values Reset sets slope to 1 and origin amp offset to 0 Le Ypjisiovea Yov HOPR LOPR calculates origin slope and offset such that the HOPR value is displayed at the current chart maximum the LOPR value is displayed at the current chart minimum Display calculates origin slope and offset such that the maximum displayed PV value is displayed at chart maximum the minimum displayed PV value is displayed at chart minimum 8 of 12 AS 200904 03 e Buffer Display calculates origin slope and offset such that the maximum buffered PV value is displayed at chart maximum the minimum buffered PV value is displayed at chart minimum e First displayed value maps to chart Y axis centre Sets origin slope and offset such that the left first displayed value is at the middle of the Y axis The slope is set to 1 d Mode brings up the mode sub menu e Rectangular default squares off display trace and e Smooth continuous display of PV values suitable for floating point PVs e Use PV process time default the time X axis value used is based on the PV process time e Use receive time the time X axis value used is derived from the time on the client machine when the PV update is received this is usesfull if an IOC has the incorrect
6. cept have been developed 3 5 Tool Bar The Tool Bar is located immediately below the title bar is the tool bar It consists of a number of buttons with icons or text and associated status information e JER ZE v a o tm 5m 20m in an r2n 24 cr fest eor utc wal ra 1 1 gt jeter Back Fwd Normal Linear Auto Sode 2000 eal Time 25 Apr 2009 11 29 18 to 25 Apr 2009 11 49 18 EST 000 The function of each of these controls is described below a Backward Forward Control Rll gt These buttons are used to go back to a previous strip chart state or forwards again the strip chart state is set by the other controls on the tool bar described below The paradigm mimics that of a browser going back to the previous page or forwards again Normal Video Reverse Video These buttons are used to select either a white or a black background colour to 3 of 12 AS 200904 03 be used on the actual chart area The former is better for printing and for inclusion within a document c Linear Display Log Display Selects whether the display is linear default or logarithmic To avoid invalid floating point operation exceptions the log of a zero and negative number is deemed to be 20 d Manual Auto Data Normalised Scaling M A DN These buttons allows the selection of one of the vertical scaling modes From left to right these buttons do Manual Scale launches a dialog b
7. hese PVs you will be displaying the log of the log of the pressure this doesn t really mean very much Q Also what happens to a negative number with the log option A Because the log of a zero or negative number is undefined the Strip Chart displays the log of these values as 20 Q What if I get the PV wrong and it doesn t exist A You will get a transient error message in the status area grey area on the bottom of the window Q Why does it start up in a strange place on my screen and why do some people get scroll bars A The Strip chart is primarily designed for use in the control room it expects a certain minimum display resolution and places things best for a dual screen operator screen 12 of 12
8. ion before that Pause the strip chart no real time updates occur although real time data is still buffered for subsequent display Page back one frame The frame size is the current chart time frame Page forward one frame The frame size is the current chart time frame h Time Zone selection CT EST EDT UTC These buttons select the time zone to be used by the strip chart From left to right these buttons are CT use current time zone the default i e Australian Eastern Summer Time in summer and Australian Eastern Standard Time in winter EST use Australian Eastern Standard Time EDT use Australian Eastern Summer i e Daylight savings Time UTC use Universal Coordinated Time i e essentially Greenwich Mean Time GMT The time_zone ini file in the start up directory folder specifies time zone information together with time zone acronyms used to set the captions of the two central buttons Note both EPICS in general and the Channel Archiver in particular use UTC 6 of 12 AS 200904 03 i Load Save configuration The ComboBox and buttons allow the user to load and save the current strip chart configuration For the ComboBox a predefined set of filenames are extracted from a file specified in the adaptation_parameters_file ini For the buttons a file system browser dialog is launched to allow the user to select a file to load from or save to This loaded saved configuration includes the f
9. ly open up the relevant form right click on the PV of interest and from the pop up menu select Add to Strip Chart Note the files are copied to your C drive rather than run from the K drive to overcome a Windows feature which precludes the updating of these files while being executed AS 200904 03 2 2 Starting the Stand Alone Strip Chart SAS This is similar to starting the GUI Navigate to K Engineering Control_systems utilities Drag and copy the short cut run_sas short cut file to your desktop Do not copy the run_sas bat file itself Double click on the run_sas short cut icon This runs the bat script which copies the relevant files to your C drive and then executes the SAS from your local drive These files are copied to the folder C asp ics opi sas_process 3 User Guide The following sub sections describe the function and operation of the major parts of the Strip Chart 3 3 Menu Bar The menu bar is located at the very top of the Strip Chart form Stand Alone Strip Chart development build 04 06 02 Framework Strip Chart Of interest is the Strip Chart which contains two items View and Duration The View item has four sub menu items Header Toolbar PV Panel and Status These items allow the user to optimise screen real estate by controlling the display non display of various parts of the strip chart The Duration items have various sub menu items that can be used to select the durati
10. n and to the right a dashed green rectangle is drawn When the user un clicks the strip chart examines the rectangle and zooms in either in time or in scale but not both at the same time If the prescribed rectangle is wider than it is tall i e o in then the zoom is in the time and the vertical scale remains unchanged If the prescribed rectangle is taller than it is wider e g 0 84 1 0 6 0 4 0 24 then the zoom is in the vertical scale and the time scale remain unchanged If the rectangle is square or nearly so then no zoom occurs 10 of 12 AS 200904 03 A relative delta time and delta value capability is also provided By alternate tight clicking on the chart area the location is saved and a cross drawn at that location and a dashed green green line drawn to the current cursor position The relative time and relative values are displayed on the status bar as the cursor is moved beet This functionality cab be turned off by again alternate right clicking on the chart area 3 8 Status Bar This shows any status information such as PV successfully read or otherwise not read from the archiver It also shows the current time and value of the cursor when this is located on the chart area The time is displayed as both an absolute time and a relative to the chart end time Time Sat 25 Apr 2009 13 21 44 EST 0 00 02 57 3 Value 0 504 531 722 1 When the relative delta time and delt
11. on or relative time frame of the display chart These menu items supplement selections available on the tool bar 3 4 Header The header panel lets us know that this is the Strip Chart form It also includes a number of standard form controls at the extreme right hand side of the Header panel L Hl 2 of 12 AS 200904 03 These are a New error reported indicator The colour indicates the severity of the most serious error report Clicking on this button will open the Error Reports Form and clear the error report indication The iconise button IM This will iconise the form This control is not applicable to the stand alone strip chart the form is the main application form The open previous form button B This will re open if not already open the form from which the Strip Chart form was opened This control is not applicable to the stand alone strip chart The lock current form button js When locked as shown this will prevent the current form being closed if when another form is opened It will also enable indeed force a second instance of the Strip Chart Form to be opened if when an attempt is made to open the Strip Chart or a PV is added to the Strip Chart It is not applicable to the stand alone strip chart The help button MM This will launch firefox and open the file tstrip_chart_form htm if it exists in the current directory This is for future enhancement No html help files other than proof of con
12. orm geometry normal reverse video log linier scale manual auto normalised scale real time historical mode and Y axis scale It also loads saves the current PV names together with the associated PV colours together with any PV adjustments Note these files are ASCII files that can be hand edited with care They are also compatible with the Scratch Pad Form configuration files PV Panel size control This widget allows the user to control the size of the PV Panel i e increasing or decreasing the number of rows of PV Names that are displayed 3 6 Process Variable PV Panel Below the tool bar is the PV Panel which displays 14 coloured bars seven rows by two columns plus associated value displays 5494 45997 S rl E E S The coloured bars show the names of the PVs being monitored by the strip chart The colour of the line on the chart and the colour of the bar are the same If the PV is currently connected i e we can get the live value directly from an IOC perhaps via a gateway the current value and engineering units are displayed adjacent to the bar Right click on any one of these bars to launch a PV specific popup menu For a blank bar the available options are is a Add PV this launches a dialog box to allow a PV name to be manually entered Once the Okay button is clicked the PV name will appear in the bar and monitoring of the PV will begin Double clicking on a blank bar also launches this
13. ox to allow the user to manually specify the required lower and upper display bounds of the chart Auto Scale scales chart to encompass the lower to the upper display limits of all the PVs currently being monitored i e from the minimum of all the LOPR values to the maximum of all the HOPR values If a PV has not specified LOPR and HOPR essentially both set to 0 then the PV is excluded from the auto scale calculation If none of PVs have LOPR HOPR specified the vertical scaling remains unchanged Data Scale scales chart to encompass the lower to the upper actual values of all the values of all the PVs currently displayed Normalised Scale each PV is drawn as if the strip chart is scaled to the HOPR LOPR bounds of the PV itself The nominal Y axis scale is 0 to 100 Clicking on one of the coloured horizontal bars below the Tool Bar changes the Y axis scale to reflect the selected PV The selected PV is indicated by a gt chevron preceding the PV Name Better icons are still under development e Select Time Duration 1m 5m 20m th 4h 12h 2d These buttons allow the selection of the time scale duration of the strip chart from a pre determined number of durations from ranging 1 minute to 2 days Other duration are available from the strip chart menu 4 of 12 AS 200904 03 The button on the extreme tight opens a dialog form that allows for the selection of an arbitrary time expressed in days hours minutes and
14. seconds The minimum duration that can be specified is 30 seconds The maximum is 99 999 days i e about 273 years which is well beyond the expected operational lifetime of the synchrotron f Write All PVs to file Read All PVs from Archiver WA RA The Write All PVs button writes all the displayed values to a text file suitable for importing into Excel The values are re sampled to a fixed time interval default 1 second An example output is shown below 26 Apr 009 12 10 32 Zz SRILIBCMOL 1 SRLIBCHOL CURRENT MONITOR EST LIFETIME MONITOR to 5 Apr 2009 12 10 53 No Tine Relative Time ii Z o Z5 Apr 20023 12 10 32 EST 0 000 178 4624 32 73756 l Z5 Apr 2003 12 10 33 EST 1 000 173 4624 32 73756 Z Z5 Apr 20023 12 10 34 EST 2 000 178 46043 32 71825 3 25 Apr 2009 12 10 35 EST 3 000 178 4606 32 71829 4 25 Apr 2009 12 10 36 EST 4 000 178 4577 32 6987 5 25 Apr 2009 12 10 37 EST 5 000 178 4558 32 6987 6 Z5 Apr 20023 12 10 38 EST 6 000 4178_ 4555 32 6987 7 Z5 Apr 20093 12 10 33 EST 7 000 4178_ 4539 32 68507 amp 26 Apr 2003 12 10 40 EST 8 000 178 44968 32 67066 a 28 Apr 20028 12 10 41 EST 3 000 178 4495 32 6706 lo 26 Apr 2003 12 10 42 EST 10 000 178 44793 32 65449 ll 25 Spr 009 12 10 43 EST 11 000 178 4464 32 64065 LE 25 Apr 2009 12 10 44 EST l2 000 178 4464 32 64065 13 25 Apr 2009 12 10 45 EST 13 000 178 44465 32 64065 l4 Z5 Apr 2003 12 10 46 EST 14 00
15. time and for some of the more complex record that post values while the record is still processing e Line brings up the line sub menu e Hide hides the trace of this PV from the chart e Regular includes the trace of this PV on the chart default e Bold draws the trace double thickness and e Colour launches a colour selection dialog f Edit PV Name this launches a dialog box to allow a PV name to be manually modified Once the Okay button is clicked the PV name will appear in the bar and monitoring of the new PV will begin Double clicking on a bar also launches this dialog g Write trace to file this allows the user to select an output file and then writes the displayed values together with the associated time stamp and status to the selected file h Generate Statistics this lunches a form displaying statistics of the displayed PV values This includes the minimum value maximum value the range of values the time weighted mean value the time weight standard deviation the integral i e area under the curve and the mean rate of change i Clear removes this PV from the chart 9 of 12 AS 200904 03 3 7 Chart Area This displays the data for the selected PVs graphically The time axis shows the relative time from the chart time end time in units of seconds minutes hours or days as appropriate A graphical zoom capability is provided By clicking on the chart and then moving the cursor dow
16. ved they will appear Q What are Glob Pattern and regular expression A These are ways of selecting a group of PVs identified by names which are just strings Both accept exact matches between the pattern string and the given string but have some subtle differences and are useful in certain cases is the default and in regular expressions means any character and means zero or more occurrences of the previous character so means match to anything Play with it for example SR gets all PVs starting the characters SR and SRO08 only those in sector 8 Best to consult a computer science text book or your favourite search engine can provide more details on pattern matching if you really need to know We are anticipating very large numbers of PVs so this is really for the future Note the Glob option is deprecated and will be phased out Q Can I read PVs in the as yet uncommissioned equipment e g the Accel PVs A If you are in the control room or anywhere on the accelerator LAN or office LAN you can read them directly but cannot backfill historical or archived data Only when PVs are archived can the values be read from outside the office accelerator network Q There are some Process Variables that are already logarithmic e g SRO1CCG02 LOG_PRESSURE what happens with the log option on the strip chart A If you the use the log option on the strip chart for t
Download Pdf Manuals
Related Search
Related Contents
Documento PDF - Università degli Studi di Padova BBV RX100-DENNARD Telemetry receivers User`s Manual Hydra User Manual DTS-821 タイガーI (後期型) - 株式会社ハイテックマルチプレックスジャパン Copyright © All rights reserved.
Failed to retrieve file