Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: Sequencer embedded C code question
From: "Laznovsky, Michael" <lazmo@slac.stanford.edu>
To: "Jiro Fujita" <jiro.fujita@gmail.com>, <tech-talk@aps.anl.gov>
Date: Thu, 29 Jun 2006 12:56:42 -0700
Hi- first thing I see is that the escaped code is not inside any 
function block... it needs to be inside a when(); right now it's 
just floating out there with the dclarations (that shouldn't 
compile under a normal C compiler either).

Mike


-----Original Message-----

> %{
>    rob=&roba
>    v=rob[0];                 /*Get first char from string*/
>    wa1=strpbrk(rob, "+-");   /*Break string at +-,rest is wa1*/
>    z=(float)wa1;             /*convert string to float z*/
>   }%
>
> ss ss1 {
>    state state1 {
>       when (    v==1) {
...


Replies:
RE: Sequencer embedded C code question Steven Hartman
Re: Sequencer embedded C code question Jiro Fujita
References:
Re: Sequencer embedded C code question Jiro Fujita

Navigate by Date:
Prev: Re: Sequencer embedded C code question Jiro Fujita
Next: Re: Sequencer embedded C code question Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: Sequencer embedded C code question Jiro Fujita
Next: RE: Sequencer embedded C code question Steven Hartman
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·