From OpenSCADAWiki
Jump to: navigation, search

Now in the "Cooler" widget add two text fields based on the "Text" primitive, in order to display the input and output flow temperature. To do this, select the "Cooler" widget and, in the visual panel of the "CM 101" library, select the menu item of the primitive "Text" as shown in Figure 5.3.2.5. For the first text field, enter the identifier Ti and in the attribute inspector we will set the properties:

  • "Geometry: x" — 5;
  • "Geometry: y" — 20;
  • "Geometry: width" — 70;
  • "Geometry: height" — 35;
  • "Alignment" — "Сenter";
  • "Font" — "Arial 14 1", you can change the font in the dialog that is opened by pressing the key in the edit field (Fig.5.3.2.7);
At.png Font Arial can be missing in the dialog, so select one that you like.
  • "Text" (Fig.5.3.2.8):
%1
deg.C
  • "Arguments number" — 1 (Fig.5.3.2.9):
    • "Argument 0: type" — "Real";
    • "Argument 0: value" — 300.25, is specified only for clarity and in the execution mode it will be replaced with the real value of the input temperature;
    • "Аргумент 0: config" — "3;f;2".