Wired
Source code in src\eConEXG\triggerBox\triggerbox.py
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 |
|
__init__(port=None)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
port
|
str
|
The serial port of the trigger box. If not given, the function will try to find the trigger box automatically. |
None
|
Raises:
Type | Description |
---|---|
Exception
|
If the trigger box is not found. |
Source code in src\eConEXG\triggerBox\triggerbox.py
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
|
sendMarker(marker)
Send a marker to the trigger box.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
marker
|
int
|
range from |
required |
Raises:
Type | Description |
---|---|
Exception
|
If the marker is invalid. |
Source code in src\eConEXG\triggerBox\triggerbox.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 |
|