CyFlex Operator Display: Introduction

December 2012

Overview

The CyFlex® Operator Display gives users of CyFlex test systems a powerful way to control the test operations and monitor the relevant measurements, states, and performance parameters.  It gives operators all of these functions in screens that are fully configurable.  The Operator Display or “OD” lets you switch between multiple display screens, each with a graphical and/or tabular layout that you can tailor to the testing requirements and preferences.

OD screens can be built to contain fields for input and output displays and controls. The OD screens can contain multiple tabs, allowing individual tabs to contain different areas of information. The widgets can be CyFlex Variable values with labels and optional units, arranged in rows and columns.  They can be a variety of graphical displays, including dials, bars, sliders, toggle switches, and plots.  Collections of these fields can be organized into “groups”, rectangular areas of the screen holding display fields that you want to associate together.

The instructions for showing which Variables, display types, and OD screens can be saved in Configuration files and reloaded as desired.  You can save and load different configurations for the various test profiles which they follow.

Features

The Operator Display screen can be configured to display a wide variety of information and continuously update it.  This sample screen shows


· a virtual dashboard of gauges and LED indicators

· multiple groups of related CyFlex Variables by label and value

· a row of labeled screen tabs at screen top left

· a pair of stripcharts

· a command line for entering CyFlex text commands

· strings that describe the current GP Test.

Terminology

The following terms should be helpful in discussing what Operator Display can do and how it works. Refer to the annotated drawing below to identify them in the Operator Display Main Window.


· Main Windowthe complete window that appears when the application starts

· Configuration the display settings that determine which CyFlex data is displayed, in which screen location, and in which format

· Menu Bar the standard pull-down menus common to graphical interfaces for high-level functions, e.g. open, save, save as, exit, toolbar setup, select variables, help

· Toolbar the optional row of labeled buttons that users can assign to run CyFlex or Linux commands

· Tab Rowthe row of labeled tabs to switch among display areas.  Each tab is the entry point for a rectangular display area with its own configurable layout.  Click any tab to display its portion of the screen

· Display Area a rectangular portion of the Operator Display screen configured to hold any of the standard Groups or Fields

· Tab Display Area the Display Area for a single tab. 

· Field the display area for a single CyFlex Variable, either text or graphics

· Display a Field which is used only for display output and no user input

· Control a Field which is used for user input, either as text entry or graphical simulation of hardware controls, e.g. knob, button, dial

· Widget the graphical element in a Field that shows the image of a Display or Control, e.g. knob, dial, text input

· Groupa rectangular display area comprised of a set of Fields, typically in some logical grouping, arranged in rows and columns with a common background color

· Command Line a single text field and button that let you enter a CyFlex text command and then press the button to execute it

· String a single line of text for display only

Operation

Starting and Stopping

How to Start the Operator Display Program

Operator Display can be started from the command prompt in a Linux shell or added to the CyFlex go script:

[user@cmx0nn directory]$ runqtui spec.ui

where the “spec.ui” argument is the name of a “specs” or configuration file, described below.  Users may choose the “specs” portion of the filename, while the “.ui” file extension is standard for Operator Display.

The Operator Display window itself behaves like any other Linux window.  It may be maximized, minimized, or closed with the standard buttons in the top right corner of the frame. 

How to Stop the Operator Display Program

The program can be stopped any one of several ways:

1.    Close - the top right window Close button

2.    Menu - in the top left Menu Bar: File -> Exit


3.    Keyboard - from the keyboard: Ctrl-q

Upon exit of the program, the user will be be prompted to save the configuration changes.

Locking Variable Selection

The runqtui program has arguments that determine whether or not the Operator is permitted to change the CyFlex Variable selected for each Field.  This “LockedVariable” property is built into the graphical widget of each Field.  They may be enabled or disabled collectively, depending on the command arguments:

runqtui Argument

         Function

-lnone           

         The LockedVariable property is not used [default]

-ladmin         

         Administrative mode, locking is performed based on widget's property.          The user may change the LockedVariable property.

-lprop            

         Use the LockedVariable property to decide if a widget is locked.

-lall               

         Ignore the value of the LockedVariable property and lock all widgets

Saving Configurations

