From: Yony on
Hello all,
I'm using the Data Acquisition Toolbox to control an NI USB-6221 device.
My problem is that if I connect the device after Matlab had started (it is a USB device), Matlab does not recognise it, and I need to exit and re-start Matlab.
How do I force Matlab to look again for newly connected devices?
Additional info: Matlab version 2009a, Data Acquisition Toolbox version 2.14, NI-DAQmx 8.9.5,Windows XP professional
Thanks
Yonathan
From: Shin on
Hi Yonathan,
Unfortunately, this is the current limitation of Data Acquisition Toolbox, and what you have done(re-start MATLAB) is the correct way to 'help' DAT toolbox to recognize the new plugged device.

The good news is things are going to change in the near future, i.e., recognizing the hot plugged devices won't require re-start MATLAB. When this feature is released, you will see a big announcement in the release note.

-Shin
"Yony " <yony.kozlovsky(a)microtechmed.com> wrote in message <hklnbv$bnr$1(a)fred.mathworks.com>...
> Hello all,
> I'm using the Data Acquisition Toolbox to control an NI USB-6221 device.
> My problem is that if I connect the device after Matlab had started (it is a USB device), Matlab does not recognise it, and I need to exit and re-start Matlab.
> How do I force Matlab to look again for newly connected devices?
> Additional info: Matlab version 2009a, Data Acquisition Toolbox version 2.14, NI-DAQmx 8.9.5,Windows XP professional
> Thanks
> Yonathan
From: Yony on
Hi Shin
Thanks, you saved me hours of futile and frustrating work trying to solve it
Yony