question

87922048 avatar image
0 Votes"
87922048 asked 87922048 edited

Unable to get the value of the variable updated by APO real-time processing

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.


windows-hardwarewindows-hardware-wdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

0 Answers