The current configuration can be saved to the current specs.ui file or a different file and path using the File > Save or File> Save As… entries in the Menu Bar, respectively:


·         File -> Save saves the current configuration immediately

·         File -> Save As… saves the current configuration to the file and path selected in the popup Save UI File dialog.

The runqtui program has additional arguments to assign and limit saving the current configuration to a specs.ui file:

runqtui Argument

        Function

-ssave           

        Allow 'Save' or 'Save As' of the specs.ui file [default]

-ssaveas           

        Only allow 'Save As' a different filename of the specs.ui file

-snone          

        No changes to the user interface can be saved

Menu Bar

Once the program starts with a given configuration, there is minimal interaction required.  However, users can perform several standard functions from the pulldown menus in the Menu Bar:

File


· Openopen and load an Operator Display configuration file

· Savesave the current Operator Display configuration

· Save Assave the current Operator Display configuration to a selected file

· Exitstop the program and close its window

Tools


· Toolbar Setupdisplay the Toolbar Setup dialog to create and edit the Toolbar


The Toolbar is an optional row of labeled buttons shown below the Menu Bar.  Users may click the Toolbar buttons to run CyFlex or Linux commands that have been assigned in the Toolbar Setup dialog.   Each row within the Toolbar Setup dialog corresponds to properties for one command button. The following is a list of Toolbar button properties that can be set:

· Select Variables display the Variable Selection dialog to change the CyFlex Variable in a Field: open a list of Variables and drag your selection to the Field


Help


· Help Contents  F1 – open the CyFlex Help Browser for Operator Display

· About – display the About panel for the CyFlex Operator Display

· About Qt – display the About panel for Qt

Displays and Controls

The Operator Display screen displays the standard CyFlex layout of data Fields as text and/or graphics.  The Fields are organized in rows and columns with related items grouped together for convenience.  Each Field is either a “Display” (output) or “Control” (input), or both.  They range in complexity from a simple button to a full-featured stripchart with realtime graphics.

An additional “Screen Tabs” display is available for multiple panels.  It includes a row of tabs at the top margin for selecting one among many screen tabs to display.  Screen Tabs are not required, but are quite versatile; they can show a large number of fields in a relatively small area by successive tabbing.

Screens can be configured to include Groups and Display and Control Fields in virtually any arrangement.  The Qt Designer utility (described separately) automates this process in a drag-and-drop service.  Different configurations can be saved or loaded as specs files for different operating environments. 

How to changed Properties of the Display and Control Fields

How to Change the CyFlex Variable Assigned to Display and Control Fields

How to Change Units for Display and Control Fields

Note: Selecting Change Units does not change the CyFlex Variable units – it only changes the units type the variable is displayed in

How to Copy and Paste CyFlex Variable Names between Display and Control Fields

How to Disable Display and Control Fields

Note: Selecting Disable Widget just dissociates a CyFlex Variable from the Display or Control Field

How to Change the Variable Value within the Display and Control Fields where Applicable

Displays

1.    Groupa rectangular area to group related Display and/or Control Fields in rows and columns.  Adjacent groups can be differentiated easily with contrasting background colors.  Groups can be arranged on the screen in contiguous tiles to maximize the data display.


The following is description of the properties that can be changed for the Group field:

See the Quick Display section for information on how the configuration dialog is used.

2.    Valuea text Display to output a CyFlex Real, Integer, Logical or Statistical Variable.   The Field includes the Variable label, text value and Variable units updated continuously. 

3.    Simple Value – a text Display to output a CyFlex Real, Integer, Logical, String or Statistical Variable.  Simple Value Fields are designed to optimize screen space; they are often organized in rows and columns in a Group.


The following is a description of the properties that can be changed for the Simple Value field:

4.    Slider – a graphical Display that emulates an analog bar display for CyFlex Real or Integer Variables.  It includes the Variable label and dynamic sliding bar with scale to indicate the current value.


The following is a description of the properties that can be changed for the Slider field:

5.    Stringa text Display to output a CyFlex String Variable.  It includes the Variable label and value text string.


The following is a description of the properties that can be changed for the String field:

6.    Gauge a graphical Display to output a CyFlex Real or Integer Variables.  It is particularly useful as an indicator of dynamic behavior.  The Field includes the Variable label with optional Units.

