Hello,
Thanks to this forum, I've managed to make great progress in using a 3rd party [motion control] library. However, there's one thing I can't figure out, and it has to do with setting up a worker thread to periodically poll for positional data. I've done this before, but never in COM, so here's some information that may help you guide me in the right direction.
First, I've set up 'motor' objects in my main thread, and this is how I've been talking to each axis [with great success]. Now, to use a worker thread, it seems to me that I have to make it aware of these objects, but I don't know how. So, how does one pass an object to a thread?
-CMR
Thanks to this forum, I've managed to make great progress in using a 3rd party [motion control] library. However, there's one thing I can't figure out, and it has to do with setting up a worker thread to periodically poll for positional data. I've done this before, but never in COM, so here's some information that may help you guide me in the right direction.
First, I've set up 'motor' objects in my main thread, and this is how I've been talking to each axis [with great success]. Now, to use a worker thread, it seems to me that I have to make it aware of these objects, but I don't know how. So, how does one pass an object to a thread?
-CMR
Comment