beautypg.com

Appendix e - application notes, Step 1. configure the computers, Step 2. establish communication – National Instruments GPIB-PC User Manual

Page 244

background image

©National Instruments Corp.

E-1

GPIB-PC User Manual

Appendix E - Application Notes

Application Note 1 - Computer to Computer Data
Transfer

A common application in the laboratory is the transfer of data between
two computers. The GPIB performs this function quite readily. The
following discussion illustrates the data transfer between two computers
called master and slave.

Step 1. Configure the Computers

Configure one computer as system controller and the second as a device
or non-system controller. On the master computer, run the

IBCONF

program, rename

DEV1

to

SLAVE

, ensure the primary address is set to

1, and set 'Board Is System-Controller' to YES. On the second
computer, run the

IBCONF

program, set 'Board Is System-Controller to

NO and set the primary address of

GPIB0

to 1. Exit the

IBCONF

programs and reboot both computers.

Step 2. Establish Communication

Run the

IBIC

facility on both computers, type the respective

commands, and press the enter key.

Example:

Master

Slave

ibfind SLAVE

ibfind GPIB0

:

: