4. Python API

Step 1. Make sure Python 2.x is installed. If not install the setup file software/python-2.6.6.msi provided on the ZIO Software CD-ROM.

Step 2. Install the serial library using the setup file software/pyserial-2.5-rc2.win32.exe provided on the ZIO Software CD-ROM.

Step 3. Install the ZIO Python API using the setup file software/zio-python-api-1.3.win32.exe provided on the ZIO Software CD-ROM.

Step 4. Test your installation using the Python program available on the CD-ROM at software/test-zio.py. When executed (double-clicked), the program will prompt for the serial COM port and will test access to the board through the Python API.

images/test-python-win.png

The COM port corresponding to ZIO can be obtained from the Device Manager. Goto "Control Panel > System and Maintenance > Device Manager". Under "Ports" look for "ZIO Motherboard". The COM port is specified within parenthesis.

images/serial-port-determine.png