Hi Brian -
>I can declare a PV as type aitEnumString of length 1 and my defined
>callback routine will get the proper "Put" string, however, I can not
>get the "Scan" method to take a string from my process and display it in
>the served PV. This would be handy for reporting error strings, for
>instance.
In my PCAS, I use only aitEnumFixedString (and make sure I allocate enough
room even if I don't need it) which works fine. Luckily, most strings in
my application are 40 chars or less - the few oddball strings that are more,
I convert to unsigned byte arrays and let clients deal with them special
if they care (nobody's tried to connect to these few channels so nobody's
complained).
I'll be interested to know if you get aitEnumString to work. Thanks,
Stephanie Allison
- Replies:
- Re: String PVs and the Portable CA Server. Brian Tieman
- Navigate by Date:
- Prev:
RE: channel access time response Jeff Hill
- Next:
Re: String PVs and the Portable CA Server. john sinclair
- 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:
Re: String PVs and the Portable CA Server. john sinclair
- Next:
Re: String PVs and the Portable CA Server. Brian Tieman
- 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
|