SiGGy
2007-01-25 15:10:13 UTC
Hello!I'm having trouble sharing DIO ports when running 2 or more copies of the same app.
Every once in a while I run into a collision where two apps I've written try to either read/write to the same port simultaneously . I end up getting the -200587 error.
I will have many instances where multiple copies of my app will be running each has random access to any of the 12 ports on our DIO board. The reads and writes are for only one sample at a time. Is there any type of locking/retry mechanism built into the libs? Or any other ideas?thanks!
-David
Message Edited by SiGGy on 01-25-2007 08:57 AMMessage Edited by SiGGy on 01-25-2007 09:03 AM
Every once in a while I run into a collision where two apps I've written try to either read/write to the same port simultaneously . I end up getting the -200587 error.
I will have many instances where multiple copies of my app will be running each has random access to any of the 12 ports on our DIO board. The reads and writes are for only one sample at a time. Is there any type of locking/retry mechanism built into the libs? Or any other ideas?thanks!
-David
Message Edited by SiGGy on 01-25-2007 08:57 AMMessage Edited by SiGGy on 01-25-2007 09:03 AM