02-16-2007 04:25 PM
02-19-2007 04:25 PM
02-19-2007 05:36 PM
02-20-2007 05:02 PM
Hi Fabien,
Here is what you can do: use the attached VI to extract the device information for all of the DAQmx devices connected to your system. Then we can match up the serial number field with the serial numbers on your USB-6008 devices to find out which one has been assigned to Dev1 and which one has been assigned to Dev2 (use a case structure to perform this in LabVIEW...pass the serial number to the case selector and feed the device numbers into the cases, extracting the proper one each time). You can call this piece of code in the beginning of your existing code to determine which USB device corresponds to which DAQmx device number, then you can feed the right device number from the case structure to the portions of your code that perform the I/O.
That should work for you! Let me know if you have any questions...
Regards,
Nicholas B, National Instruments