On 4/23/24 00:07, whitetiger1123 via Tech-talk wrote:
We are currently using Altekna's watt pilot and controller. In order to use this in epics, we made python code to communicate with epics, and we checked it works.
But here we got a problem. If we move the motor often, epics will have a problem where it accepts and does not accept commands. For example, if you move the motor often, epics will be disconnected, and you have to manually turn the controller off and then run Python code to run epics again.
Can anyone solve this problem? I want to know what kind of problem it is.
Perhaps someone who knows the caproto server python module will comment.
If this were one of the PVA or CA server modules I have used, then I would
suspect that blocking I/O with the moter controller was happening on a
shared thread, preventing network I/O.
EPICS Base : R3.16.1
OS : NAME="Rocky Linux"
VERSION="8.8 (Green Obsidian)"
Linux version 4.18.0-477.27.1.el8_8.x86_64 (gcc version 8.5.0 20210514 (Red Hat 8.5.0-18)
PS. I’m also attaching the code.
https://urldefense.us/v3/__https://github.com/whitetiger112233/watt__;!!G_uCfscf7eWS!bcoJk9XJJIbo4uHVkHOBOQaHvnD_PmM3H-m9QwaZivH-7j4UV-g3hNs3NpzhHSPaHiI91Syt_-ICVapxGJ5dHWZU9g$ <https://urldefense.us/v3/__https://github.com/whitetiger112233/watt__;!!G_uCfscf7eWS!Yg26To4MKrSZN8_khB9V1QCq3kuHG-EPbjZdTM-1ryfD5wGJomSobBedP2vYxYufDqi_A_CNGtEt1bnbdZKDukRdqUg$>
This is my GitHub, you guys can watch about my python code.
Please anyone watch and give me some advice..
Sincerely,
Baeg
- References:
- EPICS sometimes disconnect when I moving motor whitetiger1123 via Tech-talk
- Navigate by Date:
- Prev:
Editing .pb files for the purpose of appending data to them Windsor Tanner via Tech-talk
- Next:
Re: AMI 286 Liquid Level Controller Tynan Ford via Tech-talk
- 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:
EPICS sometimes disconnect when I moving motor whitetiger1123 via Tech-talk
- Next:
AMI 286 Liquid Level Controller Tran, Phi Dung via Tech-talk
- 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>
|