Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems when using two USB-6008 at the same time

Hi

I'm having trouble when I'm running my two USB-6008 devices at the same time. I don't have any problem to install the devices and they appear in the "List Devices" so they are connected proberly. The problem appears when I try to use my VI:s. Eventhough I can make the wanted configuration in the confg. utility these configurations seems to be discarded when I start Labview and try to use a VI. It seems like I can only use one of my USB-devices at the time. And when I start the confg. utility I get a error message saying "Error -1073807300 occurred at VISA Open in Find Devices.vi->DAQmxBase Config Dialog.vi" with a possible reason saying "VISA: (Hex 0xBFFF003C) Insufficient system resources to perform necessary memory allocation." Now I know that the computer I'm currently using only have 256 MB of internal RAM but isn't this enough to use NI USB-devices ? Anyone who have a solution to the problem ? or should I buy more memory ?

Best regards
Daniel
0 Kudos
Message 1 of 13
(4,400 Views)

Hello Daniel!

Unfortunately I cannot test whether it is possible or not since I do not have two 6008 (or 6009) devices at the office. However it shouldn't be any problems to use several devices with the DAQmx-Base driver but I am not sure how much memory you would need. I would assume though that 256MB is on the lower end considering the amount of VIs that are loaded when programming with DAQmx-Base (VISA and DAQmx function calls). Does the problem remain? If so I can see if another office can test this for us.

Regards,

Jimmie A.

Applications Engineer, National Instruments

 

 

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 2 of 13
(4,373 Views)
Hi again and thanks for your answer !

I tried to use a computer with 512 Mb RAM but it still did not work. Have to be somekind of strange error. Can't imagine that it could be my amount of  memory that fails or could it ?

Regards
Daniel

0 Kudos
Message 3 of 13
(4,371 Views)

Hello Daniel!

 

Please send us your code that you are using plus a screenshot of the actual error message(s) you get when running the program.

 

Thanks in advance!

 

Regards,

Jimmie A.

Applications Engineer, National Instruments

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 4 of 13
(4,370 Views)
Hi again !

Unfortunately I don't have one of my USB devices here right now. But I can send you the code and the exact error code is the text I stated in the first message:

When I start the confg. utility I get a error message saying "Error -1073807300 occurred at VISA Open in Find Devices.vi->DAQmxBase Config Dialog.vi" with a possible reason saying "VISA: (Hex 0xBFFF003C) Insufficient system resources to perform necessary memory allocation.

In other words I don't get any error message when I run my program however I can only use one of my devices eventhough I have configured my programs to use the two different USB devices.

The counter VI is used with one of my devices and my ADF1_Test_Daniel VI is used with the other. If I run the VI togheter and uses the same device for both of the VI:s there seems to be no problem at all. The problem exist when I ttry to use two different USB devices.

Regards
Daniel
0 Kudos
Message 5 of 13
(4,363 Views)
 

Hello Daniel!

 

 

I still haven't been able to test this with two devices but I can inform you that you soon will be able to use our full-featured driver NI-DAQmx driver! More functionality compared to the DAQmx base driver, way more.

 

 

It was available a yesterday but they had some issues that had to be fixed so it will soon be available again.

 

 

Hopefully will this help you out and solve the problems you are experiencing.

 

 

Regards,

 

 

Jimmie A.

 

 

Applications Engineer, National Instruments

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 6 of 13
(4,317 Views)
Hi again !

Ok sound very good with the new driver for the USB-devices can't say that I liked the previous one. The linked you attached have a driver version of 7.5 and from What I can see it was posted
08/07/2005 is the driver version you where talking about or will there be a newer one out soon  ?

However I installed the 7.5 driver version and it says in the manual that I can use my USB device 6008 and take advantage of all the diffrent tools that comes with it. But when Ihave installed the driver and checked that it is recognized by MAX I can't use the DAQmx Assistent cause it says that there is no device installed that can use the i.e. analog inputs. What could the problem be ?
Shoud I just wait for the new version of the driver ?

Thanks for all your answers !

Regards
Daniel
0 Kudos
Message 7 of 13
(4,306 Views)

Hello Daniel!

 

I experienced pretty much the same as you when I installed NI-DAQ 7.5 and I believe it is due to the DAQmx Base driver.

 

What I did: I uninstalled DAQmx Base, but my device wouldn’t appear in MAX anyway more than under the same old USB devices just like it did with the DAQmx Base driver. So something is left installed on the machine.

 

I then went to my Control Panel, choose ‘System’ à  ‘Hardware’ à ‘Device Manager’ (this is on a XP Machine). There I right-clicked the device, choose properties, and then ‘Update Driver’. After that disabled it and then enabled it again and voilá it worked fine and the device appeared in MAX under DAQmx devices and passed all tests.

 

So the driver is OK, but it might be so that the old driver left something installed on the machine you are using and then you would experience the same issues I did.

 

Regards,

Jimmie A.

Applications Engineer, National Instruments

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 8 of 13
(4,278 Views)
HI

It's true what you are saying the old Base driver is blocking something when you try to install the new mx driver. I found a setting under the menu Tools in MAX. If you choose NI DAQmx Configuration --> NI DAQmx USB Driver selector you can switch the driver for your USB device from the BAse driver to the new mx driver.  This solves the problem , you may have to restart your computer to fullfill the switch but it  work fine for me.

Can' belive that NI doesn't point this out any clearer in the installation files or in the manual for the mx driver. This can't be anything unusual to experience this problem and it can be fixed very fast if you know what to do. Hopfully there won't be anymore mistake like this one from NI....

Otherwise the new driver works perfect !

Regards
Daniel Holmqvist
0 Kudos
Message 9 of 13
(4,276 Views)

Hello!

I have missed that setting in MAX completely and no information whatsoever about it is available in the documentation called ‘NI DAQmx for USB Devices Getting Started Guide’. Pretty weak I must say and I am sorry for the problems it might have caused you.

Regards,

Jimmie A.

Applications Engineer, National Instruments

 

 

Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region

0 Kudos
Message 10 of 13
(4,274 Views)