Experimental Physics and
| |||||||||||||||
|
Hi Mark I have attached 3 files: 1. The protocol file for the controllers. 2. "ipc18" contains output from "asynTraceMask" functions before and after a failure. This IPC gave mismatch error just after the IOC initialized. 3. "vacuum-error.txt" contains error from the IOC shell itself. Best Regards, Abdalla. -----Original Message----- From: Mark Rivers [mailto:[email protected]] Sent: Monday, March 12, 2018 1:19 PM To: Abdalla Ahmad <[email protected]>; [email protected] Subject: Re: StreamDevice with Telnet port Once they fail post the output here to tech-teclk, starting just before the failure through it. Then we can see if the device failed to respond in time to one command, for example. If it did then it is possible the response from the previous command arrived after a timeout and was confused with the response to the next command. Mark ________________________________ From: Abdalla Ahmad <[email protected]> Sent: Monday, March 12, 2018 1:49 AM To: Mark Rivers; [email protected] Subject: RE: StreamDevice with Telnet port Hi Mark Thank you very much. I have just set these commands for all the controllers and waiting them to fail. But one thing I am not sure of is, how these captured information will help me? Best Regards, Abdalla. -----Original Message----- From: Mark Rivers [mailto:[email protected]] Sent: Sunday, March 11, 2018 3:15 PM To: Abdalla Ahmad <[email protected]>; [email protected] Subject: Re: StreamDevice with Telnet port Hi Abdalla, You should capture the communications stream between the IOC and the controller using asynTrace. Type the following commands at the IOC prompt or put them in your startup script. Replace PORT with the name of the drvAsynIPPort. asynSetTraceIOMask PORT 0 2 asynSetTraceMask PORT 0 9 If it takes a long time to fail then you might want to send the output to a file asynSetTraceFile PORT 0 filename That trace should tell you if there was some miscommunication before the pressure PV comes back wrong. Mark ________________________________ From: [email protected] <[email protected]> on behalf of Abdalla Ahmad <[email protected]> Sent: Sunday, March 11, 2018 7:54 AM To: [email protected] Subject: StreamDevice with Telnet port Hi We have the Gamma QPC ion-pump controllers controlled via StreamDevice through telnet, port 23. We have 4 parameters implemented, pressure, voltage, current, and channel status. The problem is that the IOC gives an error that the value received for the pressure PV is "Running", i.e. "Input Running does not match format %E". Seems like at some point the controller is not finishing a previous parameter and the IOC receives something different than the current parameter requested. We have the following in the protocol file: OutTerminator = CR; InTerminator = CR; ReadTimeout = 2000; ReplyTimeout = 2000; And each parameter in the protocol file has ExtraInput = Ignore at the end. Any help resolving this mismatching issue? Best Regards, Abdalla Ahmad Control Engineer SESAME Allan, Jordan. Tel: (+962-5) 3511348 , ext. 265 Fax: (+962-5) 3511423 Mob: (+962-7)88183296 www.sesame.org.jo<http://www.sesame.org.jo/> Attachment:
vacuum-gamma-qpc.proto Attachment:
ipc18 2018/03/18 14:52:49.715 SR-IPC18 SRC09-VA-IP5:getPressure: Input " Running" does not match format %E 2018/03/18 14:52:49.964 SR-IPC18 SRC09-VA-IP5:getVoltage: 5 bytes surplus input " AMPS" 2018/03/18 14:52:49.964 SR-IPC18 SRC09-VA-IP5:getVoltage: after 15 bytes: ">OK 00 2.43E-08" 2018/03/18 14:52:50.399 SR-IPC18 SRC09-VA-IP6:getPressure: Input " Running" does not match format %E 2018/03/18 14:52:50.714 SR-IPC18 SRC09-VA-IP6:getVoltage: 5 bytes surplus input " AMPS" 2018/03/18 14:52:50.714 SR-IPC18 SRC09-VA-IP6:getVoltage: after 15 bytes: ">OK 00 3.80E-09" 2018/03/18 14:52:51.074 SR-IPC18 SRC09-VA-IP7:getCurrent: Input " Running" does not match format %E 2018/03/18 14:52:51.078 SR-IPC27 SRC14-VA-IP1:isEnabled: Timeout after reading 1 byte "" 2018/03/18 14:52:51.194 SR-IPC18 SRC09-VA-IP7:getVoltage: 5 bytes surplus input " AMPS" 2018/03/18 14:52:51.194 SR-IPC18 SRC09-VA-IP7:getVoltage: after 15 bytes: ">OK 00 1.81E-08" 2018/03/18 14:52:52.296 SR-IPC27 SRC14-VA-IP2:getPressure: Input " Running" does not match format %E 2018/03/18 14:52:52.536 SR-IPC27 SRC14-VA-IP2:getVoltage: 5 bytes surplus input " AMPS" 2018/03/18 14:52:52.536 SR-IPC27 SRC14-VA-IP2:getVoltage: after 15 bytes: ">OK 00 4.77E-08"
| ||||||||||||||
ANJ, 18 Mar 2018 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |