Skip to content

Recommended simulation EPICS IOC to test EpicsMotor #1210

@mguijarr

Description

@mguijarr

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions