I want to read value in RAM with given address and length of data. I have read several RTE API's and I think there is no API provide my needs. I hope there is API like Rte_Ram_read(address,length)
or something else. I found API for access PerInstanceMemory
or InterRunnableVariable
, but they didn't work like what I want.
My question, Is there any API like what I want? or I have to create that by myself? or is there any advice for me?
The question is why do you want to do that?
The idea of a software component is that it is independent of the hardware and self-contained. To communicate with other components you should use ports. To communicate with runnables you should use InterRunnableVariable
or PerInstanceMemory
.
What's the use case behind reading something from RAM? Where does the data come from?