<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Graphical User Interface</title><link>https://sourceforge.net/p/argos-scada-en/wiki/Graphical%2520User%2520Interface/</link><description>Recent changes to Graphical User Interface</description><atom:link href="https://sourceforge.net/p/argos-scada-en/wiki/Graphical%20User%20Interface/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 26 May 2012 02:58:29 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/argos-scada-en/wiki/Graphical%20User%20Interface/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Graphical User Interface modified by Steve</title><link>https://sourceforge.net/p/argos-scada-en/wiki/Graphical%2520User%2520Interface/</link><description>&lt;pre&gt;--- v3
+++ v4
@@ -3,47 +3,48 @@
 
 This section will show how to create an HMI using graphical programming tool "Interfargos" This application is based on FLTK Fluid, and is being rewritten to be used as a programming interface and SCADA configuration for the Argos. The variable components to animate graphics are those that were configured in the previous sections, through XML files.
 
-    Start the application Interfargos
+Start the application Interfargos
 
     #&gt; Interfargos
 
 The image shows that the tool has:
 
-    Menu options.
-    Palettes controls or components, one with basic elements and the other controls which can represent argos information from acquisition systems.
-    Edit window, which displays the source code generated by the application and which will then be compiled to show the HMI runtime.
+Menu options.
+Palettes controls or components, one with basic elements and the other controls which can represent argos information from acquisition systems.
+Edit window, which displays the source code generated by the application and which will then be compiled to show the HMI runtime.
 
 
 Creating a Window:
 Function / Method
 
-    Select from the menu -&gt; New -&gt; Code -&gt; Function / Method, (menú -&gt; Nuevo -&gt; Código -&gt; Función / Métodoa) window in which you must remove the text for the application to generate automatically the main function to be executed, if you place the name of a function code primary function will not be generated, thus may be used as a module to link to another application.
+Select from the menu -&gt; New -&gt; Code -&gt; Function / Method, (menú -&gt; Nuevo -&gt; Código -&gt; Función / Métodoa) window in which you must remove the text for the application to generate automatically the main function to be executed, if you place the name of a function code primary function will not be generated, thus may be used as a module to link to another application.
 
-    Add a new type Arg_Window window, this has all the basic features of a window, but also properties are added that allow the connection to the data acquisition services, the Arg_Window is selected through the Control palette or argos menu -&gt; New -&gt; Argos -&gt; Arg_Window, (menú -&gt; Nuevo -&gt; Argos -&gt; Arg_Window) this window will serve as a container for all other controls whether basic or argos components.
+Add a new type Arg_Window window, this has all the basic features of a window, but also properties are added that allow the connection to the data acquisition services, the Arg_Window is selected through the Control palette or argos menu -&gt; New -&gt; Argos -&gt; Arg_Window, (menú -&gt; Nuevo -&gt; Argos -&gt; Arg_Window) this window will serve as a container for all other controls whether basic or argos components.
 
-    Resize the window to size and access the properties by double clicking on the Arg_Window, the properties window shows all the attributes of the object can be modified.
+Resize the window to size and access the properties by double clicking on the Arg_Window, the properties window shows all the attributes of the object can be modified.
 
-    In the animation tab of properties window (fields tags and alarms) must indicate the name of the database of real-time tag and alarms that have previously been defined in the data acquisition services, with which the Arg_Window establish the necessary references.
+In the animation tab of properties window (fields tags and alarms) must indicate the name of the database of real-time tag and alarms that have previously been defined in the data acquisition services, with which the Arg_Window establish the necessary references.
 
-    To place a background image that needs to be animated, you can use a Box-type component in the menu -&gt; New -&gt; Other -&gt; Box, (menú -&gt; Nuevo -&gt; Otros -&gt; Box) then click the Properties -&gt; visual (propiedades -&gt; visual) image in the field is written the directory and file name to be loaded
+To place a background image that needs to be animated, you can use a Box-type component in the menu -&gt; New -&gt; Other -&gt; Box, (menú -&gt; Nuevo -&gt; Otros -&gt; Box) then click the Properties -&gt; visual (propiedades -&gt; visual) image in the field is written the directory and file name to be loaded
 
 Arg_Window
 
-    Add a Arg_Label to display the value of a process variable
+Add a Arg_Label to display the value of a process variable
 
-    Select from the menu -&gt; New -&gt; Argos -&gt; Arg_Label (menú -&gt; Nuevo -&gt; Argos -&gt; Arg_Label)
+Select from the menu -&gt; New -&gt; Argos -&gt; Arg_Label (menú -&gt; Nuevo -&gt; Argos -&gt; Arg_Label)
 
