EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Parse a variable-length, multi-column waveform in stream device
From: "Abdalla Ahmad" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 8 Aug 2018 09:09:05 +0000

Hi

 

We are trying to implement an IOC for the Libera Spark BPM using stream device, one of the tricky commands for example is TBT_IQ <N> which returns a variable-length buffer of turn-by-turn data. An example:

 

TBT_IQ 3

22 -36  19 -38  16 -31  -3  -31

39 -212 29 -212 26 -163 -37 -150

39 -175 36 -176 27 -133 -21 -129

 

As you can see the output is an array of fixed columns (IQ parameters) and variable rows (waveforms length). In a single line you can easily parse and skip any value, but in this format we have two problems:

1.       Is it possible to parse variable number of IN commands in the protocol file?

2.       Variable "IN" commands mean variable waveform length, is this possible in EPICS?

 

Best Regards,

 

Abdalla Ahmad

Control Engineer

SESAME

Allan, Jordan.

Tel: (+962-5) 3511348 , ext. 265

Fax: (+962-5) 3511423

Mob: (+962-7)88183296

www.sesame.org.jo

 


Replies:
Re: Parse a variable-length, multi-column waveform in stream device Dirk Zimoch

Navigate by Date:
Prev: Anton's retirement; caQtDM Mezger Anton Christian (PSI)
Next: Re: Parse a variable-length, multi-column waveform in stream device Dirk Zimoch
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Anton's retirement; caQtDM Mezger Anton Christian (PSI)
Next: Re: Parse a variable-length, multi-column waveform in stream device Dirk Zimoch
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 08 Aug 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·