From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

Low Frequency Standard Waveform Mode Generation on the PXI-5422

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 illustrates how to modify the buffer size to produce the approporiate waveform at low frequencies(< 38.147 Hz) with a PXI-5422 device.

 

Description

This example examines whether the output frequency is lower than the minimum frequency. If so, an expanded buffer is aassigned to the Fgen task.

 

Requirement

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

 

Steps to Implement or Execute Code

1. Check the frequency of the desired waveform
2. If < 38.147 increase the buffer size to 5000000
3. Run the VI

 

Additional Information or References

Block Diagram

134.png

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

Dustin D

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