-    Open the properties window of the component and choose Animation tab update frequency Arg_Label (Slow, Normal, Fast)
+Open the properties window of the component and choose 
+Animation tab update frequency Arg_Label (Slow, Normal, Fast)
 
-    Assign the expression to evaluate the component to generate the value to be deployed for example: $ganch_aux_Freno_Mecanico_Elev + 15,, where the $ symbol indicates that it refers to a tag system, which must be registered in the acquisition system.
+Assign the expression to evaluate the component to generate the value to be deployed for example: $ganch_aux_Freno_Mecanico_Elev + 15,, where the $ symbol indicates that it refers to a tag system, which must be registered in the acquisition system.
 
-    After adding all the components necessary to complete the HMI, you must tell Interfargos that generates the source code of the application, and then to compile it.
+After adding all the components necessary to complete the HMI, you must tell Interfargos that generates the source code of the application, and then to compile it.
 
-    Select from the menu -&gt; File -&gt; Write Code (menú -&gt; Archivo -&gt; Escribir Código)
+Select from the menu -&gt; File -&gt; Write Code (menú -&gt; Archivo -&gt; Escribir Código)
 
-    Assign a name for the source file, eg miPrimerHMI
+Assign a name for the source file, eg miPrimerHMI
 
-    This will generate two files miPrimerHMI.h miPrimerHMI.cxx and must be compiled with GNU / GCC
+This will generate two files miPrimerHMI.h miPrimerHMI.cxx and must be compiled with GNU / GCC
 
     miPrimerHMI.h
     #ifndef miPrimerHMI_h 
@@ -85,15 +86,15 @@
     return Fl::run(); 
     } 
 
-    To compile the application generated by Interfargos
+To compile the application generated by Interfargos
 
-    #&gt; g++ miPrimerHMI.cxx -I /usr/include/muParser/ -I /usr/include/FL  -Os -Wall -Wunused -Wno-format-y2k  
+ #&gt; g++ miPrimerHMI.cxx -I /usr/include/muParser/ -I /usr/include/FL  -Os -Wall -Wunused -Wno-format-y2k  
 
-       -fexceptions -fno-strict-aliasing -I /usr/local/include/argos -lfltk -lfltk_images -las-interfargos 
-    -las-thtag -las-thalarma -lmuparser -lrt -L /usr/local/lib/ -o miPrimerHMI 
+ -fexceptions -fno-strict-aliasing -I /usr/local/include/argos -lfltk -lfltk_images -las-interfargos 
+ -las-thtag -las-thalarma -lmuparser -lrt -L /usr/local/lib/ -o miPrimerHMI 
 
 Arg_Label
 
-    If compilation is without problems, you can run the HMI
+If compilation is without problems, you can run the HMI
 
     #&gt;. / MiPrimerHMI
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Sat, 26 May 2012 02:58:29 -0000</pubDate><guid>https://sourceforge.netbb21c0bd1ef3ef7dab1ee9c41811e4d0550deb4c</guid></item><item><title>WikiPage Graphical User Interface modified by Steve</title><link>https://sourceforge.net/p/argos-scada-en/wiki/Graphical%2520User%2520Interface/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -1,4 +1,4 @@
-Graphical User Interface
+Graphical User Interface GUI
 Interfargos home window
 
 This section will show how to create an HMI using graphical programming tool "Interfargos" This application is based on FLTK Fluid, and is being rewritten to be used as a programming interface and SCADA configuration for the Argos. The variable components to animate graphics are those that were configured in the previous sections, through XML files.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Sat, 26 May 2012 02:42:02 -0000</pubDate><guid>https://sourceforge.net4f21dbeb54bff356befeca041e46ca7f9e825af6</guid></item><item><title>WikiPage Graphical User Interface modified by Steve</title><link>https://sourceforge.net/p/argos-scada-en/wiki/Graphical%2520User%2520Interface/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -17,82 +17,80 @@
 Creating a Window:
 Function / Method
 
-    Select from the menu -&gt; New -&gt; Code -&gt; Function / Method, a window in which you must remove the text for the application to generate automatically the main function to be executed, if you place the name of a function code primary function will not be generated, thus may be used as a module to link to another application.
+    Select from the menu -&gt; New -&gt; Code -&gt; Function / Method, (menú -&gt; Nuevo -&gt; Código -&gt; Función / Métodoa) window in which you must remove the text for the application to generate automatically the main function to be executed, if you place the name of a function code primary function will not be generated, thus may be used as a module to link to another application.
 
