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: RE: Base 7.0.7 + latest
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: Tim Speight <timsp8 at gmail.com>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 27 Sep 2022 22:54:03 +0000

Hi Tim,

 

I’d be happy to take a look at this for you.  Is the code somewhere I can access?  If not please send the database file, protocol file, and complete output when you start the IOC with asynTraceIODriver enabled on the serial port.

 

Mark

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Tim Speight via Tech-talk
Sent: Tuesday, September 27, 2022 4:20 PM
To: tech-talk at aps.anl.gov
Subject: Base 7.0.7 + latest

 

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


References:
Base 7.0.7 + latest Tim Speight via Tech-talk

Navigate by Date:
Prev: Base 7.0.7 + latest Tim Speight via Tech-talk
Next: Re: [EXTERNAL] 1D Histogram in Phoebus Florian Feldbauer 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: Base 7.0.7 + latest Tim Speight via Tech-talk
Next: DMOV flag problem with soft motor Celcer Tine (PSI) 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, 28 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·