<Units> Element

Instrument
DCA-X
N109x
UXR Scope
Flex Apps:
FlexDCA
FlexRT

The <Units> element specifies the units of measurement for the selected <Integer> or <Double> User-Defined Control. The following table lists all of the valid measurement units with an abbreviated version, if supported. All unit names in the table are not case sensitive. For example, you can enter Ampere, ampere, or aMpErE. The units of measurement are show in the control field along with any multiplier. For example, 9.953 GHz. Although the units are not available or sent to the script, the units serve a reminder of the type of data entered in the control field.

Valid Measurement Units
Full Name Abbreviation
(if available)
none  
ampere A
Bit Error Ratio BER
bits  
Bd  
Cycle c
dBm  
decibel dB
division div
inch in
Farad F
feet ft
gain  
Henry H
Hertz Hz
hits hits
hour  
meter m
minute min
Ohm  
percent %
points pts
ratio ' : 1'
Do not include apostophe (') characters as part of the elements contents. The apostophes show that a space character is required before and after the colon (:) character. For example, <Units>' : 1'</Units> is not valid and will cause an error. However, <Units> : 1</Units> is valid. It is easier and more reliable simply to use the full name "ratio".
reflect  
sample Sa
second s
Unit Amplitude UA
Unit Interval UI
Unknown U
Volt V
Watt W
waveform wfm

Parent Elements

Child Elements

None

Attributes

None

Example

  • <Function>
  • <Control Name = "Fc">
  • <Double>
  • <Min>10e6</Min>
  • <Max>1000e9</Max>
  • <Resolution>1000</Resolution>
  • <Units>Hertz</Units>
  • <Default>7.5e9</Default>
  • </Double>
  • </Control>
  • </Function>