EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: mbbo strings linked to mbbo commands
From: Emmanuel Mayssat <[email protected]>
To: [email protected]
Date: Wed, 27 Apr 2005 09:53:55 -0700
I use the mbbo to configure some of my timing generator.
For example, I can select 'internal' or 'external' trigger.
For each of those settings, I need to send over GPIB a specific command.

I noticed that a mbbo record is quite a nice way to do that.
The only thing is that in the record we cannot input clearly which command to send when the mbbo is set to 0 or 1.


Obviously, I could use the OUT field to pass all of the 16 commands (mbbo can have up to 16 values/strings). But then I could potentially hit the limit on the length of that field (40 chars?) and the command are not clearly associated with a 'state' string (the association of field in the Db file must be done in the driver code - Not really readable!).

The other method I have found is to use a soft mbbo to a sequencer (SELM=specified and DOLx=my commands) that output on a Stringout record.

Is anybody using anything else or a smarter way?

--
Emmanuel Mayssat
Lyncean Technologies, Inc.
Direct: 650/320-8300 x409
Cell: 650/793-0626


References:
if-then-else in iocsh Emmanuel Mayssat
Re: if-then-else in iocsh Andrew Johnson
Re: if-then-else in iocsh Maren Purves
Re: if-then-else in iocsh Emmanuel Mayssat
Re: if-then-else in iocsh Andrew Johnson

Navigate by Date:
Prev: APS Computer and Network Outage on Saturday Andrew Johnson
Next: SNC SEQ Versions mismatch Hasan, S.M. S.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: if-then-else in iocsh Andrew Johnson
Next: Yet another VxWorks MBUF issue... Lawrence T. Hoff
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·