LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Could one NI6008 be shared by two software at the same time?

Solved!
Go to solution

Hi,

 

I have written two software with Labwindows/CVI for different purpose. Both of them are using NI6008. I have only one NI6008 attached to my laptop. Can I run two software at the same time? I mean, could one NI6008 be controlled by two different software at the same time? Thanks!

 

 

 

Best,

Shang

0 Kudos
Message 1 of 7
(3,888 Views)

 

Hello,
In my opinion you can do this because the USB bus does not have a permanent connection such as RS232. Also, I know that windows is the one who manages theUSB communications, and manages several applications to a single USB deviceat a time.
The NI 6008 is a USB HID device so it can manage multiple applications.

We expect the responses of people who have more experience and know-how.


Best Regards

0 Kudos
Message 2 of 7
(3,886 Views)

Hello Shang,

NI 6008 uses DAQmx driver which also functions as an API to control the DAQ. Based on DAQmx, you could use a DAQ on 2 different applications but each of the application should not use the same task such as AI at the same time.

 

I don't have NI 6008 with me to verify with the device but try to use 2 different task (ex: AI and DI) and check whether there is any initialization error.

 

I hope that this helps.

 

Regards

- Meadow -
LabVIEW 7.0 - 2011, Vision, RT, FPGA
TestStand 3.0 - 4.5
0 Kudos
Message 3 of 7
(3,880 Views)

Shang,

 

Meadow is correct on this (I have verified with a 6008). As long as they are not the same task type, you should be fine running them in different programs. 

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments 

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 7
(3,867 Views)

Hi Kyle, Meadow, fishingman,

 

Thanks for your reply. Does different task type means that they are using different terminals assigned in different task names? Or one uses analog terminals and the other uses digital? Thanks!

0 Kudos
Message 5 of 7
(3,862 Views)
Solution
Accepted by topic author shang1749

Shang,

 

There are four kinds of tasks, AI, AO, DIO, and counter. You can have one of each running at a time on a USB 6008. 

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 7
(3,859 Views)

Hi Kyle,

Thanks for verifying with the unit.

 

Regards

- Meadow -
LabVIEW 7.0 - 2011, Vision, RT, FPGA
TestStand 3.0 - 4.5
0 Kudos
Message 7 of 7
(3,850 Views)