11-07-2012 09:57 AM
I originally posted this question in a different forum, but I think this is the better location.
I'm trying to find the best way to check if an NI device supports sample clock input.
For example, I have a USB-6008 which does not support sample clock input. When I call DAQmxGetDevTerminals, I get "/Dev1/ai/StartTrigger, /Dev1/PFI0". For start trigger capability, I can call DAQmxGetDevAITrigUsage or look in the terminals string for "ai/StartTrigger". Should I search the string for "ai/SampleClock", or is there a function similar to DAQmxGetDevAITrigUsage for the sample clock?
Thank you,
CV
Solved! Go to Solution.
11-08-2012 07:58 PM
CV,
As far as I know, there is not a way to get a T/F value for a sample clock of a device. When choosing your channel for timing, you could search for "Ai/sampleclock." However, I recommend checking your manual to determine if a sample clock is available for a specific device.
11-09-2012 08:38 AM
I guess I will stick with searching for the string "ai/SampleClock". Checking the manual doesn't help because our software has to work with multiple device types.
Thank you for your help,
CV