2020-01-14 |
Edouard Tisserant |
plc_debug.c/var_acces.c : whitespace cleanup and other cosmetic changes
svghmi
|
changeset |
files
|
2020-01-13 |
Edouard Tisserant |
SVGHMI : Added python fomating {port} and {name} to commands so that command can build target URL
svghmi
|
changeset |
files
|
2020-01-10 |
Edouard Tisserant |
SVGHMI : add on Start, Stop and Watchdog command fields to configuration
svghmi
|
changeset |
files
|
2020-01-10 |
Edouard Tisserant |
SVGHMI: added a watchdog. To ensure that the whole chain is checked, watchdog use a periodic echo of a hearteat variable. JS client code systematically register /HEARTBEAT at 1s update freq, and reacts on updates of /HEARTBEAT by systematically incrementing it. C code catch /HEARTBEAT update and feeds python-implemented watchdog. For now, watchdog does nothing when tiggered
svghmi
|
changeset |
files
|
2019-12-18 |
Edouard Tisserant |
Add --on-plc-start --on-plc-stop and --status-change to runtime command line, calling given command respectively on start stop or any event. Command line string is python formated (to eventually include status with {}) before being split (supports quoted strings) and passed to Popen for non-blocking execution.
svghmi
|
changeset |
files
|
2019-12-09 |
Edouard Tisserant |
SVGHMI : had to move the problem of wkaing up python thread from plc thread to platform specific code.
svghmi
|
changeset |
files
|
2019-12-09 |
Edouard Tisserant |
SVGHMI: change collect/send thread looping condition to fix infinite loop in some cases
svghmi
|
changeset |
files
|
2019-12-03 |
Edouard Tisserant |
SVGHMI: re-implemented tree view with classic wxTreeCtl
svghmi
|
changeset |
files
|
2019-12-03 |
Edouard Tisserant |
Non significant changes, whitespaces, etc.
svghmi
|
changeset |
files
|
2019-11-15 |
Edouard Tisserant |
SVGHMI: Added simple HMI Tree View.
svghmi
|
changeset |
files
|
2019-11-14 |
Edouard Tisserant |
SVGHMI: add a class attribute to HMI Tree nodes, set when using HMI_NODE
svghmi
|
changeset |
files
|
2019-11-13 |
Edouard Tisserant |
SVGHMI: HMI_LABEL and HMI_CLASS become HMI_NODE.
svghmi
|
changeset |
files
|
2019-11-13 |
Edouard Tisserant |
Add FatalError() method to ConfigTreeNode.
svghmi
|
changeset |
files
|
2019-11-07 |
Edouard Tisserant |
SVGHMI: various fixes to make SVGHMI behave on more versions of twisted and GCC.
svghmi
|
changeset |
files
|
2019-10-30 |
Edouard Tisserant |
SVGHMI - prepare page with cached data when switching. This prevents values that do not change and that was already subscribed in previous page from keeping undefined.
svghmi
|
changeset |
files
|
2019-10-29 |
Edouard Tisserant |
SVGHMI: various insignificant code moves, commenting and typos fixes.
svghmi
|
changeset |
files
|
2019-10-29 |
Edouard Tisserant |
SVGHMI : fancier second page in tests/svghmi
svghmi
|
changeset |
files
|
2019-10-28 |
Edouard Tisserant |
SVGHMI: SVG viewport now defined so that HMI take scales and fit to the view. Implemented page switch through viewport change, no hiding of widget for now.
svghmi
|
changeset |
files
|
2019-10-28 |
Edouard Tisserant |
SVGHMI - added simple Meter widget.
svghmi
|
changeset |
files
|
2019-10-27 |
Edouard Tisserant |
SVGHMI: Quicker update path for input widget when pressing on buttons, do not wait until data comes back, and simply update value text of the pressed widget. Updated PLC prog for more amimated value to display
svghmi
|
changeset |
files
|
2019-10-27 |
Edouard Tisserant |
SVGHMI: fixed HMI->PLC dataflow : not updates as expected, and not initialized properly after subscribe.
svghmi
|
changeset |
files
|
2019-10-24 |
Edouard Tisserant |
Fixed one more sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.'
svghmi
|
changeset |
files
|
2019-10-24 |
Edouard Tisserant |
SVGHMI: Added relative changes of HMI value from widgets.
svghmi
|
changeset |
files
|
2019-10-22 |
Edouard Tisserant |
SVGHMI - Fixed svghmi.{c,js} about HMI -> PLC data unpack.
svghmi
|
changeset |
files
|
2019-10-22 |
Edouard Tisserant |
SVGHMI: Added init call to all widgets at startup to bind events. More features in Input widget : Edit and Change buttons. WIP HMI->PLC value update, incoherent data detected in C part on update.
svghmi
|
changeset |
files
|
2019-10-18 |
Edouard Tisserant |
SVGHMI: dispatching data to minimalist "Display" text widget.
svghmi
|
changeset |
files
|
2019-10-17 |
Edouard Tisserant |
SVGHMI: Many fixes. Subscriptions to HMItree seems to be working, and dispatch function is called in JS with good data. Bidirectional communication now really working.
svghmi
|
changeset |
files
|
2019-10-15 |
Edouard Tisserant |
SVGHMI : many details about communication implemented in JS, with side effects.
svghmi
|
changeset |
files
|
2019-10-11 |
Edouard Tisserant |
SVGHMI: added a widgets description object, accessed by id. Added frequency to widgets, as separate template to allow future customization. Excluded non svg elements (i.e inkscape Sets) with HMI: labels from widgets.
svghmi
|
changeset |
files
|
2019-10-10 |
Edouard Tisserant |
SVGHMI fix logic for page membership detection
svghmi
|
changeset |
files
|
2019-10-10 |
Edouard Tisserant |
SVGHMI compute default page
svghmi
|
changeset |
files
|
2019-10-09 |
Edouard Tisserant |
SVGHMI: deduce pages content out of geometry (elements contained in page bounding box are in)
svghmi
|
changeset |
files
|
2019-10-09 |
Edouard Tisserant |
SVGHMI: use func:function for parsing labels so that it can be used in predicates
svghmi
|
changeset |
files
|
2019-10-08 |
Edouard Tisserant |
SVGHMI: moved/fixed some templates, avoided namespace problems, added parsing of HMI:* inkscape labels
svghmi
|
changeset |
files
|
2019-10-07 |
Edouard Tisserant |
SVGHMI: now generating JS object describing widgets and pointing to SVG elements
svghmi
|
changeset |
files
|
2019-10-05 |
Edouard Tisserant |
SVGHI: compute hmitree variables ordered index in xslt
svghmi
|
changeset |
files
|
2019-10-02 |
Edouard Tisserant |
SVGHMI: now built.
svghmi
|
changeset |
files
|
2019-09-30 |
Edouard Tisserant |
SVGHMI: Work in progress. C side mostly implemented, neither built nor tested.
svghmi
|
changeset |
files
|
2019-09-27 |
Edouard Tisserant |
SVGHMI: More strict formating of active HMI labels : @ separator only used for paths
svghmi
|
changeset |
files
|
2019-09-26 |
Edouard Tisserant |
SVGHMI: new test svg to drive next implementation
svghmi
|
changeset |
files
|
2019-09-25 |
Edouard Tisserant |
Non significant changes in generated xslt, side effect of changes in yslt_noindent.yml2
svghmi
|
changeset |
files
|
2019-09-24 |
Edouard Tisserant |
Merge default in SVGHMI branch
svghmi
|
changeset |
files
|
2019-09-20 |
Edouard Tisserant |
SVGHMI: Starting to define JS side more in details.
svghmi
|
changeset |
files
|
2019-09-19 |
Edouard Tisserant |
SVGHMI: added transformation of code given in inkscape's description fields into javascript functions
svghmi
|
changeset |
files
|
2019-09-19 |
Edouard Tisserant |
SVGHMI: gui.svg -> svghmi.svg
svghmi
|
changeset |
files
|
2019-09-19 |
Edouard Tisserant |
SVGHMI: moved static JS code to a separate file included at xhtml generation time
svghmi
|
changeset |
files
|
2019-09-18 |
Edouard Tisserant |
SVGHMI: Work In Progress : fixed pointer types in ctypes interface, cleaned up server startup and cleanup code, changed document type to XHTML, cleaner JS script : encapsulated in a function and in CDATA.
svghmi
|
changeset |
files
|
2019-09-18 |
Edouard Tisserant |
PLCobject: Call "stop" and "cleanup" methods from python runtime files in reverse order compared to "init" and "start".
svghmi
|
changeset |
files
|
2019-09-16 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange : message from browser hit the C side.
svghmi
|
changeset |
files
|
2019-09-16 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange
svghmi
|
changeset |
files
|
2019-09-16 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange
svghmi
|
changeset |
files
|
2019-09-12 |
Edouard Tisserant |
SVGHMI: WIP for python<->C data exchange
svghmi
|
changeset |
files
|
2019-09-12 |
Edouard Tisserant |
SVGHMI: single session for now
svghmi
|
changeset |
files
|
2019-09-12 |
Edouard Tisserant |
SVGHMI: few fixes on serving
svghmi
|
changeset |
files
|
2019-09-11 |
Edouard Tisserant |
WIP on svghmi, now builds and runs. HTTP serving + WS transport ready, missing actual data to transmit and thread to collect it.
svghmi
|
changeset |
files
|
2019-09-11 |
Edouard Tisserant |
Non significant changes to mute GCC warnings about unused variables.
svghmi
|
changeset |
files
|
2019-09-05 |
Edouard Tisserant |
Fixed sequel of 5f79b194fa63 'SVGHMI: filter out temporary variables created while generating ST code out of FBD.'. Some ref to temporary variables are still not using the _TMP_ prefix. They are quite hard to find, so to be continued...
svghmi
|
changeset |
files
|
2019-09-03 |
Edouard Tisserant |
SVGHMI: Intermediate state while working on svghmi.c
svghmi
|
changeset |
files
|
2019-08-26 |
Edouard Tisserant |
svghmi.c : deduplicated variable access code borrowed from plc_debug.c. Added targets/var_access.c.
svghmi
|
changeset |
files
|
2019-08-23 |
Edouard Tisserant |
SVGHMI: Added iterators in svghmi.c copy-pasted form plc_debug.c
svghmi
|
changeset |
files
|