416

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
  • Multi-value data types are arrays
  • lastval = value_changed[0];  // get last event
    
    value_changed[0] = newval;   // send new event