Table of contents
Chapter index
Previous slide
Next slide
412
Accessing eventOuts from JavaScript
Writing program scripts with JavaScript
Accessing eventOuts from JavaScript
Each interface eventOut is a JavaScript variable
Read a variable to access the last eventOut value
Write a variable to send an event on the eventOut
lastval = value_changed[0]; // get last event value_changed[0] = newval; // send new event