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  2020  2021  <20222023  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  2020  2021  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Base 7.0.7 + latest
From: Tim Speight via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Tue, 27 Sep 2022 22:20:14 +0100
Hi,

I am developing an EPICS asyn stream device for a Hirst Magnetics GM08 handheld unit and probe.

I think I have tied down my development and my MVP is going to be just reading a stream that is polling every second, without me sending an RS232 command down the line.  It is a fairly simple device communicating at 9600,N,8,1 and I can use screen /dev/ttyS0 9600 in Ubuntu 20.00 to have the device send back terminated data.

Looks a bit like this where the left float is a milliTesla and the 300 is stated units.
00.020 300CrLf
00.002 300CrLf
-0.001 300CrLf

When I try to hook this up to stream and asyn using the latest devices against drvSerial and with the debug loaded.  I’m having a hard time getting the INP to read the data

I have turned on asynTraceMask and get no chatter, plus used the stream debug to see it connect on /dev/ttyS0 at the permissionable addressed Linux COM1 on my motherboard. I get something with not being able to instantiate the PV when I do a dbtr HIRST1:current_value.

Has anyone developed EPICS against this?  Or would a kind person take a glance at my IOC development?

Kind Regards

Tim Speight

Replies:
RE: Base 7.0.7 + latest Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: error during building synapps module Mark Rivers via Tech-talk
Next: RE: Base 7.0.7 + latest Mark Rivers 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  2020  2021  <20222023  2024 
Navigate by Thread:
Prev: Re: error during building synapps module Mark Rivers via Tech-talk
Next: RE: Base 7.0.7 + latest Mark Rivers 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  2020  2021  <20222023  2024 
ANJ, 27 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·