N
noemailplease
I would like to write a (small) app in C++ that streams a "signal value"
(-1, 0 , +1) to a specific memory address where this value can be read
by a second application (over which I have very little control, other
than (possibly) specifying the memory address of the signal values).
This all seems a bit long-winded in my mind, and raises several questions:
Is it possible to specify (hard-code?) an address in which store a value?
How does one check that address is free beforehand?
Is there some sort of semaphore to stop read/write collisions between
different applications?
Is there a better way to do this?
I appreciate the time taken to read this and consider the possibilities.
TIA
(-1, 0 , +1) to a specific memory address where this value can be read
by a second application (over which I have very little control, other
than (possibly) specifying the memory address of the signal values).
This all seems a bit long-winded in my mind, and raises several questions:
Is it possible to specify (hard-code?) an address in which store a value?
How does one check that address is free beforehand?
Is there some sort of semaphore to stop read/write collisions between
different applications?
Is there a better way to do this?
I appreciate the time taken to read this and consider the possibilities.
TIA