collapse_allSyntax

Top  Previous  Next

 

Boonton55xxx IVI Driver Reference


 

BTN55XXX_ATTR_CHANNEL_UNITS Attribute


Channel See Also



Set or return units for the selected channel. Voltage is calculated with reference to the sensor input impedance. Note that for ratiometric results, logarithmic units will always return dBr (dB relative) while linear units return percent.

Attribute Tree Node: \Boonton55xxx\Instrument Specific\Channel\Units

Declaration: Btn55xxx.h

Implementation: Btn55xxx.dll

Visual C++

#define BTN55XXX_ATTR_CHANNEL_UNITS 1150014
ViStatus Btn55xxx_GetAttributeViInt32(
 ViSession Vi,
 ViConstString RepCapIdentifier,
 ViAttr AttributeID,
 ViInt32AttributeValue
);
ViStatus Btn55xxx_SetAttributeViInt32(
 ViSession Vi,
 ViConstString RepCapIdentifier,
 ViAttr AttributeID,
 ViInt32 AttributeValue
);

Parameters

Vi

The ViSession handle that you obtain from the IviDriver_init or IviDriver_InitWithOptions function. The handle identifies a particular instrument session.

RepCapIdentifier

A physical or virtual repeated capability identifier. For valid values, see the Channel repeated capability.

AttributeID

Must be BTN55XXX_ATTR_CHANNEL_UNITS.

AttributeValue (GetAttribute)

Returns the current value of the attribute. The user must specify the address of a variable that has the same data type as the attribute.

AttributeValue (SetAttribute)

The value to which to set the attribute.

collapse_allInstrument Command

CALCulate{Channel}:UNITs {DBM|W|V|DBV|DBMV|DBUV}

CALCulate{Channel}:UNITs?

collapse_allAllowed Values

BTN55XXX_VAL_UNITSD_BM, BTN55XXX_VAL_UNITSWATTS, BTN55XXX_VAL_UNITSVOLTS, BTN55XXX_VAL_UNITSDBV, BTN55XXX_VAL_UNITSDBMV, BTN55XXX_VAL_UNITSDBUV

collapse_allDefined Values

Name

Description

BTN55XXX_VAL_UNITSD_BM

dBm

BTN55XXX_VAL_UNITSWATTS

Watts.

BTN55XXX_VAL_UNITSVOLTS

Volts.

BTN55XXX_VAL_UNITSDBV

dB relative to volts.

BTN55XXX_VAL_UNITSDBMV

dB relative to milliwatts.

BTN55XXX_VAL_UNITSDBUV

dB relative to microwatts.

Top

collapse_allRequirements

Supported Models

All supported

collapse_allSee Also

Reference

Channel

Btn55xxx

Footer image

Copyright 2013-16 Boonton. All rights reserved.