Hello, I recently purchased a MCC USB-1608G to run in matlab and I cant get the start or startForeground or read functions to work, they all produce the same error.Matlab does recognize the device.
I have Matlab 2025a, toolboxes:Data Aqusition,MCC support(Data Acquisition Toolbox Support Package for Measurement Computing Hardware).
error:
Warning: DAQSDK Warning: Ignored call to method 'stop' in state 'ReadyState'.
> In matlabshared.asyncio.internal/Channel/execute (line 414)
In daq.sdk.internal/ChannelGroup/stopChannel (line 452)
In daq.sdk.internal/ChannelGroup/doStop (line 301)
In daq.sdk.internal/ChannelGroupStateRunning/stop (line 30)
In daq.sdk.internal/ChannelGroup/stop (line 158)
In daq.sdk.internal/ChannelManager/stopChannelGroup (line 438)
In daq.sdk.internal/ChannelManager/stop (line 235)
In daq.sdk/Session/stopImpl (line 512)
In daq/Session/doStartForeground (line 2716)
In daq.internal/StateReadyToStart/startForeground (line 125)
In daq/Session/startForeground (line 1772)
In daq.interfaces/DataAcquisition/doForegroundOperation (line 2228)
In daq.interfaces.internal/DaqStateInputChannelsOnly/read (line 91)
In daq.interfaces.internal/DaqStateProxy/read (line 55)
In daq.interfaces/DataAcquisition/read (line 666)
Error using Daqfunc (line 21)
Timeout expired before operation could complete.
Just frusterating, because I just got it and costed 500$ and right out the gate I have issues......
Basic setup and run code:
d.addinput('Board0', 0, 'Voltage');
[data, timestamps] = read(d, seconds(duration));