home › Forums › # Technical Support › JAVA API › Reply To: JAVA API
June 16, 2014 at 19:21 #1108
Juan Rada-Vilela (admin)
thank you for your post.
You need to process the engine before finding out the output value.
engine.setInputValue("Ambient", 0.1); engine.process(); System.out.println(engine.getOutputValue(“Power”));
You also need an accumulation method when setting the OutputVariable (yours is set to null):
Let me know if it works.
- This reply was modified 8 years, 9 months ago by Juan Rada-Vilela (admin).