EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Problems sending \x0 with devGpib driver
From: Eric Norum <[email protected]>
To: Andrew Wagner <[email protected]>
Cc: [email protected]
Date: Wed, 7 Nov 2012 20:56:11 -0800
The convert routine is passed the parameters from the command table entry and if it wants it can get at a pointer to the entire command table entry so you can likely provide a single routine that will handle lots of table entries.  You might be able to get away with having to write only a single convert routine for all the commands you need to send.
Certainly a pain, though.
  
I wonder if StreamDevice would work.

On Nov 7, 2012, at 8:49 PM, Andrew Wagner <[email protected]> wrote:

> Hey Eric, 
> 
> Thanks for the advice and commiserating. I already wrote a standalone C++ program to communicate with this thing and it took a little while to write the functions to append and strip \x0\x7 on/off of every string I sent/received from it. It really amazed me that they chose to start every command with \x0 since thats what the entire rest of the world has agreed means end of string. I was hoping to avoid having to write my own version of AsynIPPort just to deal with the \x0\x7 bytes. 
> 
> Cheers, 
> 
> Andrew

-- 
Eric Norum
[email protected]






Replies:
Re: Problems sending \x0 with devGpib driver Dirk Zimoch
References:
Problems sending \x0 with devGpib driver Andrew Wagner
Re: Problems sending \x0 with devGpib driver Eric Norum
Re: Problems sending \x0 with devGpib driver Andrew Wagner

Navigate by Date:
Prev: RE: Problems sending \x0 with devGpib driver Mark Rivers
Next: EPICS Collaboration Meeting October 2012 : Update Ilyou Kim
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Problems sending \x0 with devGpib driver Mark Rivers
Next: Re: Problems sending \x0 with devGpib driver Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·