EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  <19992000  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  1997  1998  <19992000  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: drvGpib.c]
From: Noboru Yamamoto <[email protected]>
To: Ned Arnold <[email protected]>
Cc: [email protected]
Date: Thu, 05 Aug 1999 18:14:37 +0900
> Hello all - 
> 
> The following comment in drvGpib.c says the EndOfString character terminator 
> is not supported for the NI1014. Has anyone added this feature for the 
> 
> NI1014 ? 
> 
> 
> Ned 

We use a modified version of drvGpib.c/devCommonGpib.c. which allow user
to specify EOS character for GP-IB
device in  devGpibParmBlock structure. In other word, you must add an
additional field in your GP-IB device support
routine (and recompile it!).

If you are interested, please let me know. I'm happy to send them out.

Noboru Yamamoto
KEKB control group
KEK, JAPAN
--- Begin Message ---
Subject: Fwd: drvGpib.c
From: "Noboru Yamamoto" <[email protected]>
To: [email protected]
Date: 5 Aug 99 17:48:04 +0900
Hello all -

The following comment in drvGpib.c says the EndOfString character terminator
is not supported for the NI1014. Has anyone added this feature for the

NI1014 ?


Ned




/******************************************************************************
*
* A device support callable entry point used to read data from GPIB devices.
*
* This function returns the number of bytes read from the device, or ERROR
* if the read operation failed.
*
* This routine can terminate a read on receipt of the end-of-string (Eos)
* character. Note that this is presently only supported for HiDEOS. The
* EOS parameter is presently ignored by the NI and Bitbus routines. Support
* for EOS on these may be added in the future.
*
******************************************************************************/
int readIbEos(
struct ibLink *pibLink,
int gpibAddr, /* the device number to read the data from */
char *data, /* the buffer to place the data into */
int length, /* max number of bytes to place into the buffer */
int time, /* max time to allow for read operation */
int eos) /* End-of-string character, -1 if none */
{



--- End Message ---

Navigate by Date:
Prev: Array Information Noboru Yamamoto
Next: Openning in next week's training at Los Alamos Bob Dalesio
Index: 1994  1995  1996  1997  1998  <19992000  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: RE: Array Information Jeff Hill
Next: Openning in next week's training at Los Alamos Bob Dalesio
Index: 1994  1995  1996  1997  1998  <19992000  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 ·