11/25/2023 0 Comments Mcc instacalWe did this in the ‘Before Experiment’ tab:įrom mcculw.enums import DigitalPortType, DigitalIODirection In your PsychoPy experiment, add a code component and use it to import the libraries and to initialize the board. Use pip to install Measurement Computing’s ‘Universal Library’ API for Python.Use InstaCal from Measurement Computing to configure your DIO24 (basically giving your board a number). We are using a Windows desktop and a USB-DIO24 from Measurement Computing to communicate with our EEG amplifiers and software. I know this thread is old, but I was having a similar issue so I thought I would comment on it here. If you make progress with this, please update us here, as this will be a useful pointer to anything else using these systems. You’ll need to tell PsychoPy about that Python package as follows:Īnd then you should simply be able use the functions of that library, within your own PsychoPy code, or likely even within a code component from inside PsychoPy Builder. I haven’t looked at that, but in essence, you would need to install their universal library and also their Python package that can interface with it. This seems like a starting point to resources on that: Yes, you’ll need to use Python to talk to the specific library that the company provides to interface with their particular hardware. I was wondering if there were those among the community who could point me in the direction of how I might use python/psychopy to send signals I have found an IO button in the builder, though it only seems to give me options for built in parallel ports or a lab jack.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |