FlintMarco
About
- Username
- FlintMarco
- Joined
- Visits
- 110
- Last Active
- Roles
- Member
Comments
-
I have now successfully set up my experiment to send triggers when the stimuli is presented; in my case it is audio. I will post some screenshots to hopefully make it easier for anyone who works with a CEDRUS StimTracker Duo to set up. First, you s…
-
Sebastiaan you magnificent genius! I have successfully gotten OpenSesame to send a trigger! At the moment it only sends one that is constant throughout the experiment, but I had a similar issue when I first started working on E-Prime and It's only …
-
Hello, I see what you mean about a specific byte sequence that forms a command. I found an interesting excerpt from the link you provided.: Try to determine if we have a valid packet. Our options are limited; here is what we look for: …
-
Hey Sebastiaan, I tried your suggestion two different ways. First with the latest set up of: import serial var.experiment.serial_port = serial.Serial('COM3', baudrate=115200, bytesize=serial.EIGHTBITS) var.experiment.cleanup_functions.append(var.se…
-
Looking at the set up for E-Prime the code seems to have many settings and intricacies to it. I figured perhaps there is something I can extract from it to help me activate the triggers using OpenSesame. The following is E-Basic script for sending t…
-
Hi Sebastiaan, As always, thank you for your help. I added the print("Sending trigger!") line as you suggested and interestingly enough it would seem the trigger code is sent: (Image) Unfortunately, that does not appear to be the case a…
-
Hey Sebastiaan, I see what you're saying. I have now modified the script to append the function itself just like your example. The send_trigger_script inserted into the practice_sequence1 looks as follows: var.experiment.serial_port.write(chr(1)) …
-
Unfortunately, switching computers did not make a difference as I continued to get the same error codes. I even accounted for the switch in COM ports ('COM2' in this case) in this other computer by using device manager. I tried many iterations of my…
-
Hi _Bob, I uninstalled and reinstalled the driver and deleted and re downloaded the pyxid package. Using the 'init' script you suggested: import serial var.experiment.serial_port = serial.Serial('COM3', baudrate=115200, bytesize=serial.EIGHTBITS) …
-
Hello Sebastiaan, Thank you for taking the time to respond. I have checked device manager and made sure that COM3 is the StimTracker Duo so that is not the problem, it is under Ports as USB Serial Port(COM3). However, there is a USB driver that CED…
-
Hi _Bob, Thank you for pointing me in the right direction. After looking through a few older posts about the use of serial ports I implemented inline scripts that should have been able to send the triggers. The experiment runs without any problems.…
-
After switching from dummy mode to verbose I have had success running the experiment all the way through, albeit limited as sometimes it'll tell me Python crashed. Now the problem seems to be about actually getting the [Markers] to show up on the r…