EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  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  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: problem in communicating to the gpib device with asyn4-6
From: zhangdemin99 <[email protected]>
To: tech-talk <[email protected]>
Date: Sat, 4 Aug 2007 11:25:40 +0800 (CST)
dear Norum,
  Tanks for your reply.
  I have set like what you suggested:
{&DSET_SO,GPIBWRITE,IB_Q_LOW,NULL,"DISP:TEXT \"%s\"",0,200,NULL,0,0,NULL,NULL,NULL}
{&DSET_SI,GPIBREAD,IB_Q_LOW,"DISP:TEXT?","%39[^\r\n]",0,200,NULL,0,0,NULL,NULL,NULL}
  asynOctetSetInputEos("L0",-1,"\LF")
  asynOctetSetOutputEos("L0",-1,"\LF")
 
but there are also some problems:
epics>2007/08/04 10:18:38.879 /dev/ttyS0 write 18
DISP:TEXT \"abcd\"L
epics>2007/08/04 10:18:45.263 /dev/ttyS0 write 11
DISP:TEXT?L
2007/08/02 10:18:50.266 display-query read status ""nin 0
2007/08/02 10:18:50.266 display-query error.
 
At the same time ,thanks Mayssat for your suggestion.
I am sure the message terminators for the device are"LF".
 
Demin Zhang



劲 爆 150 万 同 时 在 线,众 人 追 捧 梦 幻 西 游
Replies:
Re: problem in communicating to the gpib device with asyn4-6 Eric Norum

Navigate by Date:
Prev: Enabling drvLinuxGpib (linux-gpib) Emmanuel Mayssat
Next: RE: asyn float64array interrupt problem Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Enabling drvLinuxGpib (linux-gpib) Gasper Jansa
Next: Re: problem in communicating to the gpib device with asyn4-6 Eric Norum
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·