EasyManua.ls Logo

Scanlab RTC6 PCIe Board - Clear_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
341
innovators for industry
Undelayed
Short List
Command
clear_io_cond_list
Function Clears the bits of the 16-bit digital output port on the EXTENSION 1 socket connector that
are set in the parameter
MaskClear
, 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
clear_io_cond_list( Mask1, Mask0, MaskClear )
Parameters
Mask1
16-bit mask.
As an unsigned 32-bit value.
Only the lower 16 bits are evaluated.
Mask0
See
Mask1
.
MaskClear
See
Mask1
.
Comments clear_io_cond_list clears only those bits of the digital output port that are set in the
parameter
MaskClear
and leaves the other bits unchanged.
See also 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)
Clear Bit #4 of the output port (DIGITAL OUT4), if Bit #0 of the input port
(DIGITAL IN0) is set and Bit #1 to Bit #3 (DIGITAL IN1…3) of the input port are not set:
clear_io_cond_list
($0001, $000E, $0010)
Always clear Bit #15 of the output port (and leave the other bits unchanged):
clear_io_cond_list
(0, 0, $8000)
RTC4RTC6 Unchanged functionality.
RTC5RTC6 Unchanged functionality.
Version info Available as of DLL 600, OUT 600, RBF 600.
References set_io_cond_list, write_io_port, write_io_port_mask, get_io_status, read_io_port

Table of Contents