Giter Site home page Giter Site logo

elchey / mcsusbnet_examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from multichannelsystems/mcsusbnet_examples

0.0 0.0 0.0 2.74 MB

C#, Python and Matlab code examples to interact with the McsUsbNet.dll

License: BSD 2-Clause "Simplified" License

mcsusbnet_examples's Introduction

README for McsUsbNet.dll

This repository contains the McsUsbNet.dll for accessing MCS devices directly, as well as documentation and examples.

It does not contain any support for reading and writing specific MCS file formats like the MSRD file format of Multi Channel Experimenter, the MCD file format of MC_Rack or the STM file format of MC_Stimulus II.

Repository Structure

  • 32-Bit and 64-Bit binaries of the McsUsbNet.dll can be found in the \McsUsbNet\x86 and \McsUsbNet\x64 folders, respectively.

Please note that you need to have .NET Framework 4.7.2 and Microsoft Visual C++ Redistributable for Visual Studio 2019 installed to interact with the dll.

Please note as well: If you download this repository as a .zip archive, GitHub doesn't include the McsUsbNet submodule. Please download the McsUsbNet repository as well and copy its contents into the McsUsbNet_Examples/McsUsbNet folder.

  • Documentation for the McsUsbNet API is located in the \McsUsbNet\docu folder.

Please note : The dll comes with an xml file McsUsbNet.xml, that allows, for example in Visual Studio, to have a code completion. We regard this a part of the documentation and you should use a tool that allows for code completion at least in parallel to you actual target development system.

  • Usage examples for the McsUsbNet.dll in C#, Python and Matlab are located in the \Examples\CSharp, \Examples\Python and \Examples\Matlab folders, respectively.

Example Code

C#

All example projects require .NET 4.7.2 or later.

Folder Purpose
\Examples\CSharp\MEA_Recording Data acquisition from MEA devices
\Examples\CSharp\MEA2100_Stimulation Stimulation for the MEA2100 device platform
\Examples\CSharp\STG_Stimulation Stimulation for STG devices

Python

All examples require .NET 4.7.2 or later. Tested with Python 3, use pip install pythonnet

File Purpose
\Examples\Python\Recording.py Data acquisition from MEA devices
\Examples\Python\Stimulation.py Stimulation for STG devices
\Examples\Python\DeviceList.py Enumerate MCS devices

Matlab

All examples require .NET 4.7.2 or later. Tested on Matlab 2019b.

Folder Purpose
\Examples\Matlab\MEA_Recording Data acquisition from MEA devices
\Examples\Matlab\MEA2100_Stimulation Stimulation for the MEA2100 device platform
\Examples\Matlab\STG_Stimulation Stimulation for STG devices

mcsusbnet_examples's People

Contributors

armwal avatar jesinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.