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.
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?