-    Add a new type Arg_Window window, this has all the basic features of a window, but also properties are added that allow the connection to the data acquisition services, the Arg_Window is selected through the Control palette or argos menu -&gt; New -&gt; Argos -&gt; Arg_Window, this window will serve as a container for all other controls whether basic or argos components.
+    Add a new type Arg_Window window, this has all the basic features of a window, but also properties are added that allow the connection to the data acquisition services, the Arg_Window is selected through the Control palette or argos menu -&gt; New -&gt; Argos -&gt; Arg_Window, (menú -&gt; Nuevo -&gt; Argos -&gt; Arg_Window) this window will serve as a container for all other controls whether basic or argos components.
 
     Resize the window to size and access the properties by double clicking on the Arg_Window, the properties window shows all the attributes of the object can be modified.
 
     In the animation tab of properties window (fields tags and alarms) must indicate the name of the database of real-time tag and alarms that have previously been defined in the data acquisition services, with which the Arg_Window establish the necessary references.
 
-    To place a background image that needs to be animated, you can use a Box-type component in the menu -&gt; New -&gt; Other -&gt; Box, then click the Properties -&gt; visual image in the field is written the directory and file name to be loaded
+    To place a background image that needs to be animated, you can use a Box-type component in the menu -&gt; New -&gt; Other -&gt; Box, (menú -&gt; Nuevo -&gt; Otros -&gt; Box) then click the Properties -&gt; visual (propiedades -&gt; visual) image in the field is written the directory and file name to be loaded
 
 Arg_Window
 
     Add a Arg_Label to display the value of a process variable
 
-    Select from the menu -&gt; New -&gt; Argos -&gt; Arg_Label
+    Select from the menu -&gt; New -&gt; Argos -&gt; Arg_Label (menú -&gt; Nuevo -&gt; Argos -&gt; Arg_Label)
 
     Open the properties window of the component and choose Animation tab update frequency Arg_Label (Slow, Normal, Fast)
 
-    Assign the expression to evaluate the component to generate the value to be deployed for example: $ ganch_aux_Freno_Mecanico_Elev + 15, where the $ symbol indicates that it refers to a tag system, which must be registered in the acquisition system.
+    Assign the expression to evaluate the component to generate the value to be deployed for example: $ganch_aux_Freno_Mecanico_Elev + 15,, where the $ symbol indicates that it refers to a tag system, which must be registered in the acquisition system.
 
     After adding all the components necessary to complete the HMI, you must tell Interfargos that generates the source code of the application, and then to compile it.
 
-    Select from the menu -&gt; File -&gt; Write Code
+    Select from the menu -&gt; File -&gt; Write Code (menú -&gt; Archivo -&gt; Escribir Código)
 
     Assign a name for the source file, eg miPrimerHMI
 
     This will generate two files miPrimerHMI.h miPrimerHMI.cxx and must be compiled with GNU / GCC
 
     miPrimerHMI.h
+    #ifndef miPrimerHMI_h 
+    #define miPrimerHMI_h 
+    #include &lt;FL/Fl.H&gt; 
+    #include "Arg_Window.h" 
+    #include &lt;FL/Fl_Double_Window.H&gt; 
+    #include &lt;FL/Fl_Box.H&gt; 
+    #include "Arg_Label.h" 
+    #include "Arg_Image.h" 
+    using namespace infarg; 
+    #endif 
 
-    # Ifndef miPrimerHMI_h
-    # Define miPrimerHMI_h
-    # Include &lt;FL/Fl.H&gt;
-    # Include "Arg_Window.h"
-    # Include &lt;FL/Fl_Double_Window.H&gt;
-    # Include &lt;FL/Fl_Box.H&gt;
-    # Include "Arg_Label.h"
-    # Include "Arg_Image.h"
-    infarg using namespace;
-    # Endif
+    miPrimerHMI.cxx 
 
