Diagnostic:custom:piecewise; Diagnostic:custom:piecewise <Table_Range>,<Table_Block>, (@<Ch_List>) - VXI VT1422A User Manual

Remote channel multi-function dac module user’s and scpi programming manual
Table of Contents

Advertisement

Usage

DIAGnostic:CUSTom:PIECewise

Parameters
Comments
Usage
Chapter 7
The <offset> parameter specifies the conversion offset at zero input volts. This
parameter is also commonly known as the "Y-intercept."
<ch_list> specifies which channels may use this custom linear function.
Related Commands: [SENSe:]FUNCtion:CUSTom (<ch_list>)
*RST Condition: All custom EU tables erased
Send with VXIplug&play Function: hpe1422_cmd(...)
DIAG:CUST:MXB 2.1,.19,(@10000:10131)
SENS:FUNC:CUST 1,1,(@10000:10131)
DIAGnostic:CUSTom:PIECewise <table_range>,<table_block>, (@<ch_list>)
downloads a custom piece wise Engineering Unit Conversion table (in <table_block>)
to the VT1422A. Contact a VXI Technology System Engineer for more information
on Custom Engineering Unit Conversion for specific applications.
Parameter
Parameter
Name
Type
table_range
numeric (float32)
table_block
definite length block
data
ch_list
channel list (string)
The <table_block> parameter 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. The VXIplug&play function hpe1415_sendBlockUInt16(ViSession vi,
ViString cmd_str, ViInt32 table[ ], ViInt32 size) adds the header automatically.
The <table_range> parameter specifies the range of voltage that the table covers
(from -<table_range> to +<table_range>).
The <ch_list> parameter specifies which channels may use this custom EU table.
Related Commands: [SENSe:]FUNCtion:CUSTom
*RST Condition: All custom EU tables erased.
Use VXIplug&play function: hpe1422_sendBlockUInt16(...)
program puts table constants into array table_block
DIAG:CUST:PIEC table_block,(@124:131)
SENS:FUNC:CUST 1,1,(@124:131)
INITiate then TRIGger module
create table for chs 0000-0131
link custom EU with chs 0000-0131
Range of
Values
0.015625 | 0.03125 | 0.0625 | 0.125 | 0.25 |
0.5 | 1 | 2 | 4 | 8 | 16 | 32 | 64
see comments
100 - 163
send table for chs 24-31 to VT1422A
link custom EU with chs 24-31
VT1422A Command Reference
DIAGnostic
Default
Units
volts
none
none
281

Advertisement

Table of Contents
loading

Table of Contents