Drive SampleClock to PFI signal as a sanity check.

1 view (last 30 days)
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

Answers (1)

Manisha
Manisha on 24 Jan 2012
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

Categories

Find more on Simultaneous and Synchronized Operations in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!