EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Set_Io_Cond_List

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
10 RTC6 Commands
661
innovators for industry
Undelayed
Short List
Command
set_io_cond_list
Function Sets the bits of the 16-bit digital output port on the EXTENSION 1 socket connector that
are set in the parameter
MaskSet
, if the current
IOvalue
at the 16-bit digital input port on
the EXTENSION 1 socket connector meets the following condition:
((IOvalue AND Mask1) = Mask1) AND (((not IOvalue) AND Mask0) = Mask0)
(= if the bits specified in
Mask1
are
1
and the bits specified in
Mask0
are
0
).
Call
set_io_cond_list( Mask1, Mask0, MaskSet )
Parameters
Mask1
16-bit mask.
As an unsigned 32-bit value.
Only the lower 16 bits are evaluated.
Mask0
Like
Mask1
.
MaskSet
Like
Mask1
.
Comments set_io_cond_list sets only those bits of the digital output port that are set in the
parameter
MaskSet
and leaves the other bits unchanged.
See Section ”16-Bit Digital Input Port and 16-Bit Digital Output Port”, page 78 and
Chapter 9.3.2 ”Conditional Command Execution”, page 295.
Examples
(Pascal)
Set Bit #4 of the output port (DIGITAL OUT4), if Bit #0 of the input port (DIGITAL IN0)
is set and Bit #1…Bit #3 (DIGITAL IN1…3) of the input port are not set:
set_io_cond_list
($0001, $000E, $0010)
Always set Bit #15 of the output port (and leave the other bits unchanged):
set_io_cond_list
(0, 0, $8000)
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References clear_io_cond_list, write_io_port, write_io_port_mask, get_io_status, read_io_port

Table of Contents