Understanding Variable Window variable assignment

Hey Chris,

Quick question: when I assign a value to a variable using the Variables Window while a protocol is running, when does the variable assignment take place?

Does this affect running task systems, trial, or blocks in any way (other than the effects incurred by the new value of the variable)? (For example, yield()ing out of the task).

Assignments made via the Variables Window take place immediately. The running experiment will see the new value, but the assignment shouldn’t affect any part of the experiment that doesn’t directly depend on that value. The outcome should be the same as if you assigned to the variable within your protocol.

Does that answer your question?

Chris

Yes, thank you!
Michael