Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 3, 2006

NI-IMAQ I/O Fixed Period Measurement

1 ratings | 4.00 out of 5
Print

Overview

This VI measures the total period of a programmable number of rising edges.

Downloads

Filename: imaq_io_fixed_count.vi
Requirements: View

This VI measures the total period of a programmable number of rising edges.  Divide the programmed count by the period to determine the frequency.  To run this VI, enter the desired number of rising edges that you wish to count.

Instructions for running:
1. Create a new LabVIEW project.
2. Add a NI-IMAQ I/O FPGA target to the project.
3. Add the example VI under your FPGA target.
4. Open the VI from the project.
5. Enter a value in the Edges to Count control and run the VI.

Note:

To make this VI hardware specific add this VI to your NI-IMAQ I/O FPGA target in your LabVIEW project and replace the Input 0 boolean control with a FPGA I/O Node.

Requirements


Filename: imaq_io_fixed_count.vi

Software Requirements


Application Software: LabVIEW Full Development System 8.2
Toolkits and Add-Ons: LabVIEW FPGA Module 8.2
Language(s): LabVIEW

Hardware Requirements


Hardware Group: Vision (IMAQ)
Hardware Model: PCI-8254R, NI PCIe-8254R, NI PCIe-8255R
Driver: NI-IMAQ 3.5.1

 
1 ratings | 4.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. 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/).