![Agilent Technologies Infiniium 90000 Q-Series Programmer'S Manual Download Page 53](http://html1.mh-extra.com/html/agilent-technologies/infiniium-90000-q-series/infiniium-90000-q-series_programmers-manual_2868674053.webp)
Introduction to Programming
3
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
53
Communicating with the Oscilloscope
Computers communicate with the oscilloscope by sending and receiving
messages over a remote interface, such as a GPIB card or a Local Area
Network (LAN) card. Commands for programming normally appear as
ASCII character strings embedded inside the output statements of a "host"
language available on your computer. The input commands of the host
language are used to read responses from the oscilloscope.
For example, the VISA COM library provides the WriteString() method for
sending commands and queries. After a query is sent, the response can be
read using the ReadString() method. The ReadString() method passes the
value across the bus to the computer and places it in the designated
variable.
The following WriteString() method sends a command that sets the channel
1 scale value to 500 mV:
myScope.WriteString ":CHANNEL1:SCALE 500E-3"
The VISA COM library setup is explained on the following pages.
N O T E
Use the Suffix Multiplier Instead
Using "mV" or "V" following the numeric voltage value in some commands will cause
Error 138 - Suffix not allowed. Instead, use the convention for the suffix multiplier as
described in
Chapter 5
, “Message Communication and System Functions,” starting on page
99.
Summary of Contents for Infiniium 90000 Q-Series
Page 1: ...s1 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference...
Page 50: ...50 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 2 Setting Up...
Page 274: ...274 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 14 Digital Commands...
Page 292: ...292 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 15 Disk Commands...
Page 318: ...318 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 16 Display Commands...
Page 364: ...364 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 17 Function Commands...
Page 382: ...382 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 19 Histogram Commands...
Page 412: ...412 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 21 Limit Test Commands...
Page 416: ...416 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 22 Lister Commands...
Page 696: ...696 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 25 Measure Commands...
Page 702: ...702 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 26 Pod Commands...
Page 760: ...760 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 29 Self Test Commands...
Page 818: ...818 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 31 System Commands...
Page 830: ...830 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 32 Time Base Commands...
Page 930: ...930 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 33 Trigger Commands...
Page 1018: ...1018 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 37 Error Messages...
Page 1150: ...1150 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference 38 Sample Programs...
Page 1186: ...1186 Agilent Infiniium 90000 Series Oscilloscopes Programmer s Reference Index...