xPCI-1710 API
|
Functions | |
_INT_ | i_PCI1710_InitTTLIODirection (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_PortAMode, BYTE_ b_PortBMode, BYTE_ b_PortCMode, BYTE_ b_PortDMode) |
_INT_ | i_PCI1710_ReadTTLIOChannelValue (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_PortNbr, BYTE_ b_ChannelNbr, PBYTE_ pb_Value) |
_INT_ | i_PCI1710_ReadTTLIOPortValue (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_PortNbr, PBYTE_ pb_Value) |
_INT_ | i_PCI1710_ReadTTLIOAllPortValue (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, PDWORD_ pdw_Value) |
_INT_ | i_PCI1710_SetTTLIOChlOn (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_ChannelNbr) |
_INT_ | i_PCI1710_SetTTLIOChlOff (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_ChannelNbr) |
_INT_ | i_PCI1710_SetTTLIOChannelOn (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_PortNbr, BYTE_ b_ChannelNbr) |
_INT_ | i_PCI1710_SetTTLIOChannelOff (HANDLE h_DeviceHandle, BYTE_ b_ModuleNbr, BYTE_ b_PortNbr, BYTE_ b_ChannelNbr) |
_INT_ i_PCI1710_InitTTLIODirection | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_PortAMode, | ||
BYTE_ | b_PortBMode, | ||
BYTE_ | b_PortCMode, | ||
BYTE_ | b_PortDMode | ||
) |
Permits the configure on a given module the TTL I/O in input or output mode
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which to initailize TTL I/O (0 to 3) |
[in] | b_PortAMode | Mode of the port A (0 -> input , 1 -> output ) |
[in] | b_PortBMode | Mode of the port B (0 -> input , 1 -> output ) |
[in] | b_PortCMode | Mode of the port C (0 -> input , 1 -> output ) |
[in] | b_PortDMode | Mode of the port D (0 -> input , 1 -> output ) |
_INT_ i_PCI1710_ReadTTLIOChannelValue | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_PortNbr, | ||
BYTE_ | b_ChannelNbr, | ||
PBYTE_ | pb_Value | ||
) |
Read the status of a given TTL digital input on a given port and module
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[in] | b_PortNbr | Number of the port in which the input is located (Port A (PA) -> 0, PB -> 1, PC -> 2, PD -> 3) |
[in] | b_ChannelNbr | Channel to be read (0 to 7) |
[out] | pb_Value | Status of the channel |
_INT_ i_PCI1710_ReadTTLIOPortValue | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_PortNbr, | ||
PBYTE_ | pb_Value | ||
) |
Read the satus of the TTL digital inputs of a given port on a given module
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[in] | b_PortNbr | Number of the port in which the input is located (Port A (PA) -> 0, PB -> 1, PC -> 2, PD -> 3) |
[out] | pb_Value | Status of the port |
_INT_ i_PCI1710_ReadTTLIOAllPortValue | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
PDWORD_ | pdw_Value | ||
) |
Read the satus of the TTL digital inputs of a given port on a given module
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[out] | pdw_Value | Status of all the port of the module |
_INT_ i_PCI1710_SetTTLIOChlOn | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_ChannelNbr | ||
) |
Put one of the TTL output to one
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[in] | b_ChannelNbr | Output channel to put high 0 : PD0 1 : PD1 2 to 9 : PA0 to PA7 10 to 17 : PB0 to PB7 18 to 25 : PC0 to PC7 |
_INT_ i_PCI1710_SetTTLIOChlOff | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_ChannelNbr | ||
) |
Put one of the TTL output to zero
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[in] | b_ChannelNbr | Output channel to put low 0 : PD0 1 : PD1 2 to 9 : PA0 to PA7 10 to 17 : PB0 to PB7 18 to 25 : PC0 to PC7 |
_INT_ i_PCI1710_SetTTLIOChannelOn | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_PortNbr, | ||
BYTE_ | b_ChannelNbr | ||
) |
Put one of the TTL output to one
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[in] | b_PortNbr | Number of the port of the channel (0 -> I, 1 -> J, 2 -> A, 3 -> B, 4 -> C) |
[in] | b_ChannelNbr | Output channel to put high (0 to 7). For port I and J only output 0 is available |
_INT_ i_PCI1710_SetTTLIOChannelOff | ( | HANDLE | h_DeviceHandle, |
BYTE_ | b_ModuleNbr, | ||
BYTE_ | b_PortNbr, | ||
BYTE_ | b_ChannelNbr | ||
) |
Put one of the TTL output to zero
[in] | h_DeviceHandle | Handle of the board |
[in] | b_ModuleNbr | Number of the module in which the input is located (0 to 3) |
[in] | b_PortNbr | Number of the port of the channel (0 to 3) (0 -> I, 1 -> J, 2 -> A, 3 -> B, 4 -> C) |
[in] | b_ChannelNbr | Output channel to put low (0 to 7). For port I and J only output 0 is available |