Syntax |
Top Previous Next |
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
ParametersVi 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. Instrument CommandCALCulate{Channel}:UNITs {DBM|W|V|DBV|DBMV|DBUV} CALCulate{Channel}:UNITs? Allowed ValuesBTN55XXX_VAL_UNITSD_BM, BTN55XXX_VAL_UNITSWATTS, BTN55XXX_VAL_UNITSVOLTS, BTN55XXX_VAL_UNITSDBV, BTN55XXX_VAL_UNITSDBMV, BTN55XXX_VAL_UNITSDBUV Defined Values
RequirementsSupported ModelsAll supported See AlsoReference |