Example Code

PXI-6653/PXI-6652 NI-Sync ClkOut Loop Back Test

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Hardware

  • Data Acquisition (DAQ)

    Software

  • LabVIEW

    Driver

  • NI DAQmx

Code and Documents

Attachment

Overview
Demonstrates how to use NI-Sync along with a Timing & Synchronization board (PXI-6652 or PXI-6653) to route a clock to the ClkOut terminal. The clock signal's frequency is then measured on PFI0. This program confirms that the ClkOut signal is present and that its gain is enabled.


Description
This example utilizes the ability of the PXI chassis to route signals along its backplane to an external destination. Using the Timing and Synchronization Board provides a more accurate clock for measurements and generation. Once the source is chosen as the backplane clock, it can be sent to the Timing Module. The external signal should read 10MHz.

 

Requirements

Software:

  1. LabVIEW 2012 (or compatible)
  2. NI-Sync14.0(or compatible)


Steps to Implement or Execute Code

  1. Configure the NI-SCOPE and DAQmx channels and properties to the appropriate values.
  2. Run the NI Scope EX Configured Acquisition with Probe Compensation. vi.
  3. Click the button "Enable Probe Compensation"
  4. Click Stop to stop the VI.

 

Additional Information or References
VI Snippet
1111.png 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

National Instruments
Applications Engineer

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
mr-vizsla
Member
Member
on

Very nice!