![Omega OMB-PER-488/W95 User Manual Download Page 65](http://html1.mh-extra.com/html/omega/omb-per-488-w95/omb-per-488-w95_user-manual_4058772065.webp)
Personal488 User's Manual For Windows 95 and Windows NT
API Command Reference 59
DigArmSetup
AT488pnp and PCI488 only
Syntax
INT WINAPI DigArmSetup(DevHandleT devHandle, BYTE
byMatchValue);
devHandle
refers to an interface handle.
byMatchValue
refers to a value that is compared against the digital I/O inputs
Returns
-1
if error
Mode
Any
Bus States
None
Example
DigArmSetup(devHandle, 0xA5);
Sets the match value to
0xA5
.
See Also
DigArm, DigSetup
The
DigArmSetup
command sets the match condition value. This value will be compared against the
digital I/O port inputs to detect when an event occurs. The event must be armed (via
DigArm
) for
event notification to take place.
The comparison operation depends on the current digital port configuration. If both nibbles are
configured for input, then the match value is compared to the entire byte value of the digital port. If
only one of the nibbles is configured for input, then the value is compared against just that nibble. If no
nibbles are configured for input, then the match value is ignored. The
DigArm
function will not allow
event generation to be armed unless at least one of the nibbles is configured for input.
Summary of Contents for OMB-PER-488/W95
Page 1: ......
Page 4: ...ii Personal488 User s Manual For Windows 95 and Windows NT Notes...
Page 38: ...32 Personal488 with GP488B Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 52: ...46 Driver488 W95 Driver488 WNT Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 136: ...130 Appendix Personal488 User s Manual For Windows95 and Windows NT Notes...
Page 139: ...Personal488 User s Manual For Windows 95 and Windows NT Index 133 Notes...
Page 142: ...136 Abbreviations Personal488 User s Manual For Windows95 and Windows NT Notes...