Experimental Physics and
| |||||||||||||||
|
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]
| ||||||||||||||
ANJ, 20 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |