www.vtiinstruments.com
VM3608A/3616A Programming
47
R
EGISTER
A
CCESS
The VM3608A/3616A module provides direct register access for faster data access. The DAC
output values may be programmed using direct register access providing maximum speed. In FIFO
mode, the data stream is sent to the instrument via direct register access. In Arbitrary Waveform
Generator (ARB) mode, the waveform data may be input using either word serial data access or
register-based data access.
The register map is as shown in Table 3-1 below.
P
ROGRAMMING THE
DAC
S VIA
R
EGISTER ACCESS
In order to program a particular channel to a particular voltage value, the equivalent 16-bit
representation must be computed first. Second, the computed value must be written to the register
at the offset corresponding to that channel. When
SOURce:VOLTage:FORMat
is set to 1 or ON,
the Register value is calculated as:
The nearest integer value of: ((Voltage * 65535) / Full Range + 32768)
Where:
Voltage
is the desired output value
Full Range
is the total of Maximum positive |Maximum Negative Output|
For the 20 V range, this value is 39.99939
For the 10 V range, this value is 19.99969
For example, if Channel 1 is set to the 20V range, and is to be programmed to 10volts, compute
the 16-bit equivalent representation for 10 volts as follows:
((10 * 65535) / 39.99939) + 32768 = 49151.999856 ~ 49152
When
SOURce:VOLTage:FORMat
is set to 0 or OFF, the Register value is calculated as:
The nearest integer value of: (Voltage * 65535) / Full Range
When the decimal result is converted into a 16-bit hexadecimal value, the format will be
#H0 to #H7FFF = 0 to (<range> - LSB),
and #H8000 to #HFFFF = -<range> to (0 - LSB);
where <range> is 10V for the 10V range, and 20V for the 20V range,
and LSB = (2 * <range>) / 65536.
For example, if Channel 1 is set to the 20 V range, and is to be programmed to -10 V, compute the
16-bit equivalent representation for -10 V as follows:
(-10 * 65535) / 39.99939 = -16383.999856 ~ -16384
Converted to hexadecimal -16384 = #HC000.
Содержание VM3608A
Страница 2: ...VTI Instruments Corp 2 ...
Страница 6: ...VTI Instruments Corp 6 VM3608A 3616A Preface ...
Страница 12: ...VTI Instruments Corp 12 VM3608A 3616A Preface ...
Страница 18: ...VTI Instruments Corp 18 VM3608A 3616A Introduction ...
Страница 134: ...VTI Instruments Corp 134 VM3608A 3616A Command Dictionary ...