Agilent Technologies ESG Especificaciones Pagina 177

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 259
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 176
Programming Guide 2-99
ESG Family Signal Generators Programming Commands and Examples
Reading the Status Byte, Example Program 10
Program Comments
10 to 50: Program title
60: Assigns the signal generator’s GPIB address to a variable.
70 to 80: Resets the signal generator’s parser, clears any pending output, and clears the controller’s
display.
90: Resets the signal generator’s Status Byte Register.
100: Checks function FNStat_con for an UNLEVELED condition. If the signal generator is
unleveled, prints a message to the controller’s display.
110: Checks function FNStat_con for an External 1 Undermod condition. If the modulation level
input at EXT 1 is low, prints a message to the controller’s display.
120: Checks function FNStat_con for an External 1 Overmod condition. If the modulation level
input at EXT 1 is high, prints a message to the controller’s display.
130: Checks function FNStat_con for an External 2 Undermod condition. If the modulation level
input at EXT 2 is low, prints a message to the controller’s display.
140: Checks function FNStat_con for an External 2 Overmod condition. If the modulation level
input at EXT 2 is high, prints a message to the controller’s display.
150: Checks function FNStat_con for an OVEN COLD condition. If the internal 10 MHz
Reference Standard Oven is cold, prints a message to the controller’s display. NOTE: This
condition is valid only for instruments having the high stability timebase (ESG-AP, ESG-DP,
and Option 1E5).
160: Checks function FNStat_con for a synthesizer unlocked condition. If unlocked, prints a
message to the controller’s display.
170: Checks function FNStat_con for a 10 MHz reference unlocked condition. If unlocked, prints a
message to the controller’s display.
180: Checks function FNStat_con for a 1 GHz reference unlocked condition. If unlocked, prints a
message to the controller’s display.
190: Checks function FNStat_con for a baseband synthesizer unlocked condition. If unlocked,
prints a message to the controllers display.
200 to 230: Ends conditional section.
240 to 250: Defines the function FNStat_con. This main program passes the signal generator’s address
and a string indicating what condition to check for to this section of the program. Select/Case
statements are used to determine which Data Questionable Status Register is checked. The
proper bit within the register is then enabled and read. The state of the bit is then returned
to the program (lines 100 190).
260: Selects cases dealing with the Data Questionable Modulation Status Group.
270 to 300: Assigns values to the variable <Bit_number> according to the variable <Condition_name$>.
310: Enables all bits in the Data Questionable Modulation event register.
320 to 330: Queries the Data Questionable Modulation Event Register and stores it in the variable
<Condition>.
340: Selects the case of an UNLEVELED condition.
Vista de pagina 176
1 2 ... 172 173 174 175 176 177 178 179 180 181 182 ... 258 259

Comentarios a estos manuales

Sin comentarios