?? generating standard waveforms with the ni 5401-ni 5411- ni 5431 function generator - example - development library - national instruments.htm
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0097)http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DE6956A4E034080020E74861 -->
<HTML><HEAD><TITLE>Generating Standard Waveforms with the NI 5401/NI 5411/ NI 5431 Function Generator - Example - Development Library - National Instruments</TITLE><LINK
href="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/main.css"
type=text/css rel=stylesheet>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1"><!-- BEGIN DZ_EPD_WEB_DISPLAY_13 TEMPLATE -->
<META
content="This LabVIEW Example generates standard waveforms such as a sine, square, ramp, or DC signal. There are controls on the front panel to control the frequency, amplitude, offset, and type of waveform generated. For the NI 5401 and NI 5411, the maximum sine frequency you can generate is 16 MHz. For the NI 5431, the maximum frequency is limited to 8 MHz. The maximum amplitude is 5 Vpk into a 50 ohm load. If the load is a high-impedance load, the actual levels are twice that shown on the front panel. The waveforms are created using the Direct Digital Synthesis (DDS) technique, used for deriving, under digital control, an analog frequency source from a single reference clock frequency. This technique produces high-frequency accuracy and resolution, temperature stability, wideband tuning, and rapid and phase-continuous frequency switching. The NI 5401/5411/5431 uses a 32-bit, high-speed accumulator with a lookup memory and a 12-bit DAC for DDS-based waveform generation. The lookup memory is dedicated to the DDS mode only and cannot be used in Arb mode. You can store one cycle of a periodic waveform; a sine, triangular, square, or periodic arbitrary wave in the lookup memory. Then, you can change the frequency of that waveform by sending just one instruction. You can use DDS mode for very fine frequency resolution function generation. You can generate sine waves of up to 16 MHz for the NI 5401 and the NI 5411 and 8 MHz for NI 5431 with a frequency resolution of 9.63 mHz. Because this mode uses an accumulator, waveform generation loops back to the beginning of the lookup memory after passing through the end of the lookup memory. "
name=description>
<META content=01-MAR-05 name=date>
<META content=DevZone name=Section>
<META content=dzLibrary name=subsection>
<META content=Software,Technical name=ContentClass>
<META content=Example name=ContentType>
<META
content="Generating Standard Waveforms with the NI 5401/NI 5411/ NI 5431 Function Generator"
name=ShortTitle>
<META content=English name=Language>
<META content=NI name=ExampleSource>
<META content=42 name=HW>
<META content=845 name=SW><!-- END DZ_EPD_WEB_DISPLAY_13 TEMPLATE -->
<META content=TRUE name=MSSmartTagsPreventParsing>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY leftMargin=9 topMargin=0 marginheight="0">
<SCRIPT language=JavaScript1.2
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/menu_rollover.js"
type=text/javascript></SCRIPT>
<!--stopindex--><SPAN class=noindex><A name=top></A><!-- Begin Utility Logo -->
<TABLE cellSpacing=0 cellPadding=0 width=750 border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap width=157><A href="http://www.ni.com/"><IMG
height=64 alt="NI Home"
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/logo.gif"
width=157 border=0></A></TD><!-- Begin Search --><!--NOTES_FORM_TAG1-->
<TD vAlign=center noWrap align=right width=593>
<FORM name=search action=http://search.ni.com/nisearch/jsp/forward.jsp><A
href="http://sine.ni.com/apps/we/nios.store?lang=us&action=view_cart"><IMG
height=8 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/cart.gif"
width=12 border=0></A> <A class=global
href="http://sine.ni.com/apps/we/nios.store?lang=us&action=view_cart">view
cart</A> | <A class=global
href="http://www.ni.com/help/">help</A> | <SPAN
class=fineprint>search</SPAN> <SELECT class=fineprint
name=scope><OPTION value=dzTutorial>Tutorials<OPTION
value=dzExplprog>Example Code<OPTION value=DZone selected>NI Developer
Zone<OPTION value=site>Entire Site</OPTION></SELECT> <INPUT
class=fineprint maxLength=254 size=16 name=query> <INPUT type=image
alt=Search
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/search_go.gif"
align=top border=0> </FORM><!--NOTES_FORM_TAG2--></TD></TR></TBODY></TABLE><!-- End Utility Logo --><!-- Begin Global Navigation --><MAP
name=globalnav><AREA shape=RECT alt=Academic coords=557,0,627,20
href="http://www.ni.com/academic/"><AREA shape=RECT alt=Company
coords=684,0,751,20 href="http://www.ni.com/company/"><AREA shape=RECT
alt=Events coords=629,0,682,20 href="http://www.ni.com/events"><AREA
shape=RECT alt="NI Developer Zone" coords=441,0,555,20
href="http://zone.ni.com/zone/jsp/zone.jsp"><AREA shape=RECT alt=Support
coords=378,0,439,20 href="http://www.ni.com/support/"><AREA shape=RECT
alt=Solutions coords=307,0,376,20 href="http://www.ni.com/solutions/"><AREA
shape=RECT alt="Products & Services" coords=180,0,305,20
href="http://www.ni.com/products/"><AREA shape=RECT alt="Contact NI"
coords=91,0,179,20
href="http://sine.ni.com/apps/we/nicc.call_me?p_lang_id=US"><AREA shape=RECT
alt=MyNI coords=0,0,90,20 href="http://my.ni.com/myni/myni"></MAP>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=bottom height=20>
<TD width=750 rowSpan=2><IMG height=20
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/devzone1_on.gif"
width=752 useMap=#globalnav border=0></TD>
<TD class=globalbar1 width="100%"><IMG height=20 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD></TR></TBODY></TABLE><!-- End Global Navigation --></SPAN><!--startindex--><!--stopindex--><SPAN
class=noindex><!-- Body -->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD width=180><A class=clear
href="http://zone.ni.com/zone/jsp/zone.jsp"><IMG height=40
alt="NI Developer Zone"
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/zone_logo3.gif"
width=180 border=0></A><BR><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0><BR><!-- Begin Navigation -->
<TABLE cellSpacing=0 cellPadding=0 width=180 border=0>
<TBODY>
<TR class=nav1bg height=1>
<TD width=12><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=12 border=0></TD>
<TD width=12><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=12 border=0></TD>
<TD width=12><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=12 border=0></TD>
<TD width=144><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=144 border=0></TD></TR>
<TR class=nav1bg style="CURSOR: hand"
onclick="window.location='http://zone.ni.com/devzone/devzone.nsf/webcategories/A85C862D8F00D3648625679000749080'; return true;">
<TD vAlign=top align=middle colSpan=2><IMG height=21 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/white_down.gif"
width=7 border=0></TD>
<TD colSpan=2><A class=nav1
href="http://zone.ni.com/devzone/devzone.nsf/webcategories/A85C862D8F00D3648625679000749080">Signal
Generators</A></TD></TR><!-- begin duo-bevel-->
<TR class=navmono1>
<TD colSpan=4 height=1><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD></TR><!-- end duo-bevel -->
<TR class=nav2bg style="CURSOR: hand"
onclick="window.location='http://zone.ni.com/devzone/devzone.nsf/webcategories/212B13AA10F6349386256CD4007847E4'; return true;">
<TD vAlign=top align=middle colSpan=2><IMG height=21 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/white_right.gif"
width=4 border=0></TD>
<TD colSpan=2><A class=nav2
href="http://zone.ni.com/devzone/devzone.nsf/webcategories/212B13AA10F6349386256CD4007847E4">Fundamentals</A></TD></TR><!-- begin duo-bevel-->
<TR class=navmono1>
<TD colSpan=4 height=1><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD></TR><!-- end duo-bevel -->
<TR class=nav2bg style="CURSOR: hand"
onclick="window.location='http://zone.ni.com/devzone/devzone.nsf/webcategories/0ED7E59E08DE9F8D86256CD400785C94'; return true;">
<TD vAlign=top align=middle colSpan=2><IMG height=21 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/white_down.gif"
width=7 border=0></TD>
<TD colSpan=2><A class=nav2
href="http://zone.ni.com/devzone/devzone.nsf/webcategories/0ED7E59E08DE9F8D86256CD400785C94">Waveform
Generation Tasks</A></TD></TR><!-- begin duo-bevel-->
<TR class=navmono1>
<TD colSpan=4 height=1><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD></TR><!-- end duo-bevel -->
<TR class=finalbg style="CURSOR: hand"
onclick="window.location='http://zone.ni.com/devzone/devzone.nsf/webcategories/9EC98E9050A709D186256CD40078BE8D'; return true;">
<TD><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD>
<TD vAlign=top><IMG height=21 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/orange_right.gif"
width=4 border=0></TD>
<TD colSpan=2><A class=final
href="http://zone.ni.com/devzone/devzone.nsf/webcategories/9EC98E9050A709D186256CD40078BE8D">Function
Waveforms</A></TD></TR><!-- begin mono bevel-->
<TR class=navmono2>
<TD colSpan=4 height=1><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD></TR><!-- end mono bevel -->
<TR class=nav3bg style="CURSOR: hand"
onclick="window.location='http://zone.ni.com/devzone/devzone.nsf/webcategories/E0240C378D955C3586256CD40078A7AA'; return true;">
<TD><IMG height=1 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/invis.gif"
width=1 border=0></TD>
<TD vAlign=top><IMG height=21 alt=""
src="Generating Standard Waveforms with the NI 5401-NI 5411- NI 5431 Function Generator - Example - Development Library - National Instruments.files/blue_right.gif"
width=4 border=0></TD>
<TD colSpan=2><A class=nav3
href="http://zone.ni.com/devzone/devzone.nsf/webcategories/E0240C378D955C3586256CD40078A7AA">Arbitrary
and Modulated Waveforms</A></TD></TR><!-- begin mono bevel-->
<TR class=navmono2>
<TD colSpan=4 height=1><IMG height=1 alt=""
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -