File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ def plot_lsl_data():
37
37
print ("No LSL streams found!" )
38
38
return None
39
39
40
- for stream_name in available_streams : # Try to connect to each available stream until successful
40
+ for stream_name in available_streams :
41
41
print (f"Trying to connect to { stream_name } ..." )
42
- resolved_streams = resolve_byprop ('name' , stream_name , timeout = 2 ) # Attempt to resolve the stream by its name
42
+ resolved_streams = resolve_byprop ('name' , stream_name , timeout = 2 )
43
43
44
44
if resolved_streams :
45
45
print (f"Successfully connected to { stream_name } !" )
@@ -52,7 +52,7 @@ def plot_lsl_data():
52
52
print ("Could not connect to any stream." )
53
53
return None
54
54
55
- info = inlet .info () # Get stream info.
55
+ info = inlet .info ()
56
56
num_channels = info .channel_count ()
57
57
print (f"Detected { num_channels } channels." )
58
58
You can’t perform that action at this time.
0 commit comments