22 | Set Hold Mode | SetHoldEncoderEvent | (long CardHandle, |
| Determines the "hold" characteristic of the hardware Event | ||
| of Hardware | Flag | short EncoderNumber, |
| Signal: | ||
| Encoder's |
| short OnOffMode) |
| OnOffMode: | ||
| EventFlag |
|
|
|
|
|
|
|
|
|
| Off: Hardware signal remains "as is" – no holding mechanism. | |||
|
|
|
|
| On: Hardware signal is held until running an explicit "clear" | ||
|
|
|
|
| operation by ClearEncoderEventFlag (function #24). | ||
|
|
|
|
| Note: | ||
|
|
|
|
| All | functions of sections 3.5.1, 3.5.2 and 3.5.4 also have (as a by- | |
|
|
|
|
| product) the same effect as ClearEncoderEventFlag. | ||
23 | Get Hold | GetHoldEncoderEvent | (long CardHandle, |
| Gets the current selection of the Hold Mode of Encoder's | ||
| Mode of | Flag | short EncoderNumber, |
| EventFlag (on or off). | ||
| Hardware |
| short* OnOffMode) |
|
|
|
|
| Encoder's |
|
|
|
|
|
|
| EventFlag |
|
|
|
|
|
|
24 | Clear | ClearEncoderEvent | (long CardHandle, |
| Clears the hardware Event Signal. | ||
| Hardware | Flag | short EncoderNumber) |
| Meaningful only when the Hold Mode of Hardware Encoder's | ||
| Encoder's |
|
|
| EventFlag is on (refer to function #22). | ||
| EventFlag |
|
|
| Note: | ||
|
|
|
|
| All | functions of sections 3.5.1, 3.5.2 and 3.5.4 also have (as a by- | |
|
|
|
|
| product) the same effect as ClearEncoderEventFlag. | ||
Note: The description of the common arguments is in section 3.6 |
|
|
|
21