Data Types - Teledyne 300E Instruction Manual

Carbon monoxide analyzer
Table of Contents

Advertisement

Operating Instructions
COMMAND à Command Designator: This string is the name of the command being
issued (LIST, ABORT, NAME, EXIT, etc.). Some commands may have additional
arguments that define how the command is to be executed.
<CR> à Carriage Return: All commands must be terminated by a carriage return.

6.9.3. Data Types

Data types consist of integers, hexadecimal integers, floating-point numbers,
Boolean expressions, and text strings.
Integers
Integers are used to indicate integral quantities such as a number of records, a
filter length, etc. They consist of an optional plus or minus sign, followed by one or
more digits. For example, +1, -12, 123 are all valid integers.
Hexadecimal Integers
Hexadecimal integers are used for the same purposes as integers. They consist of
the two characters "0x," followed by one or more hexadecimal digits (0-9, A-F, a-f),
which is the C-language convention. No plus or minus sign is permitted. For
example, 0x1, 0x12, 0x1234abcd are all valid hexadecimal integers.
Floating Point Numbers
Floating-point numbers are used to specify continuously variable values such as
temperature set points, time intervals, warning limits, millivolts, etc. They consist
of an optional plus or minus sign, followed by zero or more digits, an optional
decimal point, and zero or more digits. (At least one digit must appear before or
after the decimal point.) Scientific notation is not permitted. For example, +1.0,
1234.5678, -.1, 1 are all valid floating-point numbers.
Boolean Expressions
Booleans are used to specify the value of variables or I/O signals that may assume
only two values. They are denoted by the keywords ON and OFF.
Strings
Text strings are used to represent data that cannot be easily represented by the
other data types, such as data channel names, which may contain letters and
numbers. They consist of a double quote, followed by one or more printable
characters, including spaces, letters, numbers, and symbols, and a final double
quote. For example, "a", "1", "123abc", and "()[]<>" are all valid text strings.
There is no way to include the double quote character in a text string.
98
Model 300E Carbon Monoxide Analyzer
Instruction Manual
P/N 04288 REV: A

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents