EPICS Home

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: Reading scope waveforms with StreamDevice + asyn
From: Rod Nussbaumer <[email protected]>
To: Dirk Zimoch <[email protected]>
Cc: epics Techtalk <[email protected]>
Date: Mon, 16 Jan 2012 10:34:30 -0800
Thanks Dirk. I will try it tomorrow. And thanks for the clarification on interaction between StreamDevice and Asyn.

   ---   Rod.


Dirk Zimoch wrote:
Rod,

I tried to fix the drvLinuxGpib.c. Please try. I cannot test it here.

Dirk


Dirk Zimoch wrote:
Hi Rod,

Not specifying any terminator means: Do not touch the terminator
settings. That means use whatever is specified by asynDriver with
asynOctetSetInputEos and asynOctetSetOutputEos in the startup script.
If neither is used, the default is empty string for both. Setting the
terminator to "" or any other string overwrites the asynDriver setting.

I had a look at drvLinuxGpib.c and found:
* It never sets eomReason. Thus StreamDevice (or any other asynUser)
has no chance to find EOI.
* Under some circumstances it sets EOS to '\0' instead of nothing.

Dirk





References:
Reading scope waveforms with StreamDevice + asyn Rod Nussbaumer
Re: Reading scope waveforms with StreamDevice + asyn Dirk Zimoch
Re: Reading scope waveforms with StreamDevice + asyn Rod Nussbaumer
Re: Reading scope waveforms with StreamDevice + asyn Dirk Zimoch
Re: Reading scope waveforms with StreamDevice + asyn Dirk Zimoch

Navigate by Date:
Prev: Re: porting strategy from IDL Paul Sichta
Next: Re: Strategies for working with fast-changing large arrays Matt Newville
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: Reading scope waveforms with StreamDevice + asyn Dirk Zimoch
Next: Rec Proc Monitor for mbbi ZRST Peters, Charles C.
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