2
1/2 www.ni.com We value your feedback! Take a about your ni.com experience and be entered to win a $50 Amazon.com Gift Card. short survey Using myDAQ with the NI ELVISmx Function Generator Soft Front Panel 1. 2. 3. 4. 5. Table of Contents Overview Waveform Settings Sweep settings Instrument Control Related Links Overview The NI ELVISmx Function Generator (FGEN) generates standard sign, triangle, and square waves. The instrument allows for the selection of the frequency, amplitude, and DC Offset of the signal, and provides duty cycle adjustment and frequency sweep capabilities. The FGEN uses AO 0 on the screw terminal on an NI myDAQ for its output, which used AGND as its ground reference. Waveform Settings The waveform settings section of the function generator soft front panel provides three waveform types to choose from, and provides frequency, amplitude, DC offset, duty cycle, and modulation type adjustments. The three waveform types can be selected by clicking on the icons for the sign wave, triangle wave, or square wave. The frequency, amplitude, and DC offset of the signal can be changed by moving the corresponding control knob, or by directly inputting the desired value into the control below the control knob. The duty cycle adjustment is only available for the square wave output, and will be grayed out if the sign or triangle waveform types are selected. The modulation type control allows for the selection of frequency or amplitude modulation, but is unavailable with the NI myDAQ. To change the modulation type, an NI ELVIS system must be used. Sweep settings The sweep settings of the ELVISmx function generator allows for the frequency of the output signal to be changed when the sweep output is executed. By giving values for the start frequency, stop frequency, and step you can define which frequencies will be output, and how many steps there will be when the sweep output is run. Then by setting : Document Type Tutorial : Yes NI Supported : Dec 02, 2011 Publish Date

NI Tutorial 11503 en

Embed Size (px)

Citation preview

Page 1: NI Tutorial 11503 en

1/2 www.ni.com

We value your feedback!Take a about your ni.com experience and be entered to win a $50 Amazon.com Gift Card.short survey

Using myDAQ with the NI ELVISmx FunctionGenerator Soft Front Panel

1. 2. 3. 4. 5.

Table of Contents

OverviewWaveform SettingsSweep settingsInstrument ControlRelated Links

Overview

The NI ELVISmx Function Generator (FGEN) generates standard sign, triangle, and square waves. The instrument allows for the selection of the frequency, amplitude, and DC Offset of the signal,and provides duty cycle adjustment and frequency sweep capabilities. The FGEN uses AO 0 on the screw terminal on an NI myDAQ for its output, which used AGND as its ground reference.

Waveform Settings

The waveform settings section of the function generator soft front panel provides three waveform types to choose from, and provides frequency, amplitude, DC offset, duty cycle, and modulationtype adjustments.

The three waveform types can be selected by clicking on the icons for the sign wave, triangle wave, or square wave. The frequency, amplitude, and DC offset of the signal can be changed bymoving the corresponding control knob, or by directly inputting the desired value into the control below the control knob. The duty cycle adjustment is only available for the square wave output, andwill be grayed out if the sign or triangle waveform types are selected. The modulation type control allows for the selection of frequency or amplitude modulation, but is unavailable with the NImyDAQ. To change the modulation type, an NI ELVIS system must be used.

Sweep settings

The sweep settings of the ELVISmx function generator allows for the frequency of the output signal to be changed when the sweep output is executed.

By giving values for the start frequency, stop frequency, and step you can define which frequencies will be output, and how many steps there will be when the sweep output is run. Then by setting

: Document Type Tutorial: Yes NI Supported: Dec 02, 2011 Publish Date

Page 2: NI Tutorial 11503 en

2/2 www.ni.com

the step interval, the time spent outputting each frequency can be set.

To run the function generator using the sweep settings, click the Sweep button in the Instrument Control section of the front panel.

Instrument Control

The Instrument Control settings section of the Function Generator allows the user to select which device and signal route they are using to output a signal and if they’d like to run continuously, or tooutput a signal using the frequency sweep settings from the sweep settings section of the front panel. This section also holds stop button and a link to the help section for the Function Generator inthe NI ELVISmx help.

The device drop down selection box allows a user to select any myDAQ or ELVIS unit that is connected to the system. The device list, which includes the device numbers, is pulled from thedevices and interfaces that can be seen in Measurement & Automation Explorer (MAX). To test or rename each device, see the Configuring and Testing your myDAQ in Measurement &

page.Automation Explorer

The Signal Route drop down selection box allows a user to specify which output to generate the function on. For myDAQ units, the only option is AO 0.

Related Links

» Using myDAQ with ELVISmx Software Instruments

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