Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Device supports sample clock input?

Solved!
Go to solution

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

0 Kudos
Message 1 of 3
(3,133 Views)
Solution
Accepted by topic author CVilla

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.

Maggie
National Instruments
Applications Engineer
ni.com/support
0 Kudos
Message 2 of 3
(3,097 Views)

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

0 Kudos
Message 3 of 3
(3,093 Views)