#######################################################################
from Marty: USB volume triggers bug fix
#######################################################################
I noticed a stray "clear all" in config_triggers.m
That's OK if you run config_triggers from the MATLAB command line
before starting your script; it's also OK if config_triggers is the
first command in a Cogent script.
However, the "clear all" will break things if you call config_triggers
in the middle of a Cogent program (as was suggested in the NOTES :-/ ):
...
start_cogent;
tdevnum = config_triggers;
...
[setup your wait screen]
...
wait_for_trigger(5,tdevnum);
[expt stimulus code starts now]
...
I removed "clear all" from the example code on the new Cogent PC:
C:\Expts\#HOWTO-Acces-TTL-USB-box\config_triggers.m
If your USB triggers are working, don't do anything.
If you were having a problem, copy the new config_triggers.m file above
into your MATLAB directory (or comment out the "clear all" line in your
current copy of config_triggers.m).
Sorry for not spotting this earlier.
To leave the list, go to http://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=bucni&A=1.
|