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
triggers from matlab to actiview
-
- Site Admin
- Posts: 1152
- Joined: Fri Mar 26, 2004 7:00 pm
- Location: Amsterdam, Netherlands
- Contact:
Re: triggers from matlab to actiview
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)
Best regards, Coen (BioSemi)
Re: triggers from matlab to actiview
Hi,
I have similar problem. I am using the following code:
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
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.
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