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

📄 functaumg369xb_configurealternatesweepfrequency.html

📁 介绍了GPIB在开发mg369*仪器的自动控制方面的技巧和注意事项
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <link rel="stylesheet" href="htmlhelp.css" type="text/css">
    <title>aumg369xb_configureAlternateSweepFrequency</title>
  </head>
  <body>
    <h1>aumg369xb_configureAlternateSweepFrequency</h1>
    <p class="syntax">
      ViStatus aumg369xb_configureAlternateSweepFrequency
             (ViSession instrumentHandle, ViInt32 sweepRange,
              ViInt32 selectedPowerLevel);
    </p>
    <h2 class="purpose">Purpose</h2>
    <p class="body">
    This function configures the alternate sweep frequency parameters, including the sweep range and the power level.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </p>
    <h2>Parameters</h2>
    <table class="borderless" summary="Parameter help">
      <tr>
        <td valign="top"><em class="label">Input</em></td>
      </tr>
      <tr>
        <td class="tablehead">Name</td>
        <td class="tablehead">Type</td>
        <td class="tablehead">Description</td>
      </tr>
      <tr>
        <td class="paramName">instrumentHandle</td>
        <td class="paramDataType">ViSession</td>
        <td>
    <p class="body">
    This control accepts the Instrument Handle returned by the Initialize function to select the desired instrument driver session.
    <br/>
    Default Value:&nbsp;&nbsp;None
    </p>
        </td>
      </tr>
      <tr>
        <td class="paramName">sweepRange</td>
        <td class="paramDataType">ViInt32</td>
        <td>
    <p class="body">
    Specifies the sweep range for the alternate sweep.
    <br/>
    Valid Values:
    <br/>
    AUMG369XB_ALTERNATE_SWEEP_RANGE_FULL&nbsp;&nbsp;- Full
    <br/>
    AUMG369XB_ALTERNATE_SWEEP_RANGE_F1_F2 - F1 - F2
    <br/>
    AUMG369XB_ALTERNATE_SWEEP_RANGE_F3_F4 - F3 - F4 (Default)
    <br/>
    AUMG369XB_ALTERNATE_SWEEP_RANGE_F1_DF - F1 - dF
    <br/>
    AUMG369XB_ALTERNATE_SWEEP_RANGE_F5_DF - F5 - dF
    <br/>
    AUMG369XB_ALTERNATE_SWEEP_RANGE_F6_DF - F6 - dF
    </p>
        </td>
      </tr>
      <tr>
        <td class="paramName">selectedPowerLevel</td>
        <td class="paramDataType">ViInt32</td>
        <td>
    <p class="body">
    Selects the alternate frequency sweep RF output power level.
    <br/>
    Valid Values:
    <br/>
    AUMG369XB_POWER_LEVEL_L0 - L0
    <br/>
    AUMG369XB_POWER_LEVEL_L1 - L1 (Default)
    <br/>
    AUMG369XB_POWER_LEVEL_L2 - L2
    <br/>
    AUMG369XB_POWER_LEVEL_L3 - L3
    <br/>
    AUMG369XB_POWER_LEVEL_L4 - L4
    <br/>
    AUMG369XB_POWER_LEVEL_L5 - L5
    <br/>
    AUMG369XB_POWER_LEVEL_L6 - L6
    <br/>
    AUMG369XB_POWER_LEVEL_L7 - L7
    <br/>
    AUMG369XB_POWER_LEVEL_L8 - L8
    <br/>
    AUMG369XB_POWER_LEVEL_L9 - L9
    </p>
        </td>
      </tr>
    </table>
    <h2>Return Value</h2>
    <table class="borderless" summary="Return value help">
      <tr>
        <td class="tablehead">Name</td>
        <td class="tablehead">Type</td>
        <td class="tablehead">Description</td>
      </tr>
      <tr>
        <td class="paramName">status</td>
        <td class="paramDataType">ViStatus</td>
        <td>
    <p class="body">
    This control contains the status code returned by the function call.
    <br/>
    Status Codes:
    <br/>
    Status&nbsp;&nbsp;&nbsp;&nbsp;Description
    <br/>
    -------------------------------------------------
    <br/>
    0&nbsp;&nbsp;No error (the call was successful).
    <br/>
    3FFC0101&nbsp;&nbsp;ID Query not supported - VI_WARN_NSUP_ID_QUERY&nbsp;&nbsp;&nbsp;
    <br/>
    3FFC0102&nbsp;&nbsp;Reset not supported - VI_WARN_NSUP_RESET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <br/>
    3FFC0103&nbsp;&nbsp;Self Test not supported - VI_WARN_NSUP_SELF_TEST&nbsp;&nbsp;
    <br/>
    3FFC0104&nbsp;&nbsp;Error Query not supported - VI_WARN_NSUP_ERROR_QUERY
    <br/>
    3FFC0105&nbsp;&nbsp;Revision Query not supported - VI_WARN_NSUP_REV_QUERY&nbsp;&nbsp;
    <br/>
    3FFF0005&nbsp;&nbsp;The specified termination character was read.
    <br/>
    3FFF0006&nbsp;&nbsp;The specified number of bytes was read.
    <br/>
    BFFC0001&nbsp;&nbsp;Parameter 1 out of range.
    <br/>
    BFFC0002&nbsp;&nbsp;Parameter 2 out of range.
    <br/>
    BFFC0003&nbsp;&nbsp;Parameter 3 out of range.
    <br/>
    BFFC0004&nbsp;&nbsp;Parameter 4 out of range.
    <br/>
    BFFC0005&nbsp;&nbsp;Parameter 5 out of range.
    <br/>
    BFFC0006&nbsp;&nbsp;Parameter 6 out of range.
    <br/>
    BFFC0007&nbsp;&nbsp;Parameter 7 out of range.
    <br/>
    BFFC0008&nbsp;&nbsp;Parameter 8 out of range.
    <br/>
    BFFC0011&nbsp;&nbsp;Instrument returned invalid response to ID Query
    <br/>
    BFFF0000&nbsp;&nbsp;Miscellaneous or system error occurred.
    <br/>
    BFFF000E&nbsp;&nbsp;Invalid session handle.
    <br/>
    BFFF0015&nbsp;&nbsp;Timeout occurred before operation could complete.
    <br/>
    BFFF0034&nbsp;&nbsp;Violation of raw write protocol occurred.
    <br/>
    BFFF0035&nbsp;&nbsp;Violation of raw read protocol occurred.
    <br/>
    BFFF0036&nbsp;&nbsp;Device reported an output protocol error.
    <br/>
    BFFF0037&nbsp;&nbsp;Device reported an input protocol error.
    <br/>
    BFFF0038&nbsp;&nbsp;Bus error occurred during transfer.
    <br/>
    BFFF003A&nbsp;&nbsp;Invalid setup (attributes are not consistent).
    <br/>
    BFFF005F&nbsp;&nbsp;No listeners condition was detected.
    <br/>
    BFFF0060&nbsp;&nbsp;This interface is not the controller in charge.
    <br/>
    BFFF0067&nbsp;&nbsp;Operation is not supported on this session.
    <br/>
    Notes:
    <br/>
    (1) Parameter Error Codes for parameters 1 through 8 are defined in the vpptype.h header file the range is BFFC0001 - BFFC0008;
    </p>
        </td>
      </tr>
    </table>
    <h2>References</h2>
    <p class="body">
      <a href="ClassFrequency.html">Frequency</a><br/>
      <a href="ClassConfiguration%20Functions.html">Configuration Functions</a><br/>
      <a href="Anritsu%20MG369XB%20Synthesizer.html">Anritsu MG369XB Synthesizer</a><br/>
      <a href="Alphabetical%20Function%20Index.html">Alphabetical Function Index</a><br/>
      <a href="Hierarchical%20Function%20Index.html">Hierarchical Function Index</a><br/>
    </p>
  </body>
</html>

⌨️ 快捷键说明

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