Pulse2K_SetSafeValue
This function code is used to set the safe value for a specific pulse channel.
C/C++
int Pulse2K_SetSafeValue( int hConnection,
BYTE bytChannel,
BYTE bytValue);
Visual Basic
Declare Function Pulse2K_SetSafeValue Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, ByVal bytValue As Byte) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be set. |
bytValue |
A pointer that stores the specific pulse channel's power on value. The values are: 0: stop 1: start |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |