![Z-Tec ZT4611 Скачать руководство пользователя страница 39](http://html1.mh-extra.com/html/z-tec/zt4611/zt4611_user-manual_3088212039.webp)
0004-000067
39
Waveform Process Variables
The following table lists the PVs for the acquired waveforms. In the following table,
N
is
substituted with the appropriate channel number (for example: Inp1Wave). The ZT4xx1
has two input channels and the ZT4xx2 has four input channels. There are four
calculate channels and four reference channels. Waveform PVs can only be read
(downloaded) from the instrument.
The size of the waveform allowed to be transmitted via channel access is limited by
EPICS_CA_MAX_ARRAY_BYTES and by the PVs number of elements (NELM). Note
the maximum array bytes setting is in bytes, but the waveform PVs in EPICS use points
to define their size. Make sure each waveform PV’s values fit the following:
If FTVL is LONG then: (NELM x 4)
≤
EPICS_CA_MAX_ARRAY_BYTES
If FTVL is DOUBLE then: (NELM x 8)
≤
EPICS_CA_MAX_ARRAY_BYTES
Scaled Wave and Time PVs are doubles, so they require 8 bytes per point. Wave PVs
are long integers, so they require 4 bytes per point. The NELM size is in points, so it
should be the same for all waveforms regardless of FTVL. This can be changed in the
PV file: set the maximum values as required and then upload the PV file to the
instrument. Default values are 1000 points for all waveform PVs, and the default
EPICS_CA_MAX_ARRAY_BYTES is 16384.
If NELM is less than the number of points captured by the instrument, a valid decimated
waveform will be returned. Decimation occurs in steps of 1, 2 and 5. Example: if
Inp1Wave has a NELM of 1000 and the instrument captures 1,500 points, every other
point will be returned for a total of 750 points. The remaining 250 points will be zeroes.
Note continuous acquisition mode waveforms are always decimated to 1000 points.
Process Variable Type
Values
Description
Inp
N
WavePoints
longin
10 to 65535
The number of actual data points stored in
Inp
N
Wave, Inp
N
ScaledWave and InpScaledTime.
Inp
N
Wave waveform
-2147483648
to
2147483647
Signed short integer waveform data in codes for
selected input channel
Inp
N
ScaledWave waveform -inf to +inf
Floating point scaled waveform data in Volts for
selected input channel
InpScaledTime
waveform 0 to 100
Floating point scaled time (X-axis) waveform data
in seconds for all input channel
Inp
N
Timestamp ai
0.0
to
0.9999999
Relative timestamp in seconds for acquired
waveform, 1 second wrap period, 100 ns
resolution
Calc
N
WavePoints longin
10 to 65535
The number of actual data points stored in
Calc
N
Wave, Calc
N
ScaledWave and
Calc
N
ScaledTime.
Calc
N
Wave waveform
-2147483648
to
2147483647
Signed short integer waveform data in codes for
selected calculate channel
Содержание ZT4611
Страница 59: ...0004 000067 59 ZTEC Instruments...