![]() |
Note ibpad is deprecated. Use ibconfig (IbcPAD) instead. |
Change the primary address.
unsigned int ibpad (int ud, int v)
ibpad v
ud | Board or device descriptor |
v | GPIB primary address |
Function Return | The value of Ibsta |
ibpad sets the primary GPIB address of the board or device to v, an integer ranging from 0 to 30. If no error occurs during the call, Iberr contains the previous GPIB primary address.
EARG | v is not a valid primary GPIB address; it must be in the range 0 to 30. |
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. |