Skip to content

Does not support multiple --driver with the same driver #57

@ensc

Description

@ensc

Describe the bug

When trying to start smuview with multiple devices of the same type, only the first one is instanciated.

E.g.

smuview --driver etommens_etm_xxxxp:conn=`readlink -f /dev/ttyPWR0` \
        --driver etommens_etm_xxxxp:conn=`readlink -f /dev/ttyPWR1`

will create only a window for the first device.

Seems to be caused by

it = user_drvs_name_opts.upper_bound(it->first)) {

To Reproduce
Steps to reproduce the behavior:

  1. Start smuview with multiple --driver options which specify different instances of the same device type

Expected behavior

every device should appear in smuview

Enviroment (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions