06-12-2007 04:05 PM
06-14-2007 04:52 AM
06-14-2007 05:44 AM
06-28-2007 09:23 AM
06-30-2007 09:35 AM
Michelle,
I am using the same software, but my hardware is three USB devices, 6210 and 2, 6501
I am seeing a similar problem, almost seems random, but mostly occurs after running my application for an hour or more.
One of the messages I get includes the phrase "closed by host".. The effect is apparentl loss of communication with the devices.
It occurs the same on an hp dual core tower cpu and a Gateway dual core laptop.
Just thought I would let you know you have company with this problem. 🙂
Fred
06-30-2007 09:51 AM
OOPs:
I got the previous error message wrong. The message is "transfer aborted by client"... And that is with one core only via Task Manager in XP.
Fred
07-02-2007 02:27 AM
07-02-2007 06:37 AM
Hello Michele,
If the affinity is set properly, then it sounds like a software timing issue. Are you using a producer/consumer design pattern? If so, what is your communication method (queues, notifiers, shared variables, etc.)? It's also important to verify if your while loops are using appropriate timing delays. What happens if you run the attached VI? Do both CPUs increase in usage or just one?
Regards,
07-03-2007 06:30 AM
Michelle,
I have the simple error handler on DAQmx Read Data command set in the vi for each device , does not seem to matter whether it is the binary or analog device that is first in line for execution... Almost always stops on the first one. In my case, if I remove a hub serving the two binary carrds, the problem occurs much less often... several days, on my last test... So seems tto be a timing problem with USB I/O.. 50 msec delays in front of the read vis seems to help also. I am a novice programmer, so I am probably doing something wrong.Why dual core machines make it worse, I don't know. I suspect an occasional pause in their execution for some reason.
Fred
07-03-2007 06:53 AM