Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NIDAQ Traditional for one card and NIDAQmx for another?

I have two counter cards in my system - a PCI6602 as Device 1 and a PCI6601 as Device 2. The PCI6602 is used by a third party application which uses Traditional NIDaq. I have companion software that I wrote that uses the PCI6601 card and interfaces with the third party software, so both must be running at the same time. I recently upgraded my software to VB.NET using NIDaqMX. Everything works fine using both cards together. However, when I go to initially load the third party application I get an error on the load with the driver for the PCI6602 card. To solve this, I have to go into MAX and reset the NIDAQ Traditional drivers. Then I can load the third party software. However, when I go to load my program, I get an error saying the DAQ card is being used by another process. I again reset the NIDAQ Traditional driver, and then everything works fine.

Is there any way in MAX to set up one card to work only with NIDAQmx and the other to work only in NIDAQ Traditional? If I try to delete it from one portion it deletes it from both. Or, is there a way to automate resetting the driver?

-Matt
0 Kudos
Message 1 of 2
(3,131 Views)
The best method is if you can just use one driver or another. However, it sounds like you need to use both of the drivers, so the method you are doing is the best alternative. As long as you set the devices for the right type of driver in MAX, then they should work without any problems. Unless you are trying to call both boards or use a board with the wrong driver set.

You should do this before starting your program:
  1. Go into MAX and reset the driver for Traditional DAQ
  2. Reset the driver for DAQmx on the board that uses DAQmx
  3. Start your application
That is the procedure that must be followed if trying to use separate drivers at the same time.
0 Kudos
Message 2 of 2
(3,115 Views)