beautypg.com

Data format configuration – Measurement Computing TempScan/1100 User Manual

Page 84

background image

4-26 System Configuration

879596

TempScan / MultiScan User's Manual

Data Format Configuration

Readings from the TempScan/1100 or MultiScan/1200 are outputted in the format that you have
configured. The Set Data Format (

F

) command determines whether Engineering Units converted from

ASCII, a Binary format, or an unconverted ASCII raw-data count is used; and if Engineering Units is
selected, determines what kind of Engineering Units is used.

All commands and input data issued by the PC/IEEE 488 controller to the TempScan/1100 or
MultiScan/1200 unit are in ASCII code (in converted Engineering Units or unconverted ASCII Counts).
Only output data supplied by the TempScan/1100 or MultiScan/1200 unit, such as Time/Date stamps for
High/Low/Last registers, may be returned in Binary format. Both the IEEE 488 and RS-232 interfaces
support data retrieval in ASCII code (in converted Engineering Units or unconverted ASCII Counts) and,
for high-speed applications, in Binary format. The terminators End of Reading and End of Scan are not
used with Binary data transfers. For the IEEE 488 interface, EOI is asserted on the last byte.

The available options for the basic data format, via the

format

parameter of the Set Data Format (

F

)

command, include: Engineering Units (default), Binary with High Byte first, Binary with Low Byte first,
and ASCII Count. In turn, the available options for the Engineering Units, via the

engr

parameter,

include: Degrees Celsius (°C, default), Degrees Fahrenheit (°F), Degrees Rankine (°R), Degrees Kelvin
(°K), and Volts (V).

Data Input Formats

Before reading the acquisition data, issuing the Set Data Format (

F

) command determines the format of

input data – in the form of command parameters – coming from the PC/IEEE 488 controller. However, the
only command parameters for which the

F

command can determine the data input format, are the high

setpoint, low setpoint, and the hysteresis parameters of the Configure Channels (

C

) command, and the level

and hysteresis parameters of the Set Trigger Level (

L

) command. These are the only command parameters

over which the Set Data Format (

F

) command has control.

Note: (1) The above channel and Trigger level parameters cannot be interpreted as a Binary format.

(2) If an Engineering Units or Binary format is selected as the data input format, then the
channel and Trigger level values will be interpreted as Engineering Units. (3) If the ASCII
Count format is selected as the data input format, then the channel and Trigger level values
will be interpreted as Count, and the Engineering Units

engr

parameter will be ignored.

Example 12k. Data Input Format Cases

PRINT#1,"OUTPUT07; F0,0X"

Case 1: This command line interprets the relevant high setpoint, low setpoint, level, and/or hysteresis

parameters as Engineering Units, Degrees C for the next

C

or

L

command issued.

PRINT#1,"OUTPUT07; F1,1X"

Case 2: This command line interprets the relevant high setpoint, low setpoint, level, and/or hysteresis

parameters as Engineering Units, Degrees F (even though the Binary format is specified) for the next

C

or

L

command issued.

PRINT#1,"OUTPUT07; F3,3X"

Case 3: This command line interprets the relevant high setpoint, low setpoint, level, and/or hysteresis

parameters as ASCII Counts for the next

C

or

L

command issued. In this case, the Engineering Units

engr

parameter is ignored.

This manual is related to the following products: