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  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: Re: state machine programming
From: Eric Norum <eric@norum.ca>
To: Emmanuel Mayssat <emmanuel_mayssat@lynceantech.com>
Cc: EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Sun, 30 May 2010 12:54:50 -0700
On May 30, 2010, at 6:26 PM, Ralph Lange wrote:

> emmanuel_mayssat@lynceantech.com wrote:
>> On 11:16 Sun 30 May     , Ben Franksen wrote:
>>  
>>> >From an SNL program you can call any C routine.
>>>    
>> 
>> Exactly, with SEQ/SNL you can only call C routines.
>> I would say that's part of the problem. It is too low level.
>>  
> 
> Through exec() calls a state machine can call any program or script
> written in any language on your system. You find that too low level?!
> Could you explain your definition of high level in that context?
> 
> If I remember correctly, your original mail was mentioning the required
> ability to send emails and handle files. I would think your system's C
> API and an exec() of the sendmail command are adequate level for that.

Indeed.
And the iocsh can provide a 'system' command to invoke a shell and thereby any other application on the machine as well.  You could start up matlab or octave and do your state machines there if you liked.

-- 
Eric Norum
eric@norum.ca






References:
state machine programming emmanuel_mayssat
Re: state machine programming Ben Franksen
Re: state machine programming emmanuel_mayssat
Re: state machine programming Ralph Lange

Navigate by Date:
Prev: Re: state machine programming emmanuel_mayssat
Next: Re: state machine programming emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: state machine programming Ralph Lange
Next: Re: state machine programming emmanuel_mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  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 ·