ibeos — set end-of-string mode (board or device)
#include <gpib/ib.h>
int ibeos( | ud, | |
eosmode); |
int ud;int eosmode; ibeos() is used to set the end-of-string character and mode. The least
significant 8 bits of eosmode specify the
eos character. You may also bitwise-or one or more of the following
bits to set the eos mode:
| constant | value (hexadecimal) | meaning |
|---|---|---|
| REOS | 0x400 | Enable termination of reads when eos character is received. |
| XEOS | 0x800 | Assert the EOI line whenever the eos character is sent during writes. |
| BIN | 0x1000 | Match eos character using all 8 bits (instead of only looking at the 7 least significant bits). |
The value of ibsta is returned.