> Hi all,
> I am having problems getting data from an NI board using the DAQ Toolbox.
> First, there seems to be some instability: Sometimes everything works,
> sometimes it doesn't. I get errors the following errors:
> 1) Sometimes the DAQ Toolbox does not seem to recognize my NI card (I
> have a laptop 6062E.) I have to restart Matlab to get it to recognize it.
If the card is inserted before you issue any toolbox commands it should
be found without problem. However, if it is not found, you probably
don't have to exit MATLAB; use the command DAQRESET to reset the
toolbox, the card should then be found. The toolbox caches the known
cards for performance reasons so once it determines the available cards,
you have to flush the cache if you add a new card.
Quote:> 2) I also get this strange error when collecting data, and I don't know
> what it means:
> Timeout in GETDATA
It means that GETDATA was not able to return the number of samples that
you requested before the object timed out. There is a property on the
object, 'Timeout', that can be used to set how the long object will wait
before timing out. I can't help you more without knowing more about
> Any ideas?