Wednesday, May 3, 2017
Decoding the Event Code from Biosemi in EEGLAB
Decoding the Event Code from Biosemi in EEGLAB
This knowledge benefits from a discussion in EEGLAB users forum. Biosemi machine expects two sets of 8 pin event. If you use only one set in the case of parallel port, the first 8 bits are all set to 1, so it equals to 65280 in terms of decimal number.
| Pin # | Binary code | Decimal code | Extended binary code | EEGLAB shows |
|---|---|---|---|---|
| None | 0000 0000 | 0 | 1111 1111 0000 0000 | 65280 |
| 2 | 0000 0001 | 1 | 1111 1111 0000 0001 | 65281 |
| 3 | 0000 0010 | 2 | 1111 1111 0000 0010 | 65282 |
| 4 | 0000 0100 | 4 | 1111 1111 0000 0100 | 65284 |
| 5 | 0000 1000 | 8 | 1111 1111 0000 1000 | 65288 |
| 6 | 0001 0000 | 16 | 1111 1111 0001 0000 | 65296 |
| 7 | 0010 0000 | 32 | 1111 1111 0010 0000 | 65312 |
| 8 | 0100 0000 | 64 | 1111 1111 0100 0000 | 65344 |
| 9 | 1000 0000 | 128 | 1111 1111 1000 0000 | 65408 |
download more info
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment