Resting device outputs upon experiment stop

beshoy.agayby's Avatar

beshoy.agayby

02 Oct, 2018 07:31 PM

Hello Chris,
There is something I have noticed; if Mworks is stopped when it's in the middle of producing an output via a device like the NIDAQ (such as pulsing a digital output), the output remains on. Is it possible to have the option to stop all device outputs when the experiment is stopped?
Cheers,
Beshoy

  1. Support Staff 1 Posted by Christopher Sta... on 05 Oct, 2018 02:07 PM

    Christopher Stawarz's Avatar

    Hi Beshoy,

    Is it possible to have the option to stop all device outputs when the experiment is stopped?

    Some device types (e.g. Firmata) already do this. I thought NIDAQ devices did, too, but a quick test reveals I was mistaken.

    Sure, I can make this change.

    Cheers,
    Chris

  2. 2 Posted by beshoy.agayby on 07 Oct, 2018 03:36 PM

    beshoy.agayby's Avatar

    Hi Chris,

    Brilliant, thanks for handling this. When can I expect it in the nightly build?
    Cheers,
    Beshoy

  3. Support Staff 3 Posted by Christopher Sta... on 15 Oct, 2018 02:25 PM

    Christopher Stawarz's Avatar

    Hi Beshoy,

    As of tonight's nightly build, MWorks will zero out digital output lines and non-waveform analog output channels when the device stops.

    I'm not yet sure how (or if) we can do this for waveform analog outputs, but I will try to address that when I add support for runtime parameter changes to those channels.

    Cheers,
    Chris

  4. 4 Posted by beshoy.agayby on 16 Oct, 2018 09:02 AM

    beshoy.agayby's Avatar

    Hi Chris,

    Thanks for the addition; I am preparing for SFN nowadays, but i will try to test it out. Yes, please let me know if/when the waveform functions are modified; they will be very helpful.

    Cheers,
    Beshoy

  5. Christopher Stawarz closed this discussion on 16 Oct, 2018 01:24 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

17 May, 2022 02:12 PM
16 May, 2022 03:12 PM
04 May, 2022 06:02 PM
03 May, 2022 01:30 PM
02 May, 2022 10:47 PM