-    miPrimerHMI.cxx
-
-    # Include "miPrimerHMI.h"
-    # Include &lt;FL/Fl_Image.H&gt;
-    idata_compresor static unsigned char [] = {........ };
-    Fl_RGB_Image static image_compresor (idata_compresor, 800, 600, 3, 0);
-    int main (int argc, char ** argv) {
-    Fl_Double_Window * w;
-    fl_register_images ();
-    Fl_Double_Window {* o = new Arg_Window (810, 605, "scanner / tags", "scanner / alarms");
-    w = o;
-    Fl_Box {* o = new Fl_Box (5, 0, 805, 600);
-    o-&gt; image (image_compresor);
-    } / / Fl_Box * or
-    Arg_Label {* o = new Arg_Label (545, 60, 170, 80, "Temperature");
-    o-&gt; color (FL_FOREGROUND_COLOR);
-    o-&gt; labelsize (20);
-    o-&gt; labelcolor (FL_BACKGROUND2_COLOR);
-    o-&gt; align (FL_ALIGN_TOP_LEFT);
-    ((Arg_Label *) o) -&gt; asignar_expresion ("$ ganch_aux_Freno_Mecanico_Elev + 15");
-    ((Arg_Window *) o-&gt; window ()) -&gt; registrar_timer_lento ((Arg_Label *) (o));
-    } / / Arg_Label * or
-    o-&gt; end ();
-    } / / Fl_Double_Window * or
-    w-&gt; show (argc, argv);
-    return Fl :: run ();
-    }
+    #include "miPrimerHMI.h" 
+    #include &lt;FL/Fl_Image.H&gt; 
+    static unsigned char idata_compresor[] = { ........ }; 
+    static Fl_RGB_Image image_compresor(idata_compresor, 800, 600, 3, 0); 
+    int main(int argc, char **argv) { 
+    Fl_Double_Window* w; 
+    fl_register_images(); 
+    { Fl_Double_Window* o = new Arg_Window(810, 605, "escaner/tags","escaner/alarmas"); 
+    w = o; 
+    { Fl_Box* o = new Fl_Box(5, 0, 805, 600); 
+    o-&gt;image(image_compresor); 
+    } // Fl_Box* o 
+    { Arg_Label* o = new Arg_Label(545, 60, 170, 80, "Temperatura"); 
+    o-&gt;color(FL_FOREGROUND_COLOR); 
+    o-&gt;labelsize(20); 
+    o-&gt;labelcolor(FL_BACKGROUND2_COLOR); 
+    o-&gt;align(FL_ALIGN_TOP_LEFT); 
+    ((Arg_Label *)o)-&gt;asignar_expresion("$ganch_aux_Freno_Mecanico_Elev + 15"); 
+    ((Arg_Window *)o-&gt;window())-&gt;registrar_timer_lento( (Arg_Label *)(o) ); 
+    } // Arg_Label* o 
+    o-&gt;end(); 
+    } // Fl_Double_Window* o 
+    w-&gt;show(argc, argv); 
+    return Fl::run(); 
+    } 
 
     To compile the application generated by Interfargos
 
-    #&gt; G + + miPrimerHMI.cxx-I / usr / include / muParser /-I / usr / include / FL-Os-Wall-Wunused-format-y2k-wno
+    #&gt; g++ miPrimerHMI.cxx -I /usr/include/muParser/ -I /usr/include/FL  -Os -Wall -Wunused -Wno-format-y2k  
 
-    -Fexceptions-fno-strict-aliasing-I / usr / local / include / argos-lfltk-lfltk_images-the-interfargos
-    -The-thtag-the-thalarma-lmuparser-lrt-L / usr / local / lib /-o miPrimerHMI
-
+       -fexceptions -fno-strict-aliasing -I /usr/local/include/argos -lfltk -lfltk_images -las-interfargos 
+    -las-thtag -las-thalarma -lmuparser -lrt -L /usr/local/lib/ -o miPrimerHMI 
 
 Arg_Label
 
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Sat, 26 May 2012 02:40:22 -0000</pubDate><guid>https://sourceforge.netc4b2acb6ba623aada49407d18c278a18733ed2ec</guid></item><item><title>WikiPage Graphical User Interface modified by Steve</title><link>https://sourceforge.net/p/argos-scada-en/wiki/Graphical%2520User%2520Interface/</link><description>Graphical User Interface
Interfargos home window

This section will show how to create an HMI using graphical programming tool "Interfargos" This application is based on FLTK Fluid, and is being rewritten to be used as a programming interface and SCADA configuration for the Argos. The variable components to animate graphics are those that were configured in the previous sections, through XML files.

    Start the application Interfargos

    #&gt; Interfargos

The image shows that the tool has:

    Menu options.
    Palettes controls or components, one with basic elements and the other controls which can represent argos information from acquisition systems.
    Edit window, which displays the source code generated by the application and which will then be compiled to show the HMI runtime.


Creating a Window:
Function / Method

    Select from the menu -&gt; New -&gt; Code -&gt; Function / Method, a window in which you must remove the text for the application to generate automatically the main function to be executed, if you place the name of a function code primary function will not be generated, thus may be used as a module to link to another application.

    Add a new type Arg_Window window, this has all the basic features of a window, but also properties are added that allow the connection to the data acquisition services, the Arg_Window is selected through the Control palette or argos menu -&gt; New -&gt; Argos -&gt; Arg_Window, this window will serve as a container for all other controls whether basic or argos components.

    Resize the window to size and access the properties by double clicking on the Arg_Window, the properties window shows all the attributes of the object can be modified.

    In the animation tab of properties window (fields tags and alarms) must indicate the name of the database of real-time tag and alarms that have previously been defined in the data acquisition services, with which the Arg_Window establish the necessary references.

    To place a background image that needs to be animated, you can use a Box-type component in the menu -&gt; New -&gt; Other -&gt; Box, then click the Properties -&gt; visual image in the field is written the directory and file name to be loaded

Arg_Window

    Add a Arg_Label to display the value of a process variable

    Select from the menu -&gt; New -&gt; Argos -&gt; Arg_Label

    Open the properties window of the component and choose Animation tab update frequency Arg_Label (Slow, Normal, Fast)

    Assign the expression to evaluate the component to generate the value to be deployed for example: $ ganch_aux_Freno_Mecanico_Elev + 15, where the $ symbol indicates that it refers to a tag system, which must be registered in the acquisition system.

    After adding all the components necessary to complete the HMI, you must tell Interfargos that generates the source code of the application, and then to compile it.

    Select from the menu -&gt; File -&gt; Write Code

    Assign a name for the source file, eg miPrimerHMI

    This will generate two files miPrimerHMI.h miPrimerHMI.cxx and must be compiled with GNU / GCC

    miPrimerHMI.h

    # Ifndef miPrimerHMI_h
    # Define miPrimerHMI_h
    # Include &lt;FL/Fl.H&gt;
    # Include "Arg_Window.h"
    # Include &lt;FL/Fl_Double_Window.H&gt;
    # Include &lt;FL/Fl_Box.H&gt;
    # Include "Arg_Label.h"
    # Include "Arg_Image.h"
    infarg using namespace;
    # Endif

    miPrimerHMI.cxx

    # Include "miPrimerHMI.h"
    # Include &lt;FL/Fl_Image.H&gt;
    idata_compresor static unsigned char [] = {........ };
    Fl_RGB_Image static image_compresor (idata_compresor, 800, 600, 3, 0);
    int main (int argc, char ** argv) {
    Fl_Double_Window * w;
    fl_register_images ();
    Fl_Double_Window {* o = new Arg_Window (810, 605, "scanner / tags", "scanner / alarms");
    w = o;
    Fl_Box {* o = new Fl_Box (5, 0, 805, 600);
    o-&gt; image (image_compresor);
    } / / Fl_Box * or
    Arg_Label {* o = new Arg_Label (545, 60, 170, 80, "Temperature");
    o-&gt; color (FL_FOREGROUND_COLOR);
    o-&gt; labelsize (20);
    o-&gt; labelcolor (FL_BACKGROUND2_COLOR);
    o-&gt; align (FL_ALIGN_TOP_LEFT);
    ((Arg_Label *) o) -&gt; asignar_expresion ("$ ganch_aux_Freno_Mecanico_Elev + 15");
    ((Arg_Window *) o-&gt; window ()) -&gt; registrar_timer_lento ((Arg_Label *) (o));
    } / / Arg_Label * or
    o-&gt; end ();
    } / / Fl_Double_Window * or
    w-&gt; show (argc, argv);
    return Fl :: run ();
    }

    To compile the application generated by Interfargos

    #&gt; G + + miPrimerHMI.cxx-I / usr / include / muParser /-I / usr / include / FL-Os-Wall-Wunused-format-y2k-wno

    -Fexceptions-fno-strict-aliasing-I / usr / local / include / argos-lfltk-lfltk_images-the-interfargos
    -The-thtag-the-thalarma-lmuparser-lrt-L / usr / local / lib /-o miPrimerHMI


Arg_Label

    If compilation is without problems, you can run the HMI

    #&gt;. / MiPrimerHMI</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steve</dc:creator><pubDate>Sat, 26 May 2012 02:28:27 -0000</pubDate><guid>https://sourceforge.net0f4a10222984b3e35abbdc8b011b0d6e404e48d4</guid></item></channel></rss>