RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
558
Delayed Short
List Command
write_da_2_list
Function see write_da_x_list
Call
write_da_2_list( Value )
Parameter
Value
12-bit output value for the ANALOG OUT2 analog output port as an unsigned
32-bit value. Higher bits are ignored.
Value
= 0 corresponds to an output value of 0 V,
Value
= 2
12
–1 to an output value of 10 V.
RTC
®
4
RTC
®
5 unchanged functionality
In RTC
®
4 compatibility mode: as write_da_x
Ctrl Command write_da_x
Function writes an output value to one of the analog output ports of the RTC
®
5.
Call
write_da_x( x, Value )
Parameters
x
Number of the analog output port as an unsigned 32-bit value.
Allowed range: [1, 2] (1: ANALOG OUT1, 2: ANALOG OUT2)
Value
12-bit output value for the selected analog output port as an unsigned 32-bit
value. Higher bits are ignored.
Value
= 0 corresponds to an output value of 0 V,
Value
= 2
12
–1 to an output value of 10 V.
Comments • Also see "12-Bit Analog Output Ports", page 204.
• The output range of the analog output ports is 0 V … 10 V.
•For
x
< 1 or
x
> 2, the command is ignored (get_last_error return code
RTC5_PARAM_ERROR
).
• The commands write_da_1 / write_da_2 can be used alternatively to write_da_x
(without parameter
x
).
RTC
®
4
RTC
®
5 unchanged functionality
In RTC
®
4 compatibility mode, the RTC
®
5 multiplies the specified
Value
by 4 (the RTC
®
4’s
analog outputs only had 10-bit resolution).
Delayed Short
List Command
write_da_x_list
Function same as write_da_x (see above), but a list command
Call
write_da_x_list( x, Value )
Parameters
x
Number of the analog output port as an unsigned 32-bit value.
Allowed range: [1, 2] (1: ANALOG OUT1, 2: ANALOG OUT2)
Value
12-bit output value for the selected analog output port as an unsigned 32-bit
value. Higher bits are ignored.
Value
= 0 corresponds to an output value of 0 V,
Value
= 2
12
–1 to an output value of 10 V.
Comments • For
x
< 1 or
x
> 2, the command is replaced with a list_nop (get_last_error return
code
RTC5_PARAM_ERROR
).
RTC
®
4
RTC
®
5 unchanged functionality
In RTC
®
4 compatibility mode: as write_da_x