EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Using Several RTC6 Pcie Boards in One PC; Multi-Board Programming; Examples (Pascal)

Scanlab RTC6 PCIe Board
1004 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RTC6 boards
Doc. Rev. 1.0.21 en-US
6 Developing RTC6-User Programs
123
innovators for industry
6.6 Using Several
RTC6 PCIe Boards in One PC
As many RTC6 PCIe Boards as the PCIe bus allows can
be operated simultaneously in one PC. However, the
RTC6 DLL internal card management can manage a
maximum of 255 RTC6 PCIe Boards and
RTC6 Ethernet Boards at the same time, see
Chapter 16.5.3 ”About the
RTC6 Board Management”, page 905.
All RTC6 PCIe Boards work independently of each
other. The command lists of all boards can be loaded
and executed at any time.
The RTC6 command set allows two methods to write
user program when using several RTC6 PCIe Boards:
“Multi-Board Programming”, page 123
“Single-Board Programming”, page 124
6.6.1 Multi-Board Programming
In this programming method, the multi-board
versions (command names with prefix n_”) of the
RTC6 commands are used.
Compared to single-board commands (command
names without prefix n_”), the board number
(1)
to
which the command is to be transmitted must be
specified before the parameters. All other parameters
are identical.
The installed RTC6 PCIe Boards are numbered in the
order found during initialization (starting with 1), see
Chapter 16.5.3 ”About the
RTC6 Board Management”, page 905.
The multi-board command n_get_serial_number
can be used to determine which RTC6 PCIe Boards
have been assigned numbers. See also example (3)
below.
rtc6_count_cards returns the number of
RTC6 PCIe Boards in the RTC6 board management.
Notes
Multi -board commands are sent to the active
board (default board), if the specified number is
> 255 or 0 (real boards begin at 1).
If no real card is entered in the
RTC6 board management under the specified
number, the Multi -board command is rejected.
All multi-board commands are listed in
Chapter 10.1 ”Overview”, page 302. for nearly all
single-board commands a corresponding multi-
board command is available. Exceptions are
explicitly noted in the command descriptions (in
Chapter 10.2 ”RTC6 Command Set”, page 315).
Examples (Pascal)
(1) Write a Jump Command to the point (500, 500)
into the current list of RTC6 PCIe Board #1:
n_jump_abs(1, 500, 500)
(2) Process list with number
list_no
(1 or 2) on the
RTC6 PCIe Board with the number specified by
the variable
RTC6_no
:
n_execute_list(RTC6_no, list_no)
(3) Return the serial number of RTC6 board #1:
sn_1 := n_get_serial_number(1)
(1) As an unsigned 32-bit value.

Table of Contents