Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

Can two programs share a task?

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
0 Kudos
Message 1 of 2
(6,592 Views)

Hello Gerry,

This is a duplicate post, please use the following thread for further discussion. Thank you!

http://forums.ni.com/ni/board/message?board.id=250&message.id=37351&jump=true

Regards,

Chris Behnke
Sr. RF Engineer
High Frequency Measurements
0 Kudos
Message 2 of 2
(6,570 Views)