Hi everyone
I'm trying to dinamically read XML files during a simulation. Those files are created by an external program and are refreshed dinamically (during simulation).
I inserted the following line of code within the .ned definition of a module and I'm able to parse the file correctly.
volatile xml input = default(xmldoc("file.xml"));
The problem is that the file is loaded into memory just ones (at the first access), regardless of the volatile keyword.
Every following access sees the same file, even if it has been changed.
NOTE: I already tried updating the value of the param from the C++ code in various way, but with no result.
Thanks in advance for any help or suggestion