Resting device outputs upon experiment stop
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
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
Support Staff 1 Posted by Christopher Sta... on 05 Oct, 2018 02:07 PM
Hi Beshoy,
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 Posted by beshoy.agayby on 07 Oct, 2018 03:36 PM
Hi Chris,
Brilliant, thanks for handling this. When can I expect it in the nightly build?
Cheers,
Beshoy
Support Staff 3 Posted by Christopher Sta... on 15 Oct, 2018 02:25 PM
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 Posted by beshoy.agayby on 16 Oct, 2018 09:02 AM
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
Christopher Stawarz closed this discussion on 16 Oct, 2018 01:24 PM.