Chapter 2 API Function Specifications
9)SysRs232cParity
IO for system setting [RS-232C parity check]
HLC2_STATUS HLC2_SysRs232cParity(HLC2_HANDLE hlc2Handle,
DWORD dwIO, LPDWORD lpSelect, BYTE bccFlg)
Argument
HLC2_HANDLE hlc2Handle
DWORD dwIO
LPDWORD lpSelect
2
BYTE bccFlg
Return value
Returns HLC2_OK if normal end.
10)SysRs232cOutMode
IO for system setting [RS-232C Output Mode]
HLC2_STATUS HLC2_SysRs232cOutMode (HLC2_HANDLE hlc2Handle,
DWORD dwIO, LPDWORD lpSelect, BYTE bccFlg)
Argument
HLC2_HANDLE hlc2Handle
DWORD dwIO
LPDWORD lpSelect
BYTE bccFlg
Return value
Returns HLC2_OK if normal end.
Handle of device
Selects IO. (0: load (input), 1:setting (output))
Variable pointer for storing RS-232C
parity check* of load/setting target
* RS-232C parity check selection:
*lpSelect = 0: even, 1: odd, 2: none
Selects BCC addition
(0:BCC omit, 1:BCC add)
Handle of device
Selects IO. (0: load (input), 1:setting (output))
Variable pointer for storing RS-232C
Output Mode* of load/setting target
*RS-232C Output Mode selection:
* lpSelect = 0: Handshake
1: Timing
2: Continuous
Selects BCC addition
(0:BCC omit, 1:BCC add)
2-56