EPICS Home

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

Subject: Re: state machine programming
From: Eric Norum <[email protected]>
To: Emmanuel Mayssat <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Sun, 30 May 2010 12:54:50 -0700
On May 30, 2010, at 6:26 PM, Ralph Lange wrote:

> [email protected] 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
[email protected]






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  2018  2019  2020  2021  2022  2023  2024 
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  2018  2019  2020  2021  2022  2023  2024