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  2018  2019  <20202021  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  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Stream Device Format "%d" has data type signed which is not supported by RECORD
From: Peter Milne via Tech-talk <tech-talk at aps.anl.gov>
To: Tech-talk <tech-talk at aps.anl.gov>
Date: Mon, 27 Apr 2020 10:41:18 +0100
Hello Techtalk, especially Dirk ..

After building a new EPICS7 installation, following the useful HOWTO (Thanks!)
https://docs.epics-controls.org/projects/how-tos/en/latest/getting-started/installation.html#install-streamdevice-by-dirk-zimoch-psi


The IOC is up and running, and mostly working on an existing large (3K) record set.

dbior "stream"
Driver: stream
  StreamDevice 2.8.12 built Apr 27 2020 10:02:57
  (C) 1999 Dirk Zimoch (dirk.zimoch at psi.ch)
  registered bus interfaces:
    DebugInterface
    DummyInterface
    AsynDriverInterface

But, it's not happy:
2020/04/27 09:32:24.041808 S2 acq2106_182:2:SYNC:r: Format "%d" has data type signed which is not supported by "acq2106_182:2:SYNC:r".
2020/04/27 09:32:24.042966 S0WR acq2106_182:0:WR:TS:rc: Format "%d" has data type signed which is not supported by "acq2106_182:0:WR:TS:rc".
2020/04/27 09:32:24.044793 S3 acq2106_182:3:SYNC:r: Format "%d" has data type signed which is not supported by "acq2106_182:3:SYNC:r".
2020/04/27 09:32:24.045783 S1_480 acq2106_182:1:ACQ480:TWO_LANE: Format "%d" has data type signed which is not supported by "acq2106_182:1:ACQ480:TWO_LANE".
2020/04/27 09:32:24.046208 S4_480 acq2106_182:4:ACQ480:TWO_LANE: Format "%d" has data type signed which is not supported by "acq2106_182:4:ACQ480:TWO_LANE".

.. there are hundreds of them..

The existing records are mostly mbbi. The format should write into the VAL field.
Other conversions, eg %s work OK.

Did base or StreamDevice tighten up the requirements for this?

The line of code that makes the message hasn't changed:
StreamCore.cc#1317
                            error("%s: Format \"%%%s\" has data type %s which is not supported by \"%s\".\n",
                                name(), formatstring(), StreamFormatTypeStr[fmt.type], fieldAddress ? fieldName : name());

Our previous implementation was EPICS7 base, but really just EPICS3, no EPICS4. Now we've included EPICS4 (not that that should make a difference).

Thanks

Peter

--
Peter Milne
Director of Sales
www.d-tacq.com

Replies:
Re: Stream Device Format "%d" has data type signed which is not supported by RECORD Noboru Yamamoto via Tech-talk

Navigate by Date:
Prev: Re: CA Repeater Revisited Ralph Lange via Tech-talk
Next: Adding new record to EPICS 7 IOC with pvDatabase Joao Paulo Martins via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: CA Repeater Revisited Ralph Lange via Tech-talk
Next: Re: Stream Device Format "%d" has data type signed which is not supported by RECORD Noboru Yamamoto via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 27 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·