7.    LEDa graphical Display that emulates various styles of LED lights to display the value of a CyFlex Logical Variable.  It includes the Variable label and text describing the current Variable state.

            


The following is a description of the properties that can be changed for the LED field:

8.    Stripcharta graphical Display that emulates an electromechnical stripchart recorder to display the values of multiple CyFlex Real or Integer Variables. It has the same display properties as the standalone Stripchart application.


The Help Browser in Stripchart gives detailed information on its capabilities and properties.

Controls

1.    Command Linea single text field Control in which you can enter a CyFlex command and then run it with the “Execute” button.  Click the down arrow to select from a list of previous entries.

Note: It is best to only have one command line field per display

2.    Command Buttona labeled button that is pressed to execute a prescribed CyFlex command.  The command should be easily identified by the label or adjacent text.

3.    Pushbuttona graphical Control that emulates various styles of on/off push buttons to set the value of a CyFlex Logical Variable.  It includes the Variable label and text describing the current Variable state.

        


The following is a description of the properties that can be changed for the Pushbutton field:

4.    Toggle Buttonsa graphical Control that emulates various styles of on/off toggle buttons to set the value of a CyFlex Logical Variable.  It includes the Variable label and text describing the current Variable state.

        


The following is a description of the properties that can be changed for the Toggle Button field:

Quick Display

Quick Display is both a standalone CyFlex display application and an embedded display in Operator Display.  It gives you the ability to quickly create a display of rows and columns of Simple Value Fields.  The resulting display can be embedded in a Group box in Operator Display.

Standalone

To configure a “standalone” Quick Display, i.e. in a separate window, run the application on the command line:

[user@cmx0nn directory]$  quick_display &

Starting with a blank array of numbered rows and columns, you can drag CyFlex Variables by name from the list provided on the left side of the dialog to the array location of choice on the right side of the dialog.  The list supports a name filter in the Filter field.  Current Variable properties are preserved but may be changed in Operator Display in their Edit Properties dialog.

Use the Rows & Columns counter fields to add new rows or columns or remove rows or right columns.

When the array is populated as desired, click the OK button and then save the configuration to a file in the Select File dialog.  The default directory is /specs/qt/.  Quick Display will write two files with the selected name, one with a .ui extension for the standalone version and .qdl for the embedded version in Operator Display.

In Operator Display

The same technique used to create a standalone Quick Display can be used to embed a Quick Display in Operator Display.  While the process uses Qt Designer and will not be covered fully here, it is reasonably straightforward in practice.

1.    In Qt Designer, add a Group box to your Operator Display specs

2.    Run Operator Display and open the specs file in the Open UI File dialog from File > Open

3.    Right-click on the new Group and choose Edit Display in the popup menu to launch the same Quick Display builder screen above

4.    Drag in the Variables to the locations you want.  Remove any blank rows and columns with the integer counters as needed

5.    Click OK and save the specs in the Select File dialog

Your Quick Display selections will be embedded in the Group box in Operator Display.  The box may be resized or moved in Qt Designer as desired.

    Sample Screens

Several sample Operator Display screenshots are shown here to indicate the capabilities of displays available.

1.    Fuel screen tab

This screen is a standard layout for a Fuel screen tab, including a set of text displays with a Command Line input and two Stripcharts at right.  The text displays are Simple Value Fields in Group boxes.  A column of Buttons indicates the current Fuel System Mode.  String Variables of interest are also shown.

2.    Main Display screen tab

This screen is the same as above with the Main Display screen tab shown.  It features a dashboard style row of Gauges and a column of LED indicators with a Value Field for the throttle command [%].

3.    Startup Display screen tab

This screen is the same Operator Display configuration with the Startup Display screen tab shown.  It includes Group rows of LED indicators for CyFlex Logical Variables associated with Digital Inputs and Digital Outputs.  The screen might be used during startup of the test article, after which the user can quickly switch to another screen tab.

    Operator Display Designer

This screen is a sample of Qt Designer, the user interface tool used to create and change Operator Display screens.  A User Guide for Qt Designer is available in a separate document.  The Qt Designer Manual is authored by the Qt Project and is available online.

    Future Topics