11-01-2007 10:38 AM
11-01-2007 10:49 AM
11-01-2007 10:54 AM
You could use Semaphores to protect the Card from multiple callers. See what is a semaphore.
http://digital.ni.com/public.nsf/allkb/A1BA7477550DBFDE862565BC006CD410
11-01-2007 01:11 PM
11-01-2007 01:18 PM
It turns out that this wasn't my problem at all. I had placed too short of a "wait" in my DAQ section (it was not allowing my DAQ loop to complete every time), that was causing the grayed out condidtion. As for the relay conflict. I had structured it properly, like you suggested already. The only time I was getting the conflict was when I was "manually" throwing the relay. My program had already accounted for the possibility of multiple access. The commands are in an arrray, so they were going to be handled sequentially anyway. This was just a case of me jumping the gun and blaming my architecture rather than keeping it simple when diagnosing.
Thanks for your help!! Have a great day!!
Chris