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: Re: 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: Tue, 28 Apr 2020 08:52:46 +0100
Hello Yamamoto-san

Thank you for your feedback..

On 28/04/2020 01:05, Noboru Yamamoto wrote:
Hi,

If you are running Stream Device and EPICS7 on a 64bit system,
following post will help you to solve the problem.

https://github.com/paulscherrerinstitute/StreamDevice/pull/52/commits


Actually, our target is 32bit, but your comment is appreciated and still relevant, thank you.

I found that, by reverting to Stream Device to the previous version 2.8.8, correct operation is restored. So it seems that Stream Device is broken for my configuration somewhere between 2.8.8 and 2.8.12, maybe something to do with 64bit support.

Is it possible that SD#2.8.12 in general is good for 64-bit architectures, but broken for 32-bit?.

My plan is to run with 2.8.8 for now to support shipments, then to bisect Stream Device to find the point of failure when time permits.

Regards


Peter



regards,

Noboru Yamamoto
Acc. control group
J-PARC/KEK
JAPAN


----- Original Message -----
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





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

References:
Stream Device Format "%d" has data type signed which is not supported by RECORD Peter Milne via Tech-talk
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: Stream Device Format "%d" has data type signed which is not supported by RECORD Noboru Yamamoto via Tech-talk
Next: Re: Tips for doing conditional logic in EPICS records Davis, Mark 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: Stream Device Format "%d" has data type signed which is not supported by RECORD Noboru Yamamoto 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 
ANJ, 28 Apr 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·