Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Need PDP11 RSX-11+, GPIB11V-2 help!
@ 1992-05-20 23:04 Bradley T Banko
  1992-05-21 13:31 ` Ed Cetron
  0 siblings, 1 reply; 5+ messages in thread
From: Bradley T Banko @ 1992-05-20 23:04 UTC (permalink / raw)



Hi.

I need the advice of PDP11 RSX guru.  I am just a dumb unix/PC programmer, and
I am trying to do some Fortran programming on an RSX11 system to control some
instruments via a National Instruments GPIB11V-2 interface board.

The symptom:

	When i write a short (10-line) FORTRAN test program to talk over the 
	GPIB bus, and compile and link it the simple way under DCL, it works:

		$ FORTRAN/F77 RINGBELL.FTN
		$ LINK RINGBELL
		$ RUN RINGBELL

	the GPIB device does what is asked of it (rings its bell, ...)

	When I make the exact same sequence of GPIB calls in the context of a 
	larger test program, the GPIB routines return normal status, but
	nothing happens at the GPIB device.


Suspicions:

	I suspect that there might be some memory allocation problems in
	the larger program, but I really don't know the first thing about
	overlays, or memory allocation on a PDP11.  I am not getting any
	compile-, link- or run-time errors, and the GPIB driver routines have 
	apparently been installed as a part of the RSX runtime, because I 
	don't have to do anything at all to link them into my small test 
	program.
	(also, there are no "dummy" routines to supplant the GPIB routines in
	collection of object files in the larger test program.)


I don't even know how to begin sorting this out, short of trying to digest
11 volumes of RSX-11M PLUS manuals.  (icck.)

Any suggestions/pointers/help would be greatly appreciated!
(please respond by email to:  b-banko@uiuc.edu)

Thanks.

Brad Banko
Dept of Physics
Univ. of Illinois
b-banko@uiuc.edu



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need PDP11 RSX-11+, GPIB11V-2 help!
  1992-05-20 23:04 Need PDP11 RSX-11+, GPIB11V-2 help! Bradley T Banko
@ 1992-05-21 13:31 ` Ed Cetron
  1992-05-22  6:40   ` Bradley T Banko
  1992-05-22 12:39   ` Kurt Hillig
  0 siblings, 2 replies; 5+ messages in thread
From: Ed Cetron @ 1992-05-21 13:31 UTC (permalink / raw)



Not much that I can do to help without sources and link maps.....

but here goes.


1. If you are using the national instruments driver - last I recall it had 
major bugs in it and the response was: tough sh.t, we really only support
vms...[and I even had the corrections and patches ready to ship them]

2. Try taking your full code and paring it down until the bell rings, then add
until it stops working.  check your maps to see which APRs are used/unused when
it just works and when it stops working.

-ed
ecetron@ncoast.org

Technologies International, Ltd
216 486-5700


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need PDP11 RSX-11+, GPIB11V-2 help!
  1992-05-21 13:31 ` Ed Cetron
@ 1992-05-22  6:40   ` Bradley T Banko
  1992-05-22 12:40     ` Burr Nelson
  1992-05-22 12:39   ` Kurt Hillig
  1 sibling, 1 reply; 5+ messages in thread
From: Bradley T Banko @ 1992-05-22  6:40 UTC (permalink / raw)


In article <1992May21.133103.22244@NCoast.ORG> ecetron@NCoast.ORG (Ed Cetron) writes:
>
>Not much that I can do to help without sources and link maps.....
>
>but here goes.
>
>
>1. If you are using the national instruments driver - last I recall it had 
>major bugs in it and the response was: tough sh.t, we really only support
>vms...[and I even had the corrections and patches ready to ship them]
>
>2. Try taking your full code and paring it down until the bell rings, then add
>until it stops working.  check your maps to see which APRs are used/unused when
>it just works and when it stops working.
>
>-ed
>ecetron@ncoast.org
>
>Technologies International, Ltd
>216 486-5700

Ed!  I think that we have met before.  I used to live and work in Cleveburg,
and had an account on Brandon's ncoast machine, but back to the action...

Thanks for the response, and how come it turned up on our local board
here at uiuc?

This does not sound like good news to me.  I've heard some hints that I
need to start sorting through the link maps, and/or thinking about 
asynchronous I/O issues, but to hear that the driver might be buggy
makes me *real* nervous.  (One alternative that we have considered in
the context of some of these software changes is to port everything to
a PC... this has advantages and disadvantages.  With a buggy GPIB driver
for RSX, though, the PC option looks *lots* more attractive.)

I will start nagging National Instruments as necessary.  (I have to ask
for technical support people over the age of 27 or so to get people who
might have a clue about RSX-11 issues.)

73 de KB8CNE, Brad Banko
Dept of Physics
Univ. of Illinois



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need PDP11 RSX-11+, GPIB11V-2 help!
  1992-05-21 13:31 ` Ed Cetron
  1992-05-22  6:40   ` Bradley T Banko
@ 1992-05-22 12:39   ` Kurt Hillig
  1 sibling, 0 replies; 5+ messages in thread
From: Kurt Hillig @ 1992-05-22 12:39 UTC (permalink / raw)


One subtle problem which took us a few weeks to track down is that
the National Instruments driver has LUN 3 hard-coded into it (well,
maybe it's their subroutine library, not the driver - It's been a
while since we played with it).  If your program assigns LUN 3 to
something, you will get flaky behavior.

We finally ended up scrapping the PDP system and getting a SCSI/HPIB
adapter from NI to hook up to our VAXstation 3100.  This ended up
working much more easily and reliably (so far).  Now if there were
just a _good_ Tek 4010/4014 emulator for VMS/DECwindows....




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Need PDP11 RSX-11+, GPIB11V-2 help!
  1992-05-22  6:40   ` Bradley T Banko
@ 1992-05-22 12:40     ` Burr Nelson
  0 siblings, 0 replies; 5+ messages in thread
From: Burr Nelson @ 1992-05-22 12:40 UTC (permalink / raw)


btbg1194@uxa.cso.uiuc.edu (Bradley T Banko) writes:

> (One alternative that we have considered in
>the context of some of these software changes is to port everything to
>a PC... this has advantages and disadvantages.  With a buggy GPIB driver
>for RSX, though, the PC option looks *lots* more attractive.)

Do it!  We were faced with the same problem: Q-bus vs. PC GPIB blues.  If
you want to get a data-collection app up fast I highly recommend the NI
GPIB-PCII (maybe it's III by now) + the NI C bindings + MS C6.0.  MSC 6.0
has some quick and dirty graphic subroutines included so you can grab your
data, plot it (only VGA res), and hardcopy it with a SHIFT-PRNTSCREEN on
almost any PC you might have had gathering dust in a corner. Throw in FTP 
Inc.'s PC/TCP NFSish link to your favorite unix box should you feel compelled 
to crunch numbers.  Besides, when your RL01 is abruptly invited onward, your
six month RSX hack will be just a few more bits in the bucket of eternity.

One must, of course, keep a rational perspective.  I notice that RD53's
my be had for just $300 from Nexl...     

burr


-- 
     Burr Nelson * 217-333-2435 * burrsie@uxh.cso.uiuc.edu * 128.174.5.55
U of I Biophysics Dept. * 524 Burrill Hall * 407 S. Goodwin * Urbana, IL  61801



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1992-05-22 12:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-05-20 23:04 Need PDP11 RSX-11+, GPIB11V-2 help! Bradley T Banko
1992-05-21 13:31 ` Ed Cetron
1992-05-22  6:40   ` Bradley T Banko
1992-05-22 12:40     ` Burr Nelson
1992-05-22 12:39   ` Kurt Hillig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox