psychopy.org | Reference | Downloads | Github

LSL code its not working on Psychopy 1.90.2 to send triggers to Neuroelectrics system. Help

Hi !

First time in a forum asking for some help!

I am unable to send triggers from my PsychoPy task to Neuroelectrics EEG equipment.
I am using PsychoPy 1.902 on a Mac and sending LSL triggers with the code below. According to Neuroelectrics support group, it is not a problem with the equipment, and their suggestion was to get help from PsychoPy support. As I am lost and hopelessness, could you be able to help or point me in the right direction?

Many thanks

Set up LSL stream

print (“Creating MarkerStream info… \n”)
info = StreamInfo(name=‘LSLMarkers’, type=‘Markers’, channel_count=1, channel_format= ‘int32’, source_id= ‘myuniquesourceid23443’)
print (“Opening an Outlet…\n”)
outlet = StreamOutlet(info) #Broadcast the stream.
print (“Sending data…\n”)
outlet.push_sample(x=[2])
#########LSL#######