RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
856
Ctrl Command write_da_x
Function Writes an output value to one of the analog output ports of the RTC6.
Call
write_da_x( x, Value )
Parameters
x
Number of the analog output port.
As an unsigned 32-bit value.
Allowed values: [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 corresponds to an output value of 10 V.
Comments • See also Chapter 9.1.4 ”12-Bit Analog Output Port 1 and 2”, page 283.
• The output range of the analog output ports is 0 V…10 V.
• For
x
< 1 or
x
> 2, write_da_x is ignored
(get_last_error return code
RTC6_PARAM_ERROR
).
• write_da_1 / write_da_2 can be used alternatively to write_da_x
(without parameter
x
).
RTC4RTC6 Unchanged functionality.
In RTC4 Compatibility Mode, the RTC6 multiplies the specified
Value
by 4.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References write_da_x_list