Sendsetup, Sendsetup -24 – Measurement Computing GPIB-488 User Manual
Page 92

Chapter 4
GPIB 488.2 Library Reference
4-24
GPIB-488
SendSetup
Addresses a GPIB board as a Talker and the specified GPIB devices as Listeners.
Syntax
C
SendSetup(int board, short addresslist [])
Parameters
board
is an integer which identifies the GPIB board to be used for this operation. In most
applications, this value is 0.
addresslist
is an array of GPIB addresses, terminated by the value
NOADDR
. These
addresses identify the devices to address as Listeners.
Returns
ibsta
will contain a 16-bit status word as described in Appendix B,
.
iberr
will contain an error code, if an error occurred.
Usage Notes
Following this routine, you should call a routine such as
SendDataBytes
to actually transfer
the data.
Example
This example prepares GPIB board 0 to send data to GPIB devices 6 and 7.
C
short addresslist[3] = {6, 7, NOADDR};
SendSetup(0, addresslist);
- ACC-300 (7 pages)
- AI-EXP32 (20 pages)
- AI-EXP48 (19 pages)
- BTH-1208LS (30 pages)
- 6K-ERB08 (32 pages)
- BTH-1208LS Quick Start (4 pages)
- 6K-SSR-RACK08 (33 pages)
- BTH-1208LS-OEM (27 pages)
- CB-COM-Digital (68 pages)
- CB-7018 (68 pages)
- CB-7000 Utilities (44 pages)
- CB-7080D (74 pages)
- CB-COM-7033 (44 pages)
- CB-COM-7017 (72 pages)
- CB-COM-7024 (76 pages)
- CB-NAP-7000P (36 pages)
- CIO-DAC02/16 (16 pages)
- CIO-DAC02 (18 pages)
- CB-NAP-7000D (56 pages)
- CIO-DAC16-I (16 pages)
- CIO-DAC16/16 (20 pages)
- CIO-DAS08 (21 pages)
- CIO-DAC16 (20 pages)
- CIO-DAS08/JR (16 pages)
- CIO-DAS08/JR/16 (14 pages)
- CIO-DAS08/JR-AO (16 pages)
- CIO-DAS08-AOM (32 pages)
- CIO-DAS08-PGM (28 pages)
- CIO-DAS16/330 (34 pages)
- CIO-DAS48-I (17 pages)
- CIO-DAS16/M1 (38 pages)
- CIO-DAS48-PGA (18 pages)
- CIO-DAS800 (20 pages)
- CIO-DAS802/16 (22 pages)
- CIO-DAS6402/16 (40 pages)
- CIO-DAS-TEMP (20 pages)
- CIO-DDA06/16 (18 pages)
- CIO-DDA06/JR (17 pages)
- CIO-DIO24H (20 pages)
- CIO-DIO24/CTR3 (21 pages)
- CIO-DI192 (24 pages)
- CIO-DDA06 (21 pages)
- CIO-DIO48 (19 pages)
- CIO-DO192H (16 pages)
- CIO-DIO192 (20 pages)