Skip to content

Remote errors never reach the client #1

Description

@ciozi137

Errors are dropped in RemoteControl.SendMessageToProcess.vi (Generate User Event is gated on error in), so a failed remote command sends no reply and the REP socket stops accepting requests.

Fix: always fire the event, carry the error in the event payload, and have RemoteControl Process format the error response ({code, message, data?} + request id) via Create Response; extend Create Error Object to render app codes; clear the error in the caller so it isn't also treated as an instrument fault.

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