08-16-2013 06:07 PM
Hi,
I create a counter task in MAX (continuous), then loaded it. StartTask -> it is running OK.
Now, I want to change the frequency using DAQmxSetCOPulseFreq(task, "Dev2/ctr0", rate)
I receive Error "Specified property is not supported by the device or is not applicable to the task. Error -200452 (fffcf0fc)"
What could be wrong ?
Boris
08-19-2013 10:50 AM
Hi Boris,
What DAQ device are you using for this task? What other DAQ devices do you have on your system? To what rate are you trying to set the frequency of the counter?
I want to learn more about the issue you are facing, but in the mean time the follow KnowledgeBase aritcles on error -200452 may be helpful.
Take a look through them and let me know if they were helpful.
08-21-2013 03:52 PM
Hi Thomas, thank you for reply.
Ive followed an advise in different thread to recreate counter task and thus change it frequency, and it worked.
Just in case we will arrive to some other way to do it, these are the details:
ni-6289 x-series board, NIDAQmx 9.7, Win 7
three tasks are created DO, AO and CO clock used as sample clock for the above. The clock is ctr0.
The issue was with the attempt to reprogram the clock frequency
Boris
08-22-2013 08:21 AM
Hi Boris,
I am glad to hear that you got it working. I originally misread that you were importing the task from MAX. The fact that it wouldn't let you change the frequency is expected. Creating a separate task in your development environment in order to be able to change the frequency is probably the best solution.
Take care.