beautypg.com

Waveform transfer – B&K Precision 2552-2559 - Programming Manual User Manual

Page 127

background image

127

DESCRIPTION

The WAVEFORM_SETUP command specifies

the amount of data in a waveform to be
transmitted to the controller. The command
controls the settings of the parameters listed
below.


Note: This command currently only support NP

Notation

FP

first point

NP

number of points

SP

sparsing

Sparsing (SP): The sparsing parameter defines
the interval between data points. For example:
SP = 0 sends all data points
SP = 1 sends all data points
SP = 4 sends every 4th data point

Number of points (NP): The number of points
parameter indicates how many points should be
transmitted. For example:
NP = 0 sends all data points
NP = 1 sends 1 data point
NP = 50 sends a maximum of 50 data points
NP = 1001 sends a maximum of 1001 data
points

First point (FP): The first point parameter
specifies the address of the first data point to be
sent. For waveforms acquired in sequence mode,
this refers to the relative address in the given
segment. For example:
FP = 0 corresponds to the first data point
FP = 1 corresponds to the second data point
FP = 5000 corresponds to data point 5001

The WAVEFORM_SETUP? query returns the
transfer parameters currently in use.


COMMAND SYNTAX

WaveForm_SetUp SP, , NP,

, FP,

WAVEFORM TRANSFER

WAVEFORM_SETUP, WFSU

Command /Query