DaqDevice Task Runner window over-sized

15 views
Skip to first unread message

Michael Graupner

unread,
Jun 7, 2021, 12:10:16 PM6/7/21
to ac...@googlegroups.com
Hello, 

When many DAQ channels are configured for the DAQ Device, the DAQDevice window in the Task Runner does overboard. In other words, the sub-panel of the DAQDevice has a minimum dimension which scales with the number of Input/Output channels. If the number of channels is large, the inner window dimensions exceed the Task Runner window dimensions and lead to some weird appearance (see attached pic), which also makes it difficult to interact with the individual channel configurations in the Task Runner. 

Where can this minimum dimension per DAQ channel be removed? 

Thanks in advance.

Best,
Michael

Screenshot 2021-06-07 170052.png

Martin Chase

unread,
Jun 7, 2021, 1:19:44 PM6/7/21
to ac...@googlegroups.com
Hey Michael,

Huh, yeah, that's no good. The easiest work-around I can think of for now would be to rearrange the DaqDevice configuration to split it up into multiple different devices. E.g.

```
Channel1:
    driver: 'DAQGeneric'
    channels:
        Channel1:
            device: 'DAQ'
            channel: '/Dev1/port0'
            type: 'di'
Channel2:
    driver: 'DAQGeneric'
    channels:
        Channel2:
            device: 'DAQ'
            channel: '/Dev1/port1'
            type: 'di'
```

Luke Campagnola

unread,
Jun 8, 2021, 5:45:52 PM6/8/21
to ACQ4
Hey Michael!

Do you have any thoughts about what that UI _should_ look like? For example, we could keep the control panel per-channel and stuff everything into a scroll box so it has no minimum height. Or the panels could be made more easily collapsible? They could be more compact by default? I've been looking for good examples of this kind of UI in action. Blender has a good one that I might try implementing..
Reply all
Reply to author
Forward
0 new messages