Inserting a parameter as a Variable object allows access to additional information beyond just the value. You can get the parameter name, mode, data type, unit, and limits. Members of aggregate parameters (a collection of parameters of different types that can contain scalars, arrays, and other aggregate parameters) can be accessed in this way: abc = AggParm.getMember("abc"); You must never assign a value or another parameter with a script type of Variable. Instead, you should change the value as follows: outParam.getValueObj().setValue(42); // Correct outParam = 42; // *** WRONG *** |