EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: VME-GPIB 1014 problems (beginner questions)
From: [email protected] (Ned Arnold)
To: [email protected]
Cc: [email protected]
Date: Wed, 10 Dec 1997 09:29:29 -0600
Here are some topics that have come up while helping people get an NI-1014
board working ...

JUMPERS

W1 :  0x50    (Base Address = 0x5000 in the A16 address space for Link 0)
W2 :  S       (use "supervisory" access)
W3 :  1       (Default Setting)
W4 :  1       (Default Setting)
W5 : AM1'     (Default setting)

ATTENTION :
The NI-1014 is a DMA device AND an interrupting device, so it must be placed
ADJACENT to other VME modules with no empty slots between it and the CPU (or
install appropriate jumpers on the VME back plane).

VxWorks BOARD SUPPORT 
The "as shipped by Wind Rivers" board support for the MVME167 DOES NOT
WORK with the NI-1014. Modification must be made to properly configure the
memory management chips such that the 1014 can write to CPU memory (as a DMA
device. The modified one for the 167 is available from Argonne. Others have 
done one for the 147. If you are using a different CPU, be forewarned !

GPIB Interact
There is a very useful program distributed with EPICS that 
allows one to send/receive GPIB data interactively to an instrument
without ANY device support. This is a great tool to confirm the 1014 is
working AND to better understand how your instrument communicates.

In 3.13, edit xxApp/src/baseLIBOBJS to include 
  LIBOBJS += $(EPICS_BASE_BIN)/devGpibInteract.o


After the ioc boots, type GI (GPIB Interact) to start the menu driven program.


DEVICE Support

The 'skeleton' device support (and other examples) are distributed in 

   baseR3.13.0.beta11/src/devOpt
   
What seems to have worked even better for people is to find an
existing device support for a device SIMILAR to yours and simply
change the format strings for commands and responses. A simple
tech-talk message may help you find one really similar.

ALSO, there is the 'generic GPIB' record available from APS (written
by Mark Rivers) which avoids device support all together. You simply
write the command string to the record and read the response.


	Hope this helps.
	
		Ned
		

> I'm using epics R3.13.0.beta11 and I've got a GPIB-1014
> (VME Module by National Instruments). I want write a
> device support to control one instrument by GPIB.
> 
> The address of my 1014 is : 0xffff5000 but what are the
> correct set for those jumpers : W2, W3, W4, W5 ?
> 
> Next, in the last page of the documentation (GPIB Device Support by John
> Winans) there is a strange (for me)
> information : "....GPIB_IO link type entries in your
> devSup.ascii file(s)." where is, in this epics version,
> this file ?
> 
> In the first page of that document Winans wrote "The basic
> GPIB device support module is costructed by copying the
> sample skeleton template...." where is, in this epics version, this file
> ? my base/template folder is empty.
> Please, can I have one copy ?
> 
> Thanks for your suggestions.
> Mauro

Navigate by Date:
Prev: Proposed changes in ai & ao records Benjamin Franksen
Next: Re: VME-GPIB 1014 problems (beginner questions) Bill Brown
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: VME-GPIB 1014 problems (beginner questions) mauro
Next: Re: VME-GPIB 1014 problems (beginner questions) Bill Brown
Index: 1994  1995  1996  <19971998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·