Skip to content

Multi Camera et al fail to remove tags added to physical cameras #784

@marktsuchida

Description

@marktsuchida

Related to #773.

Multi Camera (and ArduinoCounter, CameraPulser) add the tags CameraChannelIndex/Name (with device = the virtual camera label) to the physical cameras when they are set. But the corresponding call to RemoveTag doesn't actually remove those tags, because they don't include the device label.

For example, for Multi Camera:

camera->AddTag(MM::g_Keyword_CameraChannelName, myName, usedCameras_[i].c_str());
camera->AddTag(MM::g_Keyword_CameraChannelIndex, myName, os.str().c_str());

camera->RemoveTag(MM::g_Keyword_CameraChannelName);
camera->RemoveTag(MM::g_Keyword_CameraChannelIndex);

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