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: Re: How to declare the command array?
From: Emmanuel Mayssat <[email protected]>
To: zhangdemin99 <[email protected]>
Cc: tech-talk <[email protected]>
Date: Thu, 19 Jul 2007 09:22:53 -0700
Look at this document:
http://www.aps.anl.gov/epics/modules/soft/asyn/R4-8/tutorial.html

For the string terminator look at 
asynOctetSetInputEos("L0",0,"\n") 
asynOctetSetOutputEos("L0",0,"\n")

Regards,
--
E


On Thu, 2007-07-19 at 21:38 +0800, zhangdemin99 wrote:
> Dear all,
>   I am using ASYN to communicate the GPIB device, and a serial line
> directly attached to the IOC. I want to send a string command to the
> GPIB device, such as "DISPlay:TEXT" ,and the text which I want to send
> is anystring, then how to creat the command array entries when
> creating ? the "eos" is "LF".
>   Many thanks in advance.
>  
> demin zhang
> CAEP
>  
> 
> 
> 
> ______________________________________________________________________
> è è çïå è 3 æ äãè å æ æ è åïå å æ ä ç æ è ä æ
> åï



References:
How to declare the command array? zhangdemin99

Navigate by Date:
Prev: How to declare the command array? zhangdemin99
Next: Re: How to declare the command array? 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 
Navigate by Thread:
Prev: How to declare the command array? zhangdemin99
Next: Re: How to declare the command array? 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 ·