⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 user defined duty cycle for a square wave output using the dds operation mode for ni 5401, ni 5411, or ni 5431 - example - development library - national instruments.htm

📁 我的程序 请看一下 多谢阿 会有用的
💻 HTM
📖 第 1 页 / 共 3 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0130)http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DAA756A4E034080020E74861&p_node=DZ52290&p_source=external -->
<HTML><HEAD><TITLE>User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments</TITLE><LINK 
href="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="When outputting a signal using DDS mode, a 16,384 point array, which represents the waveform, is loaded into the DDS buffer. The Configure Standard Waveform function in NI-FGEN has a 'waveform' input which automatically creates an array representing a standard waveform and loads this array into the DDS buffer. When 'square' is selected as the waveform input to this function, the square wave loaded into the buffer has a duty cycle of 50%.&#13;&#10;  &#13;&#10;If you want to output a square wave with a duty cycle other than 50%, you must create and load the raw data corresponding to this waveform into the DDS buffer manually. The following example demonstrates how to create the square wave with the desired duty cycle in LabVIEW and then demonstrates how to load this data into the DDS buffer for output.&#13;&#10;" 
name=description>
<META content=02-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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431" 
name=ShortTitle>
<META content=English name=Language>
<META content=NI name=ExampleSource>
<META content=42 name=HW>
<META content=846 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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&amp;action=view_cart"><IMG 
      height=8 alt="" 
      src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/cart.gif" 
      width=12 border=0></A>&nbsp; <A class=global 
      href="http://sine.ni.com/apps/we/nios.store?lang=us&amp;action=view_cart">view 
      cart</A>&nbsp;|&nbsp; <A class=global 
      href="http://www.ni.com/help/">help</A>&nbsp;|&nbsp;<SPAN 
      class=fineprint>search</SPAN>&nbsp;<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>&nbsp;<INPUT type=image 
      alt=Search 
      src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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 &amp; 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/zone_logo3.gif" 
      width=180 border=0></A><BR><IMG height=1 alt="" 
      src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=12 border=0></TD>
          <TD width=12><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=12 border=0></TD>
          <TD width=12><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=12 border=0></TD>
          <TD width=144><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=1 border=0></TD>
          <TD vAlign=top><IMG height=21 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=1 border=0></TD>
          <TD vAlign=top><IMG height=21 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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/9D95171DD614727B86256CD40078C2BC'; return true;">
          <TD><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=1 border=0></TD>
          <TD vAlign=top><IMG height=21 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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/9D95171DD614727B86256CD40078C2BC">Video 
            Waveforms</A></TD></TR><!-- begin mono bevel-->
        <TR class=navmono2>
          <TD colSpan=4 height=1><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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/1DCF8DA3251DC72E86256CD40078C701'; return true;">
          <TD><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=1 border=0></TD>
          <TD vAlign=top><IMG height=21 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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/1DCF8DA3251DC72E86256CD40078C701">Digital 
            Patterns</A></TD></TR><!-- begin mono bevel-->
        <TR class=navmono2>
          <TD colSpan=4 height=1><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - 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/ACDC15180C49290386256CD40078CB6E'; return true;">
          <TD><IMG height=1 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/invis.gif" 
            width=1 border=0></TD>
          <TD vAlign=top><IMG height=21 alt="" 
            src="User Defined Duty Cycle for a Square Wave Output Using the DDS Operation Mode for NI 5401, NI 5411, or NI 5431 - Example - Development Library - National Instruments.files/blue_right.gif" 
            width=4 border=0></TD>
          <TD colSpan=2><A class=nav3 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -