Russell,
Thanks for the reply. I also contacted NI-DAQ support by phone. I was writing an application, not a driver, my mistake.
It turned out that the DAQ card was conflicting with some of the other cards we had installed. However, the NI-DAQ test software worked fine, but when we ran our application, that's where the trouble started.
When we put the 6025E in its own computer, the problem disappeared. Several of our cards were conflicting with the 6025E, and we had re-arranged some of them, but not all of them. I don't know why the 6025E would behave that way, some possibilites might be bus loading, processor speed, etc.
But, it works now, and that's what counts.
Thanks for the reply.