You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Example code running successfully but showing red light when getting current data #2
Hello,
I tried to run simple_ml_example.ipynb and p24_example1.py while connecting with p24 device but observed red light and could see the error printed when it goes to the loop related to ml_get_current_data function.
The device never showed yellow light. It was showing green light until the ml_get_current_data function, changed to red and back to green when stopping or closing the serial port.
I have tried with the ScienceMode PC-Software and was able to see the yellow light coming in.
Currently, I wanted to change the code to fit our experiment, but whenever I tried to stimulate(send the current signal) it failed.
I hope you could give an advice on this issue or any possible solutions to try out.
It seemed to be that device itself is not the problem, so I've been wondering if I have to modify ml_get_current_data(if it's there) in the .dll files to fix the problem.
Hello @angie906 ,
in the current commit 5471171
I improved the naming of the example.
There are now examples for only one stimulation channel and for all 8 stimulation channel.
Previously, you could only run the example when all 8 stimulation channels were connected (otherwise there is a electrode error with a red LED). Now you can connect only the first channel to a load, and you can now run the one_channel examples. Hope this helps.
Activity
angie906 commentedon May 21, 2024
That I tried again,
when I tried p24_example1.py code :
also when I tried with simple_ml_example.ipynb :
showing "red light" and printing "Error on channel"
HolgerNahrstaedt commentedon May 23, 2024
Hello @angie906 ,
in the current commit 5471171
I improved the naming of the example.
There are now examples for only one stimulation channel and for all 8 stimulation channel.
Previously, you could only run the example when all 8 stimulation channels were connected (otherwise there is a electrode error with a red LED). Now you can connect only the first channel to a load, and you can now run the one_channel examples. Hope this helps.
Best regards
Holger
angie906 commentedon Jun 3, 2024
Everything including eight channels and one channel is working from your commit now. [5471171]
Thank you very much for your help!