Comments (7)
Hu ghanaei,
thanks for the report, we are looking into it.
Which version of Matlab are you using?
Peter
from mcsusbnet_examples.
Hi, the version of Matlab is 2021.
from mcsusbnet_examples.
Hi ghanaei,
could you re-check if you update the McsUsbNet DLL to Version 5.2.3?
It is available from here: https://github.com/multichannelsystems/McsUsbNet.git
we could not re-produce the issue with that version
Please let me know if this fixes your problem
Thanks!
Peter
from mcsusbnet_examples.
Hi, Thank you for your response.
I checked with the McsUsbNet DLL version ’5.2.3’, and there is no error message.
Now, I have another problem. In the example (Matlab_MEA Recording) in line ‘63’ mentioned ‘if (X=500) break % stop after 500 data packet (~ 5 second)’. However, I think it contradicts the line ‘35’.
In line ‘35’ mentioned 5000=100 ms (0.1 s) of data (a data packet). So, I think, the line ‘63’ needs to be corrected as ‘if (X=500) break % stop after 500 data packet (~ 50 second) ‘, because of 500 × 100 ms (0.1 s) = 50 second. Is it right?
Another problem is that according the above reasoning, I expect that code (with X=500) last about 50 second, but when the code runs, it takes about 17 second and stops. So, I couldn’t collect data for 50 second.
I’d appreciate it if you explain the issue.
from mcsusbnet_examples.
I am also running into the same issue. I am using the 5.2.3 version, but I still get the same error. My MATLAB version is 2019b. I looked into it, and I found that the main issue is that the device instance does not seem to have anything in the ChannelBlock attribute. I went through the manuals and I at least expected a ChannelBlockNet or something similar, just like how the other attributes have something.
Can you please explain if this is the issue? I already have the 5.2.3 DLL version, but I still cannot seem to overcome this issue. How do I solve it? I would greatly appreciate if you provide me a solution.
from mcsusbnet_examples.
Hello, I used the example (Matlab_MEA Recording) and get run. But the bellow error happens: “Error using run_mea (line 38) Message: The namespace for the type ‘SampleSize’ does not exist. MATLAB requires all .NET types to be within a namespace. " How can I solve the error in coding? Thank you for your help.
Do you have the option to try in Visual Studio with C# or a newer Version of Matlab ?
In C# you can use it like this for example:
dacq.ChannelBlock.ReadFramesI32(i, 0, threshold, out int frames_ret)
ChannelBlock is defined as a property of type ChannelBlockNet within CMcsUsbDacqNet
and ChannelBlockNet is a class with members like AddBlocksAndChannels, ReadFramesUI16, ...
from mcsusbnet_examples.
Thank you very much. I have managed to solve the issue.
from mcsusbnet_examples.
Related Issues (18)
- Python does not support SetElectrodeMode HOT 12
- C# MEA demo app throws 'Operation not supported' on StartDacq. HOT 2
- Possible Expansion of STG channels? HOT 1
- Timing the Stimulation Code HOT 7
- Stop recording after a few seconds HOT 5
- device.StartDacq() Operation not supported in Matlab HOT 6
- FIFO queue seems not to be supplemented in 5.1.24 vs 3.2.45 HOT 3
- setup hardware filtering on MEA2100 using matlab HOT 8
- MATLAB HOT 9
- How to access streamed data HOT 2
- CStg200xDownloadBasicNet is there a way to get an event/timestamp out upon each stimulation data point? HOT 1
- How to use python to control MEA2100_256 to achieve electrical stimulation of custom electrodes for brain organoids HOT 21
- How to stimulate using ElectrodeModeEnumNet.emAutomatic on internal stimulator of MEA2100 IFB-Lite HOT 9
- About setting up the stimulation prior to placing cells using the signal generator
- Getting accurate data from the MEA2100 device in Python HOT 1
- Get timestamp of the stimulation for the multiwell system
- running Recording and stimulation module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcsusbnet_examples.