Drive SampleClock to PFI signal as a sanity check.

2 Ansichten (letzte 30 Tage)
Adam
Adam am 23 Aug. 2011
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

Antworten (1)

Manisha
Manisha am 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

Kategorien

Mehr zu Simultaneous and Synchronized Operations finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by