Skip to content

Getting accurate data from the MEA2100 device in Python #16

@happypanda94

Description

@happypanda94

Hello,

We intend to use the MEA2100 system to record from and stimulate cultured neuron cells. We have managed to successfully set up the device (with noise testing and signal acquisition with the provided generator), and now we intend to use Python to write our own codes for the device. We tried using the Python examples provided by your company on GitHub, and while the code runs without any issues, we were unable to gain the proper signals from it. We are currently trying to read the sinusoidal signals generated using the signal generator provided along with the system. When we use the MEA data experimenter, we can clearly see the sinusoidal signals as seen in the picture below:

image

When we try to do it using MATLAB, we run into some issues regarding communication with the device, but we can still obtain the sinusoidal signal as intended.

Unfortunately, when we try using the Python code provided as an example, we do not get any intelligible signal from the device. We are getting something like this:

image

image

We would have been worried if there were some issues with the device or our computer, but both the experimenter and even MATLAB can read the sinusoidal signal. However, we would like to perform some additional data processing which is much more convenient in Python, so we would like to write our codes in Python if possible.

We also tried to reduce the number of channels in the block to 1 by changing the number of electrodes to 1 and disabling the checksum channel reading to see where the issue was, but it did not solve the problem. We also tried to implement the MATLAB code for data acquisition (run_mea.m) in Python since it could read the sinusoidal signal (we disabled the OnChannelData handler to do it), but again we did not get any sinusoidal signal. I have added the full code in the comments for your reference.

It is to be noted that the computer we are using for this has Windows 10 (64-bit) with a .NET version of 7.0.302. We tried installing an instance of version 4.7.2, but the OS did not let us do it as there is a higher version already installed. The documentation also says that higher versions would work so we did not try doing anything further. We also thought about whether our computer is properly interpreting the “clr_array_to_numpy.py” script, but it seems unlikely to have any issues.

We greatly look forward to your response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions