On 03/07/2016 11:25 PM, Ryan Pierce wrote:
> Ideally, I'd like it to be returned as an array of type stringin. But I don't know if such a thing exists in EPICS,
It does (waveformRecord w/ FTVL=STRING), but this isn't often used. So cs-studio may not be able to do much with this, though I haven't tried.
> or if it does, how to pass it through asyn.
A quick look at devAsynOctet.dbd makes me think no.
> I can't return it as a single space or comma delineated string either, since I exceed the 40 character limit with 3 devices.
A string longer than 40 characters can be represented as a character array (waveform w/ FTVL=CHAR). This is common and all OPI clients have some way to hint that this should be rendered as a string (cs-studio has a property Format=String). You still have to pick a max length (NELM field), but this can be quite long.
> I considered trying to pass these in binary form and convert it as hex for operator display, but I don't know if a 64 bit datatype exists.
Unfortunately no 64 bit integers for Channel Access.
- References:
- Array of strings with asyn? Ryan Pierce
- Navigate by Date:
- Prev:
Array of strings with asyn? Ryan Pierce
- Next:
Q: Are any tools using gui_group() properties? Ralph Lange
- 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:
Array of strings with asyn? Ryan Pierce
- Next:
RE: Array of strings with asyn? Mark Rivers
- 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
|