
Chapter 2
73
Programming Fundamentals
Using the Instrument Status Registers
You can monitor conditions in different ways.
• Check the current instrument hardware and firmware status.
Do this by querying the condition registers which continuously
monitor status. These registers represent the current state of the
instrument. Bits in a condition register are updated in real time.
When the condition monitored by a particular bit becomes true, the
bit is set to 1. When the condition becomes false, the bit is reset to 0.
• Monitor for the occurrence of a particular condition (bit).
Once you have enabled a bit, using the event enable register, the
instrument will monitor that particular bit. If the bit becomes true
in the event register, it will stay set until the event register is
cleared. Querying the event register allows you to detect that this
condition occurred even if the condition no longer exists. The event
register can only be cleared by querying it or sending the *CLS
command, which clears all event registers.
• Monitor any changes in a particular condition (bit).
Once you have enabled a bit, the instrument will monitor it for a
change in its condition. The transition registers are preset to
register the conditions going from 0 to 1, positive transitions. This
can be changed so that the selected bit is detected if it goes from true
to false (negative transition), or if either transition occurs.
Summary of Contents for E4406A VSA Series
Page 4: ...4 ...
Page 59: ...59 2 Programming Fundamentals ...
Page 124: ...124 Chapter2 Programming Fundamentals Using the LAN to Control the Analyzer ...
Page 125: ...125 3 Programming Examples ...
Page 164: ...164 Chapter3 Programming Examples Using Java Programming Over Socket LAN ...
Page 165: ...165 4 Programming Command Cross References ...
Page 379: ...379 6 Error Messages ...
Page 412: ...412 Chapter6 Error Messages Error Message Descriptions ...