Agilent Technologies 2000 X-Series Servisní příručka Strana 797

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 930
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 796
More About Oscilloscope Commands 37
Agilent InfiniiVision 2000 X-Series Oscilloscopes Programmer's Guide 797
Query Return Values
Command headers immediately followed by a question mark (?) are
queries. Queries are used to get results of measurements made by the
instrument or to find out how the instrument is currently configured.
After receiving a query, the instrument interrogates the requested function
and places the answer in its output queue. The answer remains in the
output queue until it is read or another command is issued.
When read, the answer is transmitted across the bus to the designated
listener (typically a controller). For example, the query :TIMebase:RANGe?
places the current time base setting in the output queue. When using the
Agilent VISA COM library in Visual Basic, the controller statements:
Dim strQueryResult As String
myScope.WriteString ":TIMebase:RANGe?"
strQueryResult = myScope.ReadString
pass the value across the bus to the controller and place it in the variable
strQueryResult.
Infinity
Representation
The representation of infinity is +9.9E+37. This is also the value returned
when a measurement cannot be made.
NOTE
Read Query Results Before Sending Another Command. Sending another command or
query before reading the result of a query clears the output buffer (the current response)
and places a Query INTERRUPTED error in the error queue.
Zobrazit stránku 796
1 2 ... 792 793 794 795 796 797 798 799 800 801 802 ... 929 930

Komentáře k této Příručce

Žádné komentáře