I have a program that continously writes to a PCI-6711 card for analog output. Well, i periodically poll the card to know when there is enough buffer space to write more data. Unfortunately, this seems to take more cpu than i would like, therefore, i have looked into making an activeX object to run in it's own process space to do the polling for me and raise an event when it is time to write more data. Unfortunately, when i pass the task number to the ActiveX object all i ever get is the DAQmx error 200088, which i believe says that it is an invalid task. Is it possible to share a task between two different programs? I have heard that you can configure a task with Measurement studio and then call LoadTask or something like that, but i was hoping to do this all via code.
Regards,
Gerry