Javascript » History » Revision 4
Revision 3 (Torbjorn Carlqvist Admin, 09/01/2021 02:14 PM) → Revision 4/28 (Torbjorn Carlqvist Admin, 09/01/2021 02:15 PM)
h1. Javascript guide for DTXr code IDE h2. print - Prints a message to footer log window as well as the automation.log file file. <pre><code class="javascript">print("hello");</code></pre> h2. readProperty - Reads an object property value <pre><code class="javascript"> //Reads Example below reads a present value from analog input object 0. <pre><code class="javascript">Controller.readProperty(85343,analogInput,0,presentValue);</code></pre> Controller.readProperty(85343,analogInput,0,presentValue); </code></pre>