I am trying to run 2 applications which access different cards at the same time. One is doing a continuous analog input, the other is doing a finite
analog acquisition. In that scenario, I am getting messages that either say "Acquisition already in progress" or "Unable to access Nidaq, load the
driver".
I tried making a simple program that did constant reads and running them against separate cards at the same time. That worked without error, but when I shut them down and went back to the original app., it gives me "transfer is already in progress for the specified resource, or the operation is not allowed because the device is in the process of performing
transfers, possibly with differn"
When I strip the programs down to the essentials,
it seems to run fine. However, occasionally,shutting down one program while the other is running causes my machine to reboot.
The problem with the full-blown applications is intermittant on my machine, fairly constant on the lab machine. On the lab machine, the problem is
immediately apparent if the asynch program is started before the synch program. If they are started in the reverse order, they run for a while before crashing.
These are both stable programs that have been running on separate machines for about 4 years in one incarnation or another. For now, I am going to go
back to that solution, expensive and inconvenient as it may be. Without the ability to get inside National's drivers, I am pretty much stuck on
debugging, and I can't give you a tight example that consistantly blows up.
FYI, I am running VB6.0, ComponentWorks 3.0, Nidaq 6.9.2. Attached are some files showing the calls and the order in which
they are made. Unfortuneatly, these files work.