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  <20172018  2019  2020  2021  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: read data from mp2000 LVDT Controller
From: Basil Aljamal <[email protected]>
To: "[email protected]" <[email protected]>
Date: Wed, 27 Dec 2017 07:50:10 +0000
Dear all,

I have a  mp2000 LVDT Controller and I want to get channels reading via serial communication, channel data return as 8 bytes in hexadecimal but the problem I can't parse this data to PV record. I have tried %x format converter but it doesn't work.

This the message that i got in iocshell:

2017/12/27 09:40:17.041470 serial0 D08-DI-LVDT:getChannelA: Input "<02><01><00><00><00><1e><01><0a>" does not match format "%x"

This is a part of my protocol file that belongs to channel A reading:

getChanA
{
        out "S0 \x0d";
        out "\x11 \x0d";
        in  "%x";
        out "\x13 \x0d";
}

Best regards,
Basil aljamal

Replies:
Re: read data from mp2000 LVDT Controller Mark Rivers

Navigate by Date:
Prev: Help regarding BACnet Zubair Khan
Next: Re: read data from mp2000 LVDT Controller Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Help regarding BACnet Zubair Khan
Next: Re: read data from mp2000 LVDT Controller Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 27 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·