02-22-2017 03:30 PM
Hi everyone,
Hope you can help me.
I have build a GUI in Matlab to control daq with the counter in the USB-6501 interface. The counter counts in loops for a specified time interval, and after each loop the counter is being reset. This is done by the command "resetCounters" in the daqtoolbox for Matlab. It worked perfectly, BUT after the program and interface were moved to another computer, it stopped working - also on my machine, when the interface is reconnected. Any ideas what is causing this annoying problem?
Thomas
03-02-2020 09:45 AM
Were you able to resolve this? I think I'm dealing with the same issue. Counter keeps going, despite resetting it.
03-02-2020 11:48 AM
It has been a while, but I think I resolved it by using resetCounters(s(1)), where s=daq.createSession(‘ni’), instead of just resetCounters(s).