RTC
®
5 PC Interface Board
Rev. 1.9 e
10 Commands And Functions
261
Ctrl Command get_config_list
Function passes the parameters of the current list memory configuration (
Mem1, Mem2
) to the DLL’s
board management and initializes it as if the config_list (page 243) command was called.
Call
get_config_list()
Comments • The get_config_list command is useful when a board changes “ownership” and the
new board management is not aware of the memory configuration (at the start of each
application, the board and board management each independently initialize
Mem1 =
4000 and
Mem2 =
4000; the board via load_program_file (page 340) and
board management when starting the corresponding application). Also see "Board
Acquisition by an Application", page 86.
•The get_config_list command does not return a value to the application. The applica-
tion can, however, read the list-memory configuration data after
load_list( ListNo,
0 )
or
set_start_list_pos( ListNo, 0 )
by using the get_list_space (page 272)
command.
•The get_config_list command will be executed regardless of the board’s BUSY status.
RTC
®
4
RTC
®
5 new command
References config_list
Ctrl Command get_counts
Function reads the current number of successful external list starts
Call
Counts = get_counts()
Result Number of successful external list starts as an unsigned 32-bit value
Comments • The number is read from an internal counter, which is incremented each time a list is
started via an external start signal. The counter can be reset to zero via
set_control_mode.
RTC
®
4
RTC
®
5 unchanged
References set_max_counts, set_control_mode, get_startstop_info
Ctrl Command get_dll_version
Function returns the version number of the RTC
®
5 driver DLL
Call
DLLVersion = get_dll_version()
Result DLL version number as an unsigned 32-bit value
Comments • The RTC
®
5 DLL version numbers are in the range 500-599.
• The command get_dll_version is also available without explicit access rights to a
specific RTC
®
5 board.
• get_dll_version is not available as a multi-board command.
• The board-specific error variables
LastError
and
AccError
(see "Error Handling", page
87) are neither generated nor altered by get_dll_version.
RTC
®
4
RTC
®
5 unchanged functionality
References get_hex_version, get_rtc_version