I am trying to design a program in Eve Screen Designer 4.5 to act as the HMI for a larger machine. In have the basic GUI laid out to where I can navigate screens and the like. The issue I'm running into now is performing actions in the background based on user input.
I guess the main question I have is how the functions interact with the rest of the system "flow." If they don't have a call, do they just run continuously on the page, or only when the page is first activated? Can variables persist across several pages, or are they "destroyed" when you leave the page they were created in?
I've looked at some of the example programs, but I'm not exactly following what's going on in them.
There are 3 major things I'd like the HMI to do when commanded:
1. Keep track of what language was selected by the user and display the corresponding text on each page (i.e. HOME in English and ZUHAUSE in German). Preferably based on which button was pressed on the User Settings page.
2. Display text based on the contents of a text file. Essentially, each time the user presses a left or right arrow, display the correct string of text in a label on the screen. (I have a fairly good understanding of how to implement this, but again, would like it to persist across several pages)
3. Send/Receive data over SPI and perform a couple of functions (namely sending the new program info to the other controller and displaying any error messages received from it).
One other minor question is implementing a keyboard on the screen. I saw an example program for the FT900 toolchain that creates a keyboard. Can this be used in ESD? For example, if I put it in the same folder and #include it in the function file, can it be called and displayed in the program?
For reference, we are using the ME812A WH50R screen and the MM900EV-LITE board in this setup.