09-20-2011 07:37 PM
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
Solved! Go to Solution.
09-21-2011 02:08 AM
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
09-21-2011 04:12 AM
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
09-21-2011 10:35 AM
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
09-21-2011 04:32 PM
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!
09-21-2011 06:24 PM
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
09-22-2011 03:52 AM
Hi Kyle,
Thanks for verifying with the unit.
Regards