Skip to content

DI-DO save/load workspace bug fix #190

Description

@Yunusbcr

This,

tmp_device->setActive(userprefs.value("active").value<bool>());

should be this

      tmp_device->setChannelActive(DAQ::ChannelType::DI,
                                   current_channel_id,
                                   userprefs.value("active").value<bool>());

and this,

rtxi/src/main_window.cpp

Lines 649 to 650 in 8608459

userprefs.beginGroup(channel_name);
tmp_device->setActive(userprefs.value("active").value<bool>());

should be this,

      userprefs.beginGroup(channel_id);
      tmp_device->setChannelActive(DAQ::ChannelType::DO,
                                   current_channel_id,
                                   userprefs.value("active").value<bool>());

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions