From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,1c33a18d18f25a01,start X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,1c33a18d18f25a01,start X-Google-Attributes: gidf6134,public X-Google-Thread: 16be3f,1c33a18d18f25a01,start X-Google-Attributes: gid16be3f,public X-Google-ArrivalTime: 1992-05-20 09:45:32 PST Xref: sparky comp.org.decus:414 comp.sys.dec:3052 Newsgroups: uiuc.sys.dec,comp.org.decus,comp.sys.dec Path: sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!btbg1194 From: btbg1194@uxa.cso.uiuc.edu (Bradley T Banko) Subject: Need PDP11 RSX-11+, GPIB11V-2 help! Message-ID: <1992May20.230423.22717@news.cso.uiuc.edu> Sender: usenet@news.cso.uiuc.edu (Net Noise owner) Organization: University of Illinois at Urbana Date: Wed, 20 May 1992 23:04:23 GMT 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