Loading Tables for
Non-Linear Conversions
The
DIAGnostic:CUSTom:PIECewise <
table_range
>,<
table_block
>,(@<
ch_list
>)
command downloads a custom piecewise EU conversion table to the
HP E1413 for each channel specified.
•
<
table_block
>
is a block of 1,024 bytes that define 512 16-bit values.
SCPI requires that
<
table_block
>
include the definite length block
data header. C-SCPI adds the header for you.
•
<
table_range
>
specifies the range of input voltage that the table
covers (from –
<
table_range
>
to +
<
table_range
>
). The value you
specify must be within 5% of:
.015625 | .03125 | .0625 | .125 | .25 | .5 | 1 | 2 | 4 | 8 | 16 | 32 | 64.
•
<
ch_list
>
specifies which channels will have this custom EU table loaded.
Usage Example
Your program puts table constants into array table_block.
DIAG:CUST:PIEC
table_block
,1,(@124:131)
Send table for channels 24-31 to
HP E1413.
SENS:FUNC:CUST 1,1,(@124:131)
Link custom EU with channels
24-31 and set the 1V A/D range.
INITiate then TRIGger module
Linking Custom
EU Tables
The
[SENSe:]FUNCtion:CUSTom [<
range
>,](@<
ch_list
>)
command links
channels with the custom EU conversion table loaded with the
DIAGnostic:CUSTom:LINear
or
DIAGnostic:CUSTom:PIECewise
commands.
Two other custom linking commands are available for custom thermocouple
measurements:
[SENSe:]FUNCtion:CUSTom:TCouple <
type
>,[<
range
>,](@<
ch_list
>)
and
[SENSe:]FUNCtion:CUSTom:REFerence [<
range
>,](@<
ch_list
>)
A full explanation of these custom temperature EU linking commands can
be found starting on page 136.
•
The
<
range
>
parameter selects one of the HP E1413’s voltage
ranges: .0625 | .25 | 1 | 4 | 16. To select a range, simply specify the
range. Specifying
0
selects the lowest range (.0625VDC).
Specifying
AUTO
selects autorange. The default range (no range
parameter specified) is autorange. If an A/D reading is greater than
the
<
table_range
>
specified with
DIAGnostic:CUSTom:PIECewise
,
an overrange condition will occur.
•
The
<
type
>
command is for the
SENSe:FUNCtion:CUSTom:TCouple
command and it specifies the type of thermocouple wire.
•
If no custom table has been loaded for the channels specified with
SENSe:FUNCtion:CUSTom
, an error will be generated when an
INITiate
command is given.
80 Using the HP E1313/E1413
Chapter 3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com