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

Document Type: Example Program
NI Supported: Yes
Publish Date: Nov 16, 2007

LVDT Input Measurement Using LabVIEW FPGA

0 ratings | 0.00 out of 5
Print

Downloads

Filename: lvdtinputfpga.zip
Requirements: View

Filename: fpgalvdtinput.zip
Requirements: View

This VI shows how to measure signals from a LVDT sensor and process the data to calculate the position of the LVDT. The important configuration in this code is to match the sample rate and the size of the FIFOs to the frequency of the excitation signal. The sample rate and FIFO size need to be selected to represent one-half period of the excitation waveform.

The example integrates a half cycle of the excitation signal and the LVDT output signal to get a more accurate representation of the amplitude of each waveform. Be calculating the ratio between these two amplitudes we calculate the position.

The example includes code to generate the excitation signal and also simulate the LVDT output signal. Using AO and AI channel you can test the code for its performance.

The example is written and configured for a 7831R FPGA board, but can be updated for other RIO hardware that includes analog input and analog output channels. The analog output channels are only required for the excitation signal and simulated LVDT output generation.

Requirements


Filename: lvdtinputfpga.zip

Software Requirements


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

Hardware Requirements


Hardware Group: Reconfigurable I/O (RIO)
Hardware Model: PXI-7831R, PCI-7831R
Driver: NI-RIO 1.3

 
Filename: fpgalvdtinput.zip

Software Requirements


Application Software: LabVIEW Full Development System 7.1.1
Toolkits and Add-Ons: LabVIEW FPGA Module 1.1

Hardware Requirements


Hardware Group: CompactRIO, Reconfigurable I/O (RIO)
Hardware Model: PCI-7830R, PCI-7831R, PCI-7833R, PXI-7830R, PXI-7833R, NI 9201, NI 9215, PXI-7831R
Driver: NI-RIO 1.3, NI-VISA 3.3

 
0 ratings | 0.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/).