RTXI / rtxi

Tutorials, FAQs, and more at http://rtxi.org/docs
GNU General Public License v3.0
53 stars 15 forks source link

Oscilloscope Apply button bug #160

Closed hxywang7 closed 5 months ago

hxywang7 commented 5 months ago

Basic Information:

RTXI Version: 3.0.3 Installed from Live CD?: No

Error Description:

What happened? In Oscilloscope plugin, when you choose Daq card output channel, for example output channel 3, and click one "enable channel", then click on "apply", it will come back to channel 0

Screenshot 2024-04-09 at 18 07 54 Screenshot 2024-04-09 at 18 11 49 Screenshot 2024-04-09 at 18 12 15

What was supposed to happen? It should keep same with channel 3

What steps will trigger the error?

Error Message:

Copy error messages and terminal output between the two braces below.

thiagoburghi commented 5 months ago

I believe Harry meant that the channel label (ai3 and ai0) are the ones that are changing after the button is clicked. I think they are already the labels that identify the channels.

If I may add to Harry's request, the "input/output" labels in the oscilloscope seem to be reversed with regards to those of the control panel.

fusge commented 5 months ago

I believe Harry meant that the channel label (ai3 and ai0) are the ones that are changing after the button is clicked. I think they are already the labels that identify the channels.

Yes I realized after I made the comment which is why it was deleted to avoid confusion. Sorry about that.

If I may add to Harry's request, the "input/output" labels in the oscilloscope seem to be reversed with regards to those of the control panel.

The reason why the oscilloscope behaves that way is because a physical input into the DAQ device would appear from RTXI's perspective as an output from a plugin that should be pushed to other plugins. Conversely writing to a DAQ plugin input would result in a physical output by the device. This is only relevant for DAQs, as normal plugins such as the mimic-signal would not have anything to do with a real device so the input/output flags match the names.

thiagoburghi commented 5 months ago

The new version solved it, thanks!