Appendix A
New NI-488M Functions
© National Instruments Corp.
A-5
AT-GPIB for SCO UNIX
IBLINES(3)
(continued)
IBLINES(3)
Example
Test for Remote Enable (REN).
int clines;
if ((brd0 = ibfind ("gpib0")) < 0) error();
if
((ibsta =
iblines
(brd0,
&clines))
&
ERR)
error();
if (
!
(clines & 0x10)) {
printf("GPIB board cannot monitor REN!");
exit();
}
if (clines & 0x1000) {
printf("REN is asserted.");
exit();
}
printf("REN is not asserted.");