NI VeriStand Add-Ons Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Example: FPGA PWM Variable Duty Cycle & Frequency generation and measurement

 

Overview

This FPGA personality example allows users to add variable duty cycle and frequency PWM generation and measurement to their NI VeriStand system.  This functionality is provided as an example to be used in a bigger, fully integrated system.

 

Instructions for Use

To use this FPGA personality as-is:

  1. Download and extract it
  2. Open system explorer and add an FPGA personality
  3. Browse to the extracted location of this add on

 

To customize this FPGA personality for use in your application:

  1. Download and extract it
  2. Open the project with LabVIEW and the XML file with an XML editor
  3. Observe the functionality and copy/paste into your application or customize for your application

 

Software

This example was created for use with NI VeriStand.  To use this, you must have the following software installed:

 

  • NI-RIO

Add-on Requirements to Modify the example

Change History

1.0.1

  • Fixed a bug that caused frequency input values to report 40,000,000 when the physical PWM input frequency is 0
  • All source is now marked for "source only"

Support and Contact

This example is provided as open-source software.  If it does not meet your exact specification, you are encouraged to modify the example to meet your needs. It is not officially supported by National Instruments.

 

National Instruments does not support this code or guarantee its quality in any way. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).

Stephen B