Example Code

NI-SCOPE and NI-FGEN Configured Acquisition with Adjustable NI-TClk Delay

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

  • Modular Instrumentation

    Software

  • LabVIEW

    Driver

  • Other

Code and Documents

Attachment

Overview

This code shows how you may synchronize a Scope and Arbitrary Waveform Generator with NI-TClk.

 

Description

To compensate for the delay of your signal, you may use the NI-TClk Sample Clock Delay property.This code was intended for an example for a customer who needed to downconvert an AM signal by undersampling the data.  The NI-TClk "Sample Clock Delay" property can be adjusted until the high-frequency carrier is completely removed.

 

Requirement

Software:
    Labview 2012 (or compatible)
    NI-Scope driver which is compatible with your hardware and version of LabVIEW
    NI-Fgen driver which is compatible with your hardware and version of LabVIEW
Hardware:
    NI Scope device
    NI Fgen device

 

Steps to Implement or Execute Code

1. Select the name of your Scope device and Fgen device
2. Run the VI.

 

Additional Information or References

 Block diagram:

131.png

 

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

 

John Passiak

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

Comments
DManning
Member
Member
on

This VI is very useful if one wants to try to downsample an AM signal.  When used within a for-loop and coupled with some fitting functions it can find the most accurate TClk delay for each given frequency.  Works Great!