Difference between revisions of "VRET physiological"
(→Reading out Mobi8 with Python) |
(→Reading out Mobi8 with Python) |
||
Line 33: | Line 33: | ||
* Copy the PortiSerial.dll from the demo program into the directory containing the python script. | * Copy the PortiSerial.dll from the demo program into the directory containing the python script. | ||
− | * execute | + | * open console, CD to directory containing the python script and dll, and execute '''regsvr32.exe PortiSerial.dll''' |
− | |||
− |
Revision as of 14:10, 24 June 2009
Connecting with Mobi8
- Make sure you followed the Mobi8 installation instructions in the PortiLab2 manual, pages 19-21 up to step 9. If the software was installed before, you can just insert the bluetooth dongle and start at step 2.
- At step 6 of the manual, if you right-click on the Mobi8 device you can select "connect" right away. If you entered your password before it will not ask for a password again.
- The connection automatically disconnects after a minute, unless you started your readout software before that time.
Attaching the electrodes
The figure below shows how to connect the pads for a heart rate measurement. The green ground pad is in the one corner, the red and black sensors "1" are diagonally placed wide apart, on the chest. The exact position is not so relevant. Note the taped-off sensors "2", it is important to tape them off so that they do not accidentally connect to something. Also avoid sharp kinks in the cables (so NOT as in the picture).
Figure. Pads configured for heart rate measurement
Figure. Connections on Mobi8 for heart rate measurement
In the figure below you can see also a heart-beat set-up. I guess it is combined with a sweat measurement on the chest. Figure from TNO, placed by Willem-Paul.
Reading out Mobi8 with Python
- download the demo python script
- The mobi8 communication is handled via the PortiSerial.dll that comes with the installer and with the File:PortiSerial v16.zip demo program (a visual basic project) that was provided to us by TMS. The PortiSerial.dll can also be retrieved directly here File:PortiSerial.dll
- Copy the PortiSerial.dll from the demo program into the directory containing the python script.
- open console, CD to directory containing the python script and dll, and execute regsvr32.exe PortiSerial.dll