RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
473
Ctrl Command set_rtc4_mode
Function sets RTC
®
4 compatibility mode as the current DLL operation mode
Call
set_rtc4_mode()
Comments • RTC
®
4 compatibility mode is an optional operation mode of the DLL. It has been made
available so that user programs written for the RTC
®
4 can also be processed by the
RTC
®
5 (to a large extent) without needing to modify the programming code. However,
a prerequisite here is that the program can only contain RTC
®
4 commands that also
exist with unchanged functionality as RTC
®
5 commands. This user manual’s list of
commands, when applicable, notes such changes in the “RTC
®
4 RTC
®
5” section.
•RTC
®
5 mode is pre-defined as the default DLL operation mode and can also be specified
subsequently via set_rtc5_mode (page 473).
• The current DLL operation mode can be queried via get_rtc_mode (page 277).
•The set_rtc4_mode is also available without explicit access rights to a particular board.
• set_rtc4_mode is not available as a multi-board command.
• This command’s scope is not board-specific, but rather global to the DLL and all RTC
®
5
boards to which the application has access rights.
• The board-specific error variables
LastError
and
AccError
(see "Error Handling", page
87) are neither generated nor altered by set_rtc4_mode.
RTC
®
4
RTC
®
5new command
References get_rtc_mode, set_rtc5_mode
Ctrl Command set_rtc5_mode
Function sets RTC
®
5 mode as the current DLL operation mode (default setting)
Call
set_rtc5_mode()
Comments • set_rtc4_mode (page 473) sets the DLL operation mode to RTC
®
4 compatibility mode.
• The current DLL operation mode can be queried via get_rtc_mode (page 277).
•The set_rtc5_mode command is also available without explicit access rights to a partic-
ular RTC
®
5 board.
• set_rtc5_mode is not available as a multi-board command.
• This command’s scope is not board-specific, but rather global to the DLL and all RTC
®
5
boards to which the application has access rights.
• The board-specific error variables
LastError
and
AccError
(see "Error Handling", page
87) are neither generated nor altered by set_rtc5_mode.
RTC
®
4
RTC
®
5new command
References get_rtc_mode, set_rtc4_mode