Table Of Contents

Previous topic

psychopy.hardware - hardware interfaces

Next topic

Cambridge Research Systems Ltd.

This Page

Quick links

Cedrus (response boxes)

The pyxid package, written by Cedrus, is included in the Standalone PsychoPy distributions. See for further info.

Example usage:

    import pyxid

# get a list of all attached XID devices
devices = pyxid.get_xid_devices()

dev = devices[0] # get the first device to use
if dev.is_response_device():

    while True:
        if dev.response_queue_size() > 0:
            response = dev.get_next_response()
            # do something with the response

Useful functions

Device classes