10-22-2012 02:48 PM
Does anybody know how to get an array/list of all available clock sources programatically in C/C++. I know in LabView if you drop the control on the front panel it is already populated with the available sources.
For instance to get the available channels in C you would call DAQmxGetDevAIPhysicalChans. Is there a similar function or any other way of doing the same with Clock sources.
Thanks
10-23-2012 07:06 PM
Hello wewe,
I am unable to find a function that can accomplish this at this moment.
Here are some examples and information that I can find on configuring clock sources, maybe they can give you some clues
Check out the "Configure the Timing Parameters" section of this white paper:
http://www.ni.com/white-paper/5409/en
NI-DAQmx timing section of this doc:
http://www.ni.com/white-paper/2835/en#toc5
Thanks,
Joel C
National Instruments
10-25-2012 07:03 AM
Thanks for the info Joel.
Have you found anything yet.
Thanks
10-26-2012 08:49 PM
Hello wewe,
I have been unable to find such a function. This might be the best you can get:http://zone.ni.com/reference/en-XX/help/370471W-01/mxcprop/attr2996/
Maybe this is one of those things LabVIEW excels at.
Thanks,
Joel C
National Instruments