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
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
Hi Chris,
Brilliant, thanks for handling this. When can I expect it in the nightly build?
Cheers,
Beshoy
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
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