Cut, Copy, Paste and Delete Parameter Fields
Navigating Through Parameter Fields
The Parameter Form displays the contents of a particular category, which may be composed of several types of parameter fields that are used to input to, or output data from the component model. For example, the image below illustrates the parameter dialog (parameter form highlighted in red) for the Synchronous Machine, one of the more complex models in the PSCAD master library.
Synchronous Machine Component from the PSCAD Master Library
There are several different types of parameters fields that may be added to a category from within the parameter form. These include:
Each of these parameter field types are discussed in detail in this section (just click the links above).
NOTE: Only input parameters of type Real, Integer, Logical and Complex can be ported into a module as a signal. Boolean, Choice, Table and Text types cannot.
Form properties can be adjusted by first left-clicking anywhere on the WYSIWYG display frame. The frame properties will appear in the properties form:
Parameter Form Properties and WYSIWYG Display
Adjust these properties as you see fit. Descriptions are given as follows:
Appearance:
Name: Enter a name that will appear as the parameter form title. This name will be displayed when the user edits the parameters of this component.
Data
Categories: Press the '...' button to invoke the Category Editor.
Category Count: Displays the number of categories (display only).
Layout:
Category Tree Width: Sets the width (in pixels) of the Category Tree window.
Comment Lines: Effectively sets the height (number of text lines) of the help text display box.
Default Splitter Position (%): Sets the default parameter field splitter width when adding new parameter fields. Note that the splitter position can be adjusted manually at any time by left-click and hold over the splitter bar in the WYSIWYG display. Also, the splitter position may be adjusted in the corresponding category properties.
Dynamic Help Width: Sets the width (in pixels) of the Dynamic Help pane.
Height: Sets the height (in pixels) of the parameter form. Note that the WYSIWYG display will change when this property is adjusted.
Width: Sets the width (in pixels) of the parameter form. Note that the WYSIWYG display will change when this property is adjusted.
To add a new parameter field to your parameter form, simply click the associated Add button in the ribbon control bar:
|
|
|
|
|
|
|
|
Or right-click over the parameter form and select Add. Select the appropriate item from the submenu:
Cut, copy or paste a parameter field by using one of two methods:
Right-click on the field and select Cut or Copy from the context menu. Right-click over a blank area of the form and select Paste from the pop-up menu.
Left-click on a field and press Ctrl + x to cut, Ctrl + c to copy and Ctrl + v to paste.
To delete a field, select it and press the Delete key, or right-click and select Delete.
Once you have added more than field, there will of course be a need to navigate through them. In the parameter form, simply left-click on the desired parameter field to view its properties and content.
Once you have added more than one parameter field, there may be a need to re-order their sequence. To move a field up or down, select it and press the associated button in the ribbon control bar:
Or, select a parameter field, right-click and select one of the Move options:
By default, the parameter form displays the Display Name property for each parameter field. If you prefer to display the Symbol instead, then you can toggle back and forth. Simply click the Toggle Symbol View button in the ribbon control bar:
Or, right-click on a parameter field and select Toggle Symbol View.