I’m facing difficulties in the implementation of the device.
My environment
OpenEMS setup on Windows.
OpenEMS edge running with a Scheduler, Debug Log,Simulator DataSource: CSV Predefined,Simulator GridMeter Acting, Controller Balancing Symmetric, and Controller Api Websocket.
I run the ModbusSlaveSimulator at 8502, add the Bridge Modbus/TCP and my new meter and get the following error:
StackOverflowError: null would mean something is getting into an infinite loop while setting up the meter.
This output persists even if I remove the previous componenets.
How do I interpret this error and debug the issue? I know java debugging but I’d appreciate advice on what points i should be looking for.
Thank you for the response.
The code is the one used in the Implement a device page. I have made no changes.
I checked the output of the activate function in my device I’ve already posted the message. I have no idea where this recursion is happening or how/where to debug . How can I be sure the FC3ReadHoldingRegisters task is being completed successfully?
Hi hydroid7,
I will do as suggested. Thanks for the sample device suggestion.
I did find that one of the channels in the Scheduler All Alphabetically is being declared incomplete and may be the cause of the recursive error.
My code is the same from the Implement Device page and I have the following channels added: