This Julia package extends Weber, to
allow triggers to be sent during EEG recording using the
DAQmx api. It is a simple
extension which translates the record codes, during a call to
digital trigger events.
The following experiment sends the code 0x01 to port0 on TestDevice.
port = "/TestDevice/port0/line0:7" experiment = Experiment(extensions=[ @DAQmx(port;eeg_sample_rate=512,codes=Dict("test" => 0x01))]) setup(experiment) do addtrial(moment(record,"test")) end run(experiment)
about 4 years ago