![]() |
Note ibsad is deprecated. Use ibconfig (IbcSAD) instead. |
Change or disable the secondary address.
unsigned int ibsad (int ud, int v)
ibsad v
ud | Board or device descriptor |
v | GPIB secondary address |
Function Return | The value of Ibsta |
ibsad changes the secondary GPIB address of the given board or device to v, an integer in the range 96 to 126 (hex 60 to hex 7E) or zero. If v is zero, secondary addressing is disabled. If no error occurs during the call, the previous value of the GPIB secondary address is returned in Iberr.
EARG | v is non-zero and outside the legal range 96 to 126. |
EDVR | The NI-488.2 driver is either configured incorrectly or is not properly installed. |
EHDL | ud is invalid or out of range. |
ELCK | The requested operation could not be performed because of an existing lock by another process. |
ENEB | The interface is not installed or is not properly configured. |
EOIP | Asynchronous I/O is in progress. |