Wireless
Source code in src\eConEXG\triggerBox\triggerbox.py
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 | |
__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
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | |
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
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | |