?? functaumg369xb_configureinternalpm.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_configureInternalPM</title>
</head>
<body>
<h1>aumg369xb_configureInternalPM</h1>
<p class="syntax">
ViStatus aumg369xb_configureInternalPM (ViSession instrumentHandle,
ViBoolean internalPMEnabled,
ViInt32 PMMode,
ViReal64 deviation_Radian,
ViReal64 rate_Hz, ViInt32 waveform);
</p>
<h2 class="purpose">Purpose</h2>
<p class="body">
This function turns on or turns off the selected internal PM and configures the deviation, the rate and the waveform.
</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: None
</p>
</td>
</tr>
<tr>
<td class="paramName">internalPMEnabled</td>
<td class="paramDataType">ViBoolean</td>
<td>
<p class="body">
Turns on or turns off the internal PM function.
<br/>
Valid Values:
<br/>
VI_FALSE - Off (Default)
<br/>
VI_TRUE - On
</p>
</td>
</tr>
<tr>
<td class="paramName">PMMode</td>
<td class="paramDataType">ViInt32</td>
<td>
<p class="body">
Turns on the internal PM function in narrow or wide mode.
<br/>
Valid Values:
<br/>
AUMG369XB_PM_MODE_NARROW - Narrow (Default)
<br/>
AUMG369XB_PM_MODE_WIDE - Wide
</p>
</td>
</tr>
<tr>
<td class="paramName">deviation_Radian</td>
<td class="paramDataType">ViReal64</td>
<td>
<p class="body">
Sets the internal PM deviation parameter.
<br/>
Valid Range:
<br/>
0.0025 to 5 radians in Phase Modulation Narrow mode; 0.25 to 500 radians in Phase Modulation Wide mode.
<br/>
Default Value: 1.0
<br/>
Unit: RD
</p>
</td>
</tr>
<tr>
<td class="paramName">rate_Hz</td>
<td class="paramDataType">ViReal64</td>
<td>
<p class="body">
Sets the internal PM rate parameter.
<br/>
Valid Range:
<br/>
0.1 Hz to 1 MHz for sine wave; 0.1 Hz to 100 kHz for square, triangle, and ramp waveforms.
<br/>
Default Value: 100000
<br/>
Unit: HZ
</p>
</td>
</tr>
<tr>
<td class="paramName">waveform</td>
<td class="paramDataType">ViInt32</td>
<td>
<p class="body">
Selects the internal PM waveform.
<br/>
Valid Values:
<br/>
AUMG369XB_WAVEFORM_SINE_WAVE - Sine Wave
<br/>
AUMG369XB_WAVEFORM_SQUARE_WAVE - Square Wave (Default)
<br/>
AUMG369XB_WAVEFORM_SQUARE_POSITIVE_RAMP - Square Positive Ramp
<br/>
AUMG369XB_WAVEFORM_SQUARE_NEGATIVE_RAMP - Square Negative Ramp
<br/>
AUMG369XB_WAVEFORM_SQUARE_GAUSSIAN_NOISE - Square Gaussian Noise
<br/>
AUMG369XB_WAVEFORM_SQUARE_UNIFORM_NOISE - Square Uniform Noise
<br/>
AUMG369XB_WAVEFORM_SQUARE_TRIANGLE_WAVE - Square Triangle Wave
</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 Description
<br/>
-------------------------------------------------
<br/>
0 No error (the call was successful).
<br/>
3FFC0101 ID Query not supported - VI_WARN_NSUP_ID_QUERY
<br/>
3FFC0102 Reset not supported - VI_WARN_NSUP_RESET
<br/>
3FFC0103 Self Test not supported - VI_WARN_NSUP_SELF_TEST
<br/>
3FFC0104 Error Query not supported - VI_WARN_NSUP_ERROR_QUERY
<br/>
3FFC0105 Revision Query not supported - VI_WARN_NSUP_REV_QUERY
<br/>
3FFF0005 The specified termination character was read.
<br/>
3FFF0006 The specified number of bytes was read.
<br/>
BFFC0001 Parameter 1 out of range.
<br/>
BFFC0002 Parameter 2 out of range.
<br/>
BFFC0003 Parameter 3 out of range.
<br/>
BFFC0004 Parameter 4 out of range.
<br/>
BFFC0005 Parameter 5 out of range.
<br/>
BFFC0006 Parameter 6 out of range.
<br/>
BFFC0007 Parameter 7 out of range.
<br/>
BFFC0008 Parameter 8 out of range.
<br/>
BFFC0011 Instrument returned invalid response to ID Query
<br/>
BFFF0000 Miscellaneous or system error occurred.
<br/>
BFFF000E Invalid session handle.
<br/>
BFFF0015 Timeout occurred before operation could complete.
<br/>
BFFF0034 Violation of raw write protocol occurred.
<br/>
BFFF0035 Violation of raw read protocol occurred.
<br/>
BFFF0036 Device reported an output protocol error.
<br/>
BFFF0037 Device reported an input protocol error.
<br/>
BFFF0038 Bus error occurred during transfer.
<br/>
BFFF003A Invalid setup (attributes are not consistent).
<br/>
BFFF005F No listeners condition was detected.
<br/>
BFFF0060 This interface is not the controller in charge.
<br/>
BFFF0067 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="ClassModulation.html">Modulation</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 + -