[comp.sys.sgi] Help with GPIB-1014

olson@anchor.esd.sgi.com (Dave Olson) (01/19/91)

In <9101162121.AA09175@slowhand.wes.army.mil> stephens@SLOWHAND.WES.ARMY.MIL writes:

| 	i recently installed the National Instruments' GPIB-1014 VME board
| in a 4D/25. after installing the software i looked around to see if
| things were put where they were suppose to. all was well. there were
| entries for the nodes /dev/gpib0 and /dev/gpib1. these are undoubtably
| 'board' level entries. 
| 
| 	at this point i want to drive a single device which lives at
| gpib address 0x02. i want to have this device called "dvm". so i can
| use the libgpib.a library routines to throw data back-and-forth between
| my application program and the device.
| 
| 	(i) do i have to manually creat a node /dev/dvm with the same major
| 	device number as the gpib entries but with different and lower
| 	minor device numbers? 

Well, if you do 'man gpib' you will see references to /dev/dev1 - /dev/dev16.
These are the devices for gpib address 1 through 16.  If you want to call
your device /dev/dvm, simply make a link from /dev/dev2.

| 	(iii) if questions (i) and (ii) clearly demonstrate a total lack
| 	of understanding, what am i missing ?

Well, if you hope to program for the board at all, I would strongly
suggest getting the manual from National Instruments that documents
the library interface, referenced on both the manpage and the release
notes...
--

	Dave Olson

Life would be so much easier if we could just look at the source code.