Experimental Physics and
| |||||||||||||||
|
Hi all, I'm Pilkyu Jung who is working with EPICS in Korea. When I receive data from device on IOC, I have a problem. Normally device sends data like this "current 3.2 A", "0.1 V" etc. at least I was knowing like that. but, these days I got a new device which is vacuum ion pump. IOC connected with the device perfectly. However, that device sent data like this. ------------------------------------------------------------------------------------------ 2016/12/02 17:09:18.992 169.254.90.249:10001 read 19 \377\372,j`\377\36005 OK 00 6.4 2016/12/02 17:09:19.012 169.254.90.249:10001 read 14 E-10 TORR B1\r\000 2016/12/02 17:09:19.012361 P1 dbPut: 10MeV:TM:ST_x_Pressure_R1(10MeV:TM:ST_x_Pressure_R1.VAL, DBF_STRING, "��,j`��05 OK 00 6.4E-10 TORR B1") failed ------------------------------------------------------------------------------------------ So, I can't get only real data(6.5E-10). It makes me can't capture data in PV. Then when I express data by caget, it just express 0, like this. ------------------------------------------------------------------------------------------ localhost.localdomain[15]# caget 10MeV:TM:ST_x_Pressure_R1 10MeV:TM:ST_x_Pressure_R1 0 ------------------------------------------------------------------------------------------ If I wanna capture only real data(6.4E-10) how can I do? Here is my .db and .proto files. ------------------------------------------------------------------------------------------ record( ai, "$(P)$(R)ST_x_Pressure_R1"){ field( DESC, "Pressure read") field( DTYP, "stream") field( INP, "@devvacuum.proto getPRS $(PORT1) $(A)") field( EGU, "Torr") field( SCAN, "2 second") } ------------------------------------------------------------------------------------------ getPRS{ out "~ 05 0b 01 00 "; in "%e TORR"; } ------------------------------------------------------------------------------------------ Best Regards, PilkyuJung Tel.+82-10-9067-3109
| ||||||||||||||
ANJ, 02 Dec 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |