Drive SampleClock to PFI signal as a sanity check.

2 次查看(过去 30 天)
Hello! :)
I am doing some timing work and I would like to drive the internal sample clock on an NI USB-6259 board out to a PFI connection so I can sanity-check it using an oscilloscope.
I can find good MATLAB documentation on how to change the SampleClock to an external one, but I can't find out how to drive the internal SampleClock to an output.
How do you drive the internal SampleClock to a PFI output?
Thank you!
-Adam

回答(1 个)

Manisha
Manisha 2012-1-24
Hi Adam,
If you are uisng Session-based interface, you can use the R2012a prerelease and use the function
addClockConnection('Dev1/PFI1','external','ScanClock');
this would have the scan clock available at PFI1 of Dev1 for external use.
Hope that helps,
Manisha

类别

Help CenterFile Exchange 中查找有关 Simultaneous and Synchronized Operations 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by