I am using two 6602 cards and a MIO E6035 in an PXI system. I program the counter and the MIO for bufferd operation and start the measurement. This works good.
Then I stop the actual measurement with DAQ_Clear for the MIO and GPCTR_Control with ND_RESET for each used counter on the 6602.
After a while I want so start a new measurement and do the same init again. The second time I often (not allways !!) get an error code 10013 (-10013 badErrorCodeError: The driver returned an unrecognized or unlisted error code) when I call ND_RESET.
Whe I get it once, I get it allways. WShen I stop my program and restart it, then the programming of the counters works aggain.
What can I do? Is there a command, so that I can init the
counter card completly?
I am using NI Daq 6.9.1.
Thanks
Stephan