beifen / neurorighter

Automatically exported from code.google.com/p/neurorighter
0 stars 0 forks source link

hitting stop in the middle of an open-loop protocol does not zero outputs #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run an ol protocol
2. hit stop button
3. note that the aux and dig lines remain in whatever state they were in when 
stop was hit.

What is the expected output? What do you see instead?

I expect NR to zero all aux outputs when stop is hit so no harm is caused to 
living systems

Here is output when stop called:

AUXILIARY-OUTPUT STOP CALLED
DIGITAL-OUTPUT STOP CALLED
A digital output task was destroyed
An analog output task was destroyed
The thread 0x1d44 has exited with code 0 (0x0).
updateRecSettings finished
reset: gains saved
reset: trigger cleared
reset: entered lock
reset: System.ComponentModel.BackgroundWorker 0is busy
reset: System.ComponentModel.BackgroundWorker 0finished
reset: System.ComponentModel.BackgroundWorker 1is busy
reset: System.ComponentModel.BackgroundWorker 1finished
reset: left lock
reset: spike tasks cleared
reset: tasks disposed of
reset: gui updated
reset: recording streams flushed
Reset Complete
updateRecSettings finished
The thread 0x700 has exited with code 0 (0x0).
The thread 0x23e8 has exited with code 0 (0x0).
The thread 0x2264 has exited with code 0 (0x0).
The thread 0x1fb0 has exited with code 0 (0x0).
The thread 0x2014 has exited with code 0 (0x0).
The thread 0x16d4 has exited with code 0 (0x0).
The thread 0x1cd8 has exited with code 0 (0x0).
updateStimSettings completed
updateRecSettings finished

NO EXCEPTIONS ARE THROWN.

Original issue reported on code.google.com by jonathan...@gmail.com on 15 Jul 2011 at 4:31

GoogleCodeExporter commented 9 years ago
replicated on alz rig- this one is still active
additionally, voltage is held after a normal stop (the protocol finishes, and 
voltage gets held at the last value it was brought to, should go to zero 
instead).  Digital out doesn't appear to do this.

Original comment by RZellerT...@gmail.com on 3 Apr 2012 at 4:29

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
fixed in 359

Original comment by RZellerT...@gmail.com on 3 Apr 2012 at 6:03