Write/Read |
About Attenuation |
Description |
Sets or returns the value of the source attenuator for the specified port number. Sending this command automatically sets AttenuatorMode to Manual. |
VB Syntax |
object.Attenuator(portNum) = value |
Variable |
(Type) - Description |
object |
Channel (object) or CalSet (object) - Read-only property |
portNum |
(long integer) - Port number of source attenuator to be changed. |
value |
(double) - Attenuation value. The range of settable values depends on the PNA model. To determine the valid settings, do one of the following:
If an invalid attenuation setting is entered, the PNA will select the next lower valid value. For example, if 19 is entered, then for an E8361A, 10 dB attenuation will be selected. |
Return Type |
Double |
Default |
20 dB |
Examples |
chan.Attenuator(1) = 20 'Write |
attn = chan.Attenuator(cnum) 'Read |
|
C++ Syntax |
HRESULT get_Attenuator(long port, double *pVal) |
Interface |
IChannel ICalSet3 |
Last Modified:
28-Mar-2011 |
Fixed typo |
25-Oct-2007 |
Edit value text |
30-Apr-2007 |
Minor edits |