Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Cards in one computer

Hello,
I have two NI DAQ cards installed in one computer.
1. PCI-6711 which is used by Nikon EZ-C1 which controls laser intensity in a Nikon Confocol Microscope System.
2. PCMCIA 6036E(via PCMCIA to PCI adapter). I write a MATLAB program to do data acquisition with the card.
 
My problem is that both programs cannot work together. If there is only one program running, it works fine, but the second program always can't open the DAQ card it uses. My computer has an Asus P4C800-E motherboard. I am not sure if there is hardware conflict, but I checked IRQ numbers, it seems these two cards use different IRQs. Anyone can help me with the problem? Thanks a lot.
0 Kudos
Message 1 of 6
(3,658 Views)
Hello Cshen,

Which programing environment are you in? which version of the driver are you using for the devices? What happens when you try to open the second program? Does it throw an error and if so, what does the error say? Provide more details about your system setup and your observations.

0 Kudos
Message 2 of 6
(3,641 Views)
Thanks for your reply.
The OS of my system is Windows XP professional with SP2. I use Matlab(windows version) to write programs.
Measurement and Automation Explorer: Version 3.0.2.3005.
The error message I saw in MATLAB was "Can't open device requested, classes are not registered".
If I let the Nikon program be the second one to open, I didn't see any error message, but the laser intensity control bar disappeared. The Nikon program uses the PCI-6711 to control laser intensity, so there is something wrong in the communication between the software and the card.
Hope above information helps.
Regards,
 
0 Kudos
Message 3 of 6
(3,625 Views)
Hello Cshen,

What version of NI-DAQ are you using to control the daq devices. You must be making calls to NI-DAQ driver functions somewhere in your program if you are using the 6711 and the E Series devices. Also, could you provide me with the order in which you make those calls?
0 Kudos
Message 4 of 6
(3,611 Views)
I am using NI-DAQ version 7.1. For the software from Nikon, I don't know how they implement to control DAQ card. In my matlab program, I use functions from matlab's data acquision toolbox to open DAQ device. The error was from analoginput('nidaq',2) or analogoutput('nidaq', 2) which is a command to create output/input object. My program uses PCMCIA 6036E.
BTW, in Measurement & Automation Explorer, under traditional Ni-DAQ devices, the test panels for both cards are disabled. I think I should be able to use the test panels, so they shouldn't be disabled. I attached a pic to show this.
Thanks.

Message Edited by cshen on 07-12-2005 11:58 AM

Message Edited by cshen on 07-12-2005 12:01 PM

0 Kudos
Message 5 of 6
(3,608 Views)
Hello Cshen,

I would be more than happy to help you if I could see the actual DAQ function calls being made by Matlab in their toolbox. I would suggest you contact Mathworks and have them provide you with the calls they make to the driver from their toolbox.
0 Kudos
Message 6 of 6
(3,592 Views)