Experimental Physics and Industrial Control System
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
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
- 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
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025