Working with Get Value Process
Process Purpose
Each object has a temporary memory space in which the value of the object is stored (not the same as the variable associated to the object). This value can be something that the device operator has keyed in but did not validate (no Enter or OK was pressed, at that point).
The Get Value process is used to get that temporary value from that specific memory space. It can only be used to get the value from objects which are in the same screen as the process one.
When you add a process, you are required to define its settings. This occurs in the process's properties window which is displayed automatically after having added the Get Value process.
If any subsequent edition is required, double-click the process to open its properties window and enter the necessary modifications.
Fill in the boxes below. The options available in the "Control Name" box (A) depend on the objects displayed on the screen that includes the process.
Control |
|
Control Name |
Select the object to be controlled from the drop-down list or click |
Store Value into Variable |
|
Variable |
Click |
If required, use the icon on the upper right corner of the object's properties window:
Use the icon to attach any relevant notes to this process. Click it and enter your notes in the resulting text box. These notes will be displayed in the corresponding "Actions" tab or "Process" window (in the "Notes" field) and in the "Developer Report".
After filling in the required options, click to conclude or
to abort the operation.
The added process is displayed in the corresponding "Actions" tab or "Process" window.
This table displays the values that can be retrieved from each object - an object's default value or the value previously set with the help of the Set Value process (see Working with Set Value Process). Once the device operator interacts with the object, the "Get Value" process retrieves the current value validated by the device operator.
Get Value process |
|
Display Text |
Allows you to retrieve the value (text and/or numeric) added to the Display Text object. |
Display Header |
Allows you to retrieve the value (text and/or numeric) added to the Display Header object. |
Display Line |
N/A |
Display Shape |
N/A |
Input Keyboard |
Allows you to retrieve the value (text or numeric) added to the Input Keyboard object. |
Input Barcode |
Allows you to retrieve the value (text or numeric) added to the Input Barcode object. |
Input Date |
Allows you to retrieve the value added to the Input Date object (in the object's output format). |
Input Time |
Allows you to retrieve the value added to the Input Time object (in the object's output format). |
Input Spin |
Allows you to retrieve the value (numeric) added to the Input Spin object. |
Combo Box |
Allows you to retrieve the value added to the Combo Box object. |
Input List |
Allows you to retrieve the highlighted position of the Input List object. |
Input Cash |
Allows you to retrieve the value (numeric) added to the Input Cash object. |
Button |
Allows you to retrieve the value (text and/or numeric) added to the Button object. |
SoftKey |
Allows you to retrieve the value (text and/or numeric) added to the SoftKey object. |
Menu Button |
Allows you to retrieve the highlighted position of the Menu Button object. |
Menu Text |
Allows you to retrieve the highlighted position of the Menu Text object. |
Signature Capture |
N/A |
Display Image |
N/A |
CheckBox |
Allows you to retrieve the CheckBox object's state (the Checked or Unchecked state value). |
Radio Button |
Allows you to retrieve the highlighted position of the Radio Button object. |
Gauge |
Allows you to retrieve the position (value) added to the Gauge object. |
Slider |
Allows you to retrieve the position (value) added to the Slider object. |
File Browse |
Allows you to retrieve the highlighted position of the File Browse object. |
Advanced List Box |
Allows you to retrieve the highlighted position of the Advanced List Box object. |
Grid |
Allows you to retrieve the highlighted position of the Grid object. |
Use the right click in MCL-Designer's input boxes to access certain features regarding the input box's option as well as general actions such as "Copy"; "Paste"; "Search".
Ex: If you right-click the "Variable" input box (included in a "Conversion's" properties window), you are provided with the "Search..."and "Variable Select" options.
If you right-click another input box, it will provide other possibilities.