Teledyne T200H/M Drums User Manual


 
Teledyne API - Model T200H/T200M Operation Manual Operating Instructions
171
4.15.2.4. Data Types
Data types consist of integers, hexadecimal integers, floating-point numbers, Boolean
expressions and text strings.
Integer data 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 integer data 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’ programming language convention. No plus or minus sign
is permitted. For example, 0x1, 0x12, 0x1234abcd are all valid hexadecimal
integers.
Floating-point numbers are used to specify continuously variable values such as
temperature set points, time intervals, warning limits, voltages, 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, -
0.1, 1 are all valid floating-point numbers.
Boolean expressions 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.
Text strings are used to represent data that cannot be easily represented by other
data types, such as data channel names, which may contain letters and numbers.
They consist of a quotation mark, followed by one or more printable characters,
including spaces, letters, numbers, and symbols, and a final quotation mark. For
example, “a”, “1”, “123abc”, and “()[]<>” are all valid text strings. It is not possible to
include a quotation mark character within a text string.
Some commands allow you to access variables, messages, and other items, such
as DAS data channels, by name. When using these commands, you must type the
entire name of the item; you cannot abbreviate any names.
07270B DCN6512