>
> Dear all,
>
> If one uses a soft record to allow an OPI to send a user command to
> a sequence, should it be an output record (because the OPI writes to it)
> or an input record (because the sequence reads from it)? Does it matter?
>
> William
>
It doesn't matter, but there are some advantages/disadvantages to each. For
Analog AI/AO, I prefer to use an analog out record because I can set up
.DRVH and .DRVL in the record such that the sequence program doesn't have
to worry about limit checking (the record handles it). For binary types, I
usually use MBBO records because they give you up to 16 commands that you
can send to the sequence.
Another suggestion .... since it seems that the user is interacting with the
sequence program, provide a few soft string_in records that the sequence
can write to in order to communicate back to the users. Status messages
like "Not all channels connected", or "Sequence Idle" or "Input command doesn't
make sense" go along way in providing user friendly applications.
Ned
- Navigate by Date:
- Prev:
soft input versus soft output William Lupton
- Next:
Fortran-CA interface F. Gougnaud
- 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
- Navigate by Thread:
- Prev:
soft input versus soft output William Lupton
- Next:
Fortran-CA interface F. Gougnaud
- 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
|