so that is this board which also goes by the name of USB PMD-1208FS.
To get this device running, you must first install the appropriate hardware drivers (InstaCal), which you can download from the manufacturer.
After that, download and install UniversalLibrary, which will allow custom code to access the device.
To get the Python side working, you will then have to download PyUniversalLibrary – a Python wrapper for UniversalLibrary. Click on the “Clone or download” link, download the ZIP file, and add the contained package to your PsychoPy installation.
You should then be ready to use the DAQ board.
Here is an example based on code from PyUniversalLibrary:
import UniversalLibrary as UL
board = 0
port = UL.FIRSTPORTA
direction = UL.DIGITALOUT
UL.cbDConfigPort(board, port, direction)
data = 1
UL.cbDOut(board, port, data)
This should set the first line of the first port to 1, and all other lines on that port to zero.
NB: Everything mentioned here is untested by me, I don’t have such a device, and only used Google and documentation to put this advice together.
@jon, if this turns out to be working, maybe we could include PyUniversalLibrary in future standalone releases?