Usage, Diagnostic:custom:piecewise, Parameters – VXI VT1422A User Manual

Page 283: Comments

Advertising
background image

VT1422A Command Reference 281

Chapter 7

DIAGnostic

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(...)

Usage

DIAG:CUST:MXB 2.1,.19,(@10000:10131)

create table for chs 0000-0131

SENS:FUNC:CUST 1,1,(@10000:10131)

link custom EU with chs 0000-0131

DIAGnostic:CUSTom:PIECewise

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.

Parameters

Comments

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(...)

Usage

program puts table constants into array table_block

DIAG:CUST:PIEC table_block,(@124:131)

send table for chs 24-31 to VT1422A

SENS:FUNC:CUST 1,1,(@124:131)

link custom EU with chs 24-31

INITiate then TRIGger module

Parameter

Name

Parameter

Type

Range of

Values

Default

Units

table_range

numeric (float32)

0.015625 | 0.03125 | 0.0625 | 0.125 | 0.25 |

0.5 | 1 | 2 | 4 | 8 | 16 | 32 | 64

volts

table_block

definite length block

data

see comments

none

ch_list

channel list (string)

100 - 163

none

Advertising
This manual is related to the following products: