Experimental Physics and Industrial Control System
Please send your protocol file.
The following protocol should work:
out "U1"
in "U1"
in "%d"
out "I1"
in "I1"
in "%f"
Mark
________________________________
From: [email protected] [[email protected]] on behalf of "최숙" [[email protected]]
Sent: Wednesday, July 20, 2016 7:53 PM
To: [email protected]
Subject: Question about stream device
Dear EPICS colleagues.
I want to handle ISEG high voltage power supplier to usee stream device through USB.
I need kut off the return value including \r\n..
I send a string like "U1\r\n"
It returned a string like "U1\r\n200\r\n"
In this case I want to only 200 value.. but record read only U1... first part of response because of \r\n.
Anyone know about the method of cut off the first part let me the method...
This is a screen of IOC running
2016/07/21 09:02:35.693 /dev/ttyUSB_A70449SI read 15
I1\r\n0.0000E-3\r\n
2016/07/21 09:02:35.892 /dev/ttyUSB_A70449SI write 4
U1\r\n <-- I send this message
2016/07/21 09:02:35.947 /dev/ttyUSB_A70449SI read 7
U1\r\n0\r\n <-- This is return message
2016/07/21 09:02:36.637 /dev/ttyUSB_A70449SI write 4
I1\r\n
2016/07/21 09:02:36.693 /dev/ttyUSB_A70449SI read 15
I1\r\n0.0000E-3\r\n
2016/07/21 09:02:36.892 /dev/ttyUSB_A70449SI write 4
U1\r\n
2016/07/21 09:02:36.947 /dev/ttyUSB_A70449SI read 7
U1\r\n0\r\n
2016/07/21 09:02:37.637 /dev/ttyUSB_A70449SI write 4
I1\r\n
2016/07/21 09:02:37.693 /dev/ttyUSB_A70449SI read 15
I1\r\n0.0000E-3\r\n
Suk Choi
Ph.D / Research Fellow
RI Beam Production Systems Team
Rare Isotope Science Project / Institute for Basic Science
70, Yuseong-daero 1689-gil,Yuseong-gu, Daejeon, Korea, 34047
Tel 042-878-8807 Fax 042-878-8899
E-mail [email protected]<redir.aspx?REF=pKVsy2c0njdG07oAHbsU4NkhvOALJHVxBLMmgTxKzpVWF1ngErHTCAFtYWlsdG86c2psZWU3N0BpYnMucmUua3I.>
- References:
- Question about stream device "최숙"
- Navigate by Date:
- Prev:
Question about stream device "최숙"
- Next:
areaDetector support for detector serial number / device ID Hinxx
- 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
2022
2023
2024
- Navigate by Thread:
- Prev:
Question about stream device "최숙"
- Next:
areaDetector support for detector serial number / device ID Hinxx
- 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
2022
2023
2024