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
- last edited on
02-07-2025
04:26 PM
by
Content Cleaner
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:
NI-DAQmx timing section of this doc:
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
- last edited on
02-07-2025
04:28 PM
by
Content Cleaner
Hello wewe,
I have been unable to find such a function. This might be the best you can get:https://www.ni.com/docs/en-US/bundle/ni-daqmx-c-api-ref/page/mxcprop/attr2996.html
Maybe this is one of those things LabVIEW excels at.
Thanks,
Joel C
National Instruments