Page 1 of 1

triggers from matlab to actiview

Posted: Sat Apr 11, 2015 2:23 pm
by skornailpio
Hi everybody!

I'd like to send triggers from matlab ((2011b); op sys: 64bit win7) to the actiview. I installed all the drivers need the correct use of the LPT (works fine with brainvision recorder) and in my script there are of course the appropriate codes but I don't see the triggers in the actiview?
HELP! Thx,
Kornél

Re: triggers from matlab to actiview

Posted: Sat Apr 11, 2015 8:59 pm
by Coen
Use voltmeter to check that triggers are present on the proper pins of the USB-receiver (pin 1-8 triggers, pin 37 should be connected to ground, see http://www.biosemi.com/faq/trigger_signals.htm).

Best regards, Coen (BioSemi)

Re: triggers from matlab to actiview

Posted: Sat Aug 18, 2018 3:11 pm
by mikbuch
Hi,

I have similar problem. I am using the following code:

Code: Select all

ioObject = io32;
status = io32(ioObject);
io32(ioObject, hex2dec('278'), 1)
io32(ioObject, hex2dec('278'), 2)
io32(ioObject, hex2dec('278'), 3)
% etc.
However, in the ActiView only 15 triggers are received. In decimal notation these are even numbers 226-254. There is one additional trigger 224, which is always used on the second position in the trigger code.

I intend to test pins with voltmeter, but I don't have a clue what should I change in code in order to make it work. Does anyone has working code and could share it with me, as I didn't find any examples for this particular setup: Windows + Matlab + LPT port.

Regards,
Mikolaj