6. FPG TOOLS
Page 99
© 2007 DH Instruments, a Fluke Company
6.8.2.6
REMOTE COMMAND EDITOR
The remote command editor is used to define commands issued using an RS232
or IEEE-488 interface. The editor changes display options based on the type of
command being set up. Some commands require a response while others do
not. The remote command editor is connected to the DUT Definition
[Initialization]
and
[Read]
command setups. The editor features are described
in the following sections.
6.8.2.6.1
<Leading Characters to Strip>
<Leading characters to strip>
applies only to
<Read>
commands. The value
entered specifies the number of leading characters to strip from the
device response. This is used to allow FPG Tools to properly interpret the output
when the response does not start with the output value. This field can include
any combination of delimiters and numerical space values.
For example, a device might return the string, “Pressure:4.343 Pa”. The actual
output value for this example appears at position 9. Therefore, nine leading
characters need to be stripped prior to processing the string. Alternatively, if the
colon following “Pressure” will always appear prior to the pressure value, “:” could
be entered as the leading character to strip. In some cases both a delimiter and
a number of characters to strip may be required. For example, if a remote device
returns “Range 1, 4.34 volts, NR 4.431 psi”, the number of characters in the volts
output can change making it impossible to use a fixed length value for the
number of spaces to remove to access the pressure value. To avoid this
problem enter the text
<,,4>
as the leading characters to strip value. This tells
FPG Tools
to move to the second comma, then increment four spaces to read
the pressure output value.
Only non-numeric text can be used as a delimiter in the leading characters to
strip field. All numerical entries are assumed to represent the corresponding
numerical value.
6.8.2.6.2
Insert Special Character
Press the
<Ins>
(insert) key to activate the
<Insert Special Character>
option in
the event a nonprintable ASCII character is a required part of the
remote command. When activated the
<ASCII Characters>
window displays.
Select
<Hex>
to select the character using the hexadecimal value or
<Decimal>
to select based on the decimal value. Most non-printable characters will display
as a square, printable characters will display as their actual ASCII values.
Scroll to the desired character then press the
<Insert>
button. The cursor will
turn into a pencil that should be used to point to the location in which the
character should be inserted. Move the cursor to the proper position in the
command string, then click the mouse button.
Figure 53. <Insert Special Character>
Panel