HotLoop core 4.23.5 release notes
Built for amd64 only.
The UniFi screen asks HotLoop again on a four second beat, and a beat that fired while the question somebody had pressed was still on its way took the answer’s place, so the view stayed on its skeleton for the beat’s whole question as well, and another beat could do it again. The beat now waits for the question that is out. A browser test holds every UniFi answer for three seconds and counts the questions that go out for one press: two before the fix, one after, two again with the fix taken out.
What changed
Section titled “What changed”- The UniFi screen’s refresh waits for the view that is loading. A view that takes longer than the four second beat to answer is asked once, not once per beat.
From 4.23.4, carried here:
The screen import goes from CODESYS to TwinCAT. A .TcVIS file, and the exports of cds-text-sync and codescribe, come over as a HotLoop screen with their buttons, frames and lamps, and what could not come over is listed with its text before anything is saved. Built for amd64 only; the multi-arch build follows as the next version.
- TwinCAT screens import. A TwinCAT
.TcVISfile is the same visualization in the IDE’s archive XML, so it goes through the CODESYS converter. Checked against the real TwinCAT PackML example (three screens, MIT, license kept beside them): 60 elements mapped, none unmapped. See CODESYS screen import. - Buttons. Every plain assignment in a button’s input action (
X := 5,X := TRUE, an enumeration member) becomes a button card that writes that value, with the caption as a label. A configured Toggle input becomes an on and an off button. Code that is more than an assignment (a condition, a call, arithmetic) is reported with its text. The OMAC PackML enumerations are known; any other goes in the import’senums, and a member with no known number is written by name and said so. - Lamps and hiding by an expression. A lamp’s variable or an invisible variable can be a comparison of one tag with a number, TRUE, FALSE or an enumeration member, joined with NOT, AND and OR and brackets. A comparison of two tags, arithmetic and calls cannot be carried and are reported.
- Frames. A frame shows another visualization. Send the project’s other files with the first (
codesysRelated; in the dialog, pick several files and the first is the screen) and the frame’s visualization is placed in the frame with each input bound to the variable the frame was given. - Symbol rules combine. A
showorcolorsrule can be{"all": [...]}or{"any": [...]}, a PLC’s AND and OR, three deep and eight parts, and a lost tag makes anallnot hold while ananyholds through the others. A lamp can carry alitrule in place of its tag. See Dashboards. - Tests. The energy meter test bounds what the meters counted by the time that really passed, not a fixed ten seconds.
Migrations
Section titled “Migrations”None.
API changes
Section titled “API changes”POST /api/dashboards/import takes codesysRelated and enums beside codesys. No route changed. See the HTTP API.
Upgrading from 4.23.3
Section titled “Upgrading from 4.23.3”A plain helm upgrade. No migration and no new secret. 4.23.4 was never published.
What is not proven
Section titled “What is not proven”- The importers were proven against the TwinCAT PackML example and the cds-text-sync and codescribe sample exports, not against a customer’s own project. A project that uses more of the visualization language will list more it could not place.
- Expressions are comparisons of one tag with a constant joined by NOT, AND and OR. Anything else is reported, not guessed.