DELIB API reference |
Seite
76
5.5.2. DAPI_SPECIAL_CMD_SET_DIR_DX_8
Description
This command sets the direction of up to 64 consecutive TTL-In/Outputs (8-bit
wise).
1-bit case represents 8 TTL-In/Outputs
Definition
void DapiSpecialCommand(ULONG handle, DAPI_SPECIAL_CMD_SET_DIR_DX_8,
ULONG ch, ULONG dir, 0);
Parameters
handle = This is the handle of an opened module.
ch = Must be 0.
dir = (8-Bit) sets the direction for 8 consecutive TTL-In/Outputs. (1=output /
0=input)
Remarks
Not for USB-MINI-TTL8!
Use the DAPI_SPECIAL_CMD_SET_DIR_DX_1 command for USB-MINI-TTL8.
Example program
DapiSpecialCommand (handle, DAPI_SPECIAL_CMD_SET_DIR_DX_8, 0, 0x1 , 0);
// Set Dir of TTL-I/O CH0-7 to output, others to input
DapiSpecialCommand (handle, DAPI_SPECIAL_CMD_SET_DIR_DX_8, 0, 0x3 , 0);
// Set Dir of TTL-I/O CH0-15 to output, others to input
DapiSpecialCommand (handle, DAPI_SPECIAL_CMD_SET_DIR_DX_8, 0, 0xc , 0);
// Set Dir of TTL-I/O CH16-31 to output, others to input
DapiSpecialCommand (handle, DAPI_SPECIAL_CMD_SET_DIR_DX_8, 0, 0x33 , 0);
// Set Dir of TTL-I/O CH0-15 and CH32-47 to output, others to input
DapiSpecialCommand (handle, DAPI_SPECIAL_CMD_SET_DIR_DX_8, 0, 0xff , 0);
// Set Dir of TTL-I/O CH0-63 to output, others to input
Содержание ETH-TTL-64
Страница 1: ...Hardware Description Juli ETH TTL 64 2019 ...
Страница 5: ...I Introduction Seite 5 Introduction ...
Страница 7: ...II Hardware description Seite 7 Hardware description ...
Страница 13: ...Hardware description Seite 13 2 4 Overview screen ETH TTL 64 ...
Страница 17: ...Hardware description Seite 17 problem is solved ...
Страница 19: ...III Software Seite 19 Software ...
Страница 29: ...Software Seite 29 Choose the option create VIs for DLL and press continue ...
Страница 30: ...Software Seite 30 In the next window choose the path to the delib h and delib dll and press continue ...
Страница 31: ...Software Seite 31 Press continue again The Header File will now be analized Afterwards press continue ...
Страница 32: ...Software Seite 32 Follow the instructions and configurate the name and the saving location for the VIs ...
Страница 33: ...Software Seite 33 In the new window choose Easy error correction in the drop down menu and press continue ...
Страница 39: ...Software Seite 39 ...
Страница 40: ...IV Hardware Seite 40 Hardware ...
Страница 46: ...Hardware Seite 46 Geben Sie hier den Text ein ...
Страница 47: ...V DELIB API reference Seite 47 DELIB API reference ...
Страница 79: ...VI Appendix Seite 79 Appendix ...