RP1210_SENDCOMMAND (): RP1210_Set_BLOCKTIMEOUT: Notes
Added to RP 1210B was the ability to set a value to the amount of time that the user would like a command issued with BLOCKINGJO to timeout. This particular function has already been implemented by several API vendors. The first and second byte of the fpchClientCommand will be multiplied together to get a timeout value (in milliseconds). For example, if the user wanted 200 milliseconds, they would send any combination in the first to bytes to provide a value of 200. To set an infinite timeout, the user would transmit either byte (multiplicand) as a zero. These bytes are both considered unsigned characters.
The command only applies to the current client and future calls to:
- RP1210_ReadMessage ()
| Parameter | Description |
|---|---|
| nCommandNumber | RP1210_Set_BlockTimeout |
| nClientID | The client identifier for the client that wants to issue the command. |
| fpchClientCommand | fpchClientCommand [0] = 8-bit unsigned value, 0 = infinite block fpchClientCommandjI] = 8-bit unsigned value, 0 = infinite block |
| nMessageSize | 2 |