Engineer Paul Dale has been preparing some example mp4 files to - TopicsExpress



          

Engineer Paul Dale has been preparing some example mp4 files to demonstrate snippets of code. This Lua snippet demonstrates the new right align function on the main section of the display. The line of Lua script to do this: device.write(topLeft, ALIGN THIS TO THE RIGHT, align=right) Lua 1.0.7 Enhancements: 1. Added a print formatting function that allows for field substitution with field sizes and alignments (formatPrintString). 2. Calls to get units and count by settings for a display mode. 3. Additional CSV functions: 4. Changed CSV functions - logLineCSV now supports size based log rotation to prevent filling the device with large logs. 5. The delay call is now part of the application not a device. 6. Added a delayUntil call that waits until its argument function returns true. 7. New interfaces to write to display fields and units. • The field name is the first argument to the function rather than being part of the function name. • Additional display options are now available: 8.More streaming registers on all platforms. 9. An all annunciator that means all of them. Makes clearing everything easier - device.clearAnnunciators(all) 10. Time annunciators on the bottom are individually controllable. 12. Added the concept of idle events (via addIdleEvent) which are deferred events that will be run when the main loop does. This allows events to be scheduled in a manner that prevents them interfering with dialogs etc.
Posted on: Fri, 19 Sep 2014 07:38:26 +0000

Trending Topics



Recently Viewed Topics




© 2015