Hi.
On the following page I asked that APO can use shared memory.
https://docs.microsoft.com/en-us/answers/questions/315852/can-apo-use-shared-memory.html
I understand that APO and COM clients can share memory.
So, I tried using the method using #pragma data_seg and the method using the CreateFileMapping function.
I wrote the code to update the shared variable with the APOProcess function.
I was able to get the initial value of the shared variable, but I couldn't get the updated value in the APO real-time process.
[Question]
- Can the COM client get the value of the shared variable updated in the APO real-time process?
- Is there a way to get the values of shared variables in real time while processing the signal?
(A method other than APO is also OK)
Best regards.