Numeric Program Data - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

Numeric Program Data

Some command headers require program data to be expressed numerically.
For example, :TIMEBASE:RANGE requires the desired full- scale range to
be expressed numerically.
For numeric program data, you can use exponential notation or suffix
multipliers to indicate the numeric value. The following numbers are all
equal:
28 = 0.28E2 = 280E- 1 = 28000m = 0.028K = 28E- 3K
When a syntax definition specifies that a number is an integer, it means
that the number should be whole. Any fractional part is ignored and
truncated. Numeric data parameters that accept fractional values are
called real numbers.
All numbers are expected to be strings of ASCII characters.
• When sending the number 9, you would send a byte representing the
• A three- digit number like 102 would take up three bytes (ASCII codes
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference
ASCII code for the character "9" (which is 57).
49, 48, and 50). The number of bytes is figured automatically when you
include the entire instruction in a string.
Introduction to Programming
3
67

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents