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  <20142015  2016  2017  2018  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  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Query on TCP IP
From: Emmanuel Mayssat <[email protected]>
To: Mark Rivers <[email protected]>, RITU JAIN <[email protected]>, EPICS mailing list <[email protected]>
Date: Thu, 13 Feb 2014 14:40:33 -0800

> - StreamDevice In this case you want to take one message packet and set the values of 50 EPICS records from it. That is a little messy with StreamDevice, though again it could be done I think.

As Mark suggested, it can be done with StreamDevice.
You will have a protocol entries looking like this:

sendPing {
  out 2,7,3,255,0,0,0,0,"%<xor>";
  in 2,7,1,255,"%(\$1:LoadCrntAI.VAL)R","%(\$1:LoadVltgAI.VAL)R","%(\$1:DcpsVltgAI.VAL)R","%(\$1:DcResetCrntAI.VAL)R","%(\$1:DcResetVltgAI.VAL)R","%(\$1:FlmntCrntAI.VAL)R","%(\$1:FlmntVltgAI.VAL)R","%*28r","%(\$1:Main:StsLI.VAL)02.2r","%(\$1:HighVltg:StsLI.VAL)02.2r","%(\$1:Flmnt:StsLI.VAL)02.2r","%(\$1:Cmnctn:StsLI.VAL)02.2r","%(\$1:Reset:StsLI.VAL)02.2r","%(\$1:Mode:StsLI.VAL)02.2r","%<xor>";
}

In the case where you cannot find satisfying converters in which case, you will have to program it (C++ as well).
StreamDevice is now relatively mature though. And based on your email, I don't think you will have any issues.

Good luck,
--
Emmanuel



References:
Query on TCP IP RITU JAIN
Re: Query on TCP IP RITU JAIN
RE: Query on TCP IP Mark Rivers

Navigate by Date:
Prev: RE: I/O Intr. scanning Thread Mark Rivers
Next: RE: MSI macro setting in substitutions file Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Query on TCP IP Mark Rivers
Next: CSS Archiving - non RDB PV Amien Crombie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  <20142015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 17 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·