LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Separate Analog Input/Output Tasks for Multiple USB-Daq 6008

Hello, In my application I'm using two separate USB-6008 DAQ devices, they are to be used simultaneously,
i.e both tasks will start in a same loop, there are both writing to some channels and sampling some data from
some channels, the problem is, when I'm trying to define a task, via Daqmx base Configuration Utility, I
sucseed at defining the task, for the first Device, but unable to define nearly same task but for the
different Device, since the OK button is grayed out (Disable).
 
I'm using Labview 7.1 and a NI-Daqmx base ver. 2.0
 
Following attachment shows what I'm talking about.
 
 
 
0 Kudos
Message 1 of 12
(4,193 Views)

One question is why are you using daqmx base are you on a mac.

second are you sure you are selecting the correct device name. ie 1 usb 6008 might be device 1 and the other might be device 2.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 12
(4,170 Views)
I'm using daqmx base because it is the easiest way to configure task for channel input/output?
And Yes, I'm using correct devices. I tried to resolve this problem, by using a Daqmx base constant,
where i asked for data from Device, but when i tried the same with Device 2, i got a message telling
me that the device is not in use.


0 Kudos
Message 3 of 12
(4,168 Views)
Actually it is not the easiest to use the full version of daqmx is easier, It is also very easy to set this up in MAX (measurement and automation explorer) What version of labview are you using. have you made sure that the device is recognised in MAX and that the device number is correct. i have a couple of 6008 and have run them alot without any trouble so it must be the way you have things setup. Could you post a section of the code that gives  you the error. also try running each device in max with the test panels for each one and see if it works there.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 12
(4,160 Views)

Ok, I've just finished installing labview 8.0 and I'll try to do as you told me.

0 Kudos
Message 5 of 12
(4,150 Views)

I've just installed Labview 8.0 and Ni-Daq mx Base 2.0. The system has identified the devices,

but when when i try to create a task for the USB-6008 devices via NI-Daqmxbase configuration

utility I'm is not able to push OK button, it is disabled. Getting pretty desperate here.

0 Kudos
Message 6 of 12
(4,142 Views)
I do not understand why you are trying to use daqmx base when you have the full version of daqmx installed. Go into max right click on data neighborhood and select create new, the select daqmx task. Then set up your task from there using the wizard interface.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 7 of 12
(4,136 Views)
I'm just simply trying to figure out where is the problem in the system.
0 Kudos
Message 8 of 12
(4,129 Views)
With both devices plugged in can you see both of them in max.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 9 of 12
(4,124 Views)
Both devices works perfectly when daqmx is installed, but daqmxbase still doesn't work. Anyway, gonna
use daqmx from now on, much easier to configure devices. Thanks for your help. Smiley Very Happy
0 Kudos
Message 10 of 12
(4,120 Views)