05-23-2006 05:43 AM
Hi all,
I have a problem which might originate from a conflict between PCI-6024E and PCI-6221. I have developed an application on a computer using PCI-6024E and DAQmx 7.5. LV 7.1. The application works fine on this computer both in developer mode and as a stand alone application. When i install the application on another computer using PCI-6221 I repeatedly get Error 50103 at DAQmx Control Task.vi. As I have understood this error occurs when two tasks are trying to read to or from the DAQ-card at the same time. This is taken care of in the application by checking if the DAQ is available before reading or writing. Is there any incompatiblity between the two versions of DAQ-card that could cause this problem?
Thanks
Petra (Uppsala, Sweden)
05-26-2006 03:40 AM
05-29-2006 09:31 AM
Hello!
Just to verify that I understood everything correctly:
You have developed an application with DAQmx 7.5 and
If this is the case and the 6221 passes all tests in Measurement & Explorer and that you can run the test panels without any issues indicates that the board and driver is installed correctly which is good.
You haven’t hard-coded any device names and such?
Also look at this KB:
Causes of NI-DAQmx Error 50103 "The Specified Resource is Reserved"
http://digital.ni.com/public.nsf/websearch/04BEDD9E9E91ED3486256D180048116D?OpenDocument
05-31-2006 09:23 AM
Hi!
Yes Jimmie, you understood it correctly! The DAQ-cards are in different computers and we are using a built application. The device names are read from an .ini file and used in the start of the program for creating and verifying the DAQ-task - so I dont believe that is a problem.
We have seen the KB document you refer to and deemed it not relevant to our application. We use a reserve/unreserve scheme to check DAQ-card availability before attempting to take any samples (done in every interation). This scheme workes well using the old DAQ-card, and has been in use for several months. Could this work differently with the new card? (we were told by NI at the time of purchase that the new card should work the same)
Do we for some reason need to recompile the application on a computer with the new hardware?
The first computer has LabVIEW Development system installed (this is were we built the application). It is the built application we have been running there too though. But could having it installed make the application behave differently?
/Michael, Uppsala, Sweden
I worked on the application and the first setup earlier and I am trying to help Petra out now with the new setup.
05-31-2006 09:45 AM
Hello!
You mentioned that you use ini-files in order to verify the devices and such. So you have verified that the device names are correct in other words that the M-Series DAQCard has the same name as the E-Series DAQCard? Programming an M-series compared to E-series should pretty much the same just minor things to consider when it comes to internal clocks and when synchronizing. What would happen if you tested the M-series board on your development machine? Would the same issue occur? What happen if you reset the device before creating the task? Please let me know how things proceed!
06-07-2006 07:33 AM
Regards, Michael
06-07-2006 08:01 AM
Hello!
I am unsure what might go wrong here, I am afraid. You can have both boards installed in the same machine without any issues (that is if you have enough resources like DMA, IRQ and such).
06-08-2006 08:52 AM
Thanks for your answer!
Petra has now tried switching the daq-hardware between the setups with the following result:
New questions:
(By the way, to be safe, we have not tried having both cards on the same machine at the same time.)
Regards, Michael
06-20-2006 04:20 AM
06-20-2006 06:53 AM