Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recommended simulation EPICS IOC to test EpicsMotor #1210

Open
mguijarr opened this issue Sep 18, 2024 · 0 comments
Open

Recommended simulation EPICS IOC to test EpicsMotor #1210

mguijarr opened this issue Sep 18, 2024 · 0 comments

Comments

@mguijarr
Copy link

mguijarr commented Sep 18, 2024

What is the recommended simulation IOC to test EpicsMotor in Ophyd ?

I mean, to have a realistic behaviour, with real timings etc ?

I just gave a try to https://github.com/epics-motor/motorMotorSim . It does not seem to be very compatible,
since I have errors like:

epics> CA.Client.Exception...............................................
    Warning: "User specified timeout on IO operation expired"
    Context: "ca_search_and_connect"
    Source File: ../motorUtil.cc line 210
    Current Time: Wed Sep 18 2024 11:39:45.496673122
..................................................................
motorUtil.cc: getChID(IOC:moving.VAL) error: 80
CA.Client.Exception...............................................
    Warning: "User specified timeout on IO operation expired"
    Context: "ca_search_and_connect"
    Source File: ../motorUtil.cc line 210
    Current Time: Wed Sep 18 2024 11:40:45.496969230
..................................................................
motorUtil.cc: getChID(IOC:alldone.VAL) error: 80
CA.Client.Exception...............................................
    Warning: "User specified timeout on IO operation expired"
    Context: "ca_search_and_connect"
    Source File: ../motorUtil.cc line 210
    Current Time: Wed Sep 18 2024 11:41:45.497185065
..................................................................
motorUtil.cc: getChID(IOC:movingDiff.VAL) error: 80
Failed to connect to IOC:moving or IOC:alldone or IOC:movingDiff.
Check prefix matches Db

On the client side, asking for .position blocks forever (for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant