EPICS Home

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  <20172018  2019  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Streamdevice waveform - binary data stream with no separator
From: "Paduan Donadio, Marcio" <[email protected]>
To: EPICS tech talk <[email protected]>
Date: Thu, 18 May 2017 17:25:07 +0000

Good morning to all!


I have an equipment that sends 140 16-bit words in sequence. I want to put the 140 numbers in a waveform using Streamdevice.


The manual says:

Separator = "";
String. Affects out and in commands.
When formatting or parsing array values in a format converter (see formats and waveform record), what string to write or to expect between values?


and gives this protocol example:

array_out {separator=", "; out "an array: (%.2f)";}


How can I address my case using something like the separator idea, when I don't have a separator, but a fixed byte size for each number?


Thank you for all help!


Márcio Paduan Donadio

Software Engineer - TID-AIR-ACS - SLAC


Navigate by Date:
Prev: Troubleshooting the redirection-to-records feature of streamDevice Kevin Peterson
Next: Micronix MMC-10 Kevin Peterson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Troubleshooting the redirection-to-records feature of streamDevice Kevin Peterson
Next: Re: Streamdevice waveform - binary data stream with no separator Paduan Donadio, Marcio
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024