Controls the output state of DIO port.
int MT_SetDio(int fd, unsigned char ucDioPort)
int fd
Please specify handle acquired by MT_Open function.
unsigned char ucDioPort
Set the output value.
About VPC-5000-J, VPC-3100, VPC-1700, VPC-3200, VPC-1800
| bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | PORT | - | - | - | - | - | - | O1 | O0 |
|---|
If the function succeeds, NO_ERROR is returned.
If the function fails, a code other than NO_ERROR is returned.
The other errors : Error code details
Function List