-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
111 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,88 @@ | ||
# ZMQInterface plugin | ||
A plugin enabling the interfacing of [ZeroMQ](http:https://zeromq.org/) clients to Open Ephys. The interface exposes all data and events and allows to provide events to the application, enabling the creation of advanced visualization and monitoring add-ons. For more information, go to our [wiki](https://open-ephys.atlassian.net/wiki/spaces/OEW/pages/1547206701/ZMQInterface) and find out how to use this plugin. | ||
# ZMQ Interface | ||
|
||
![zmq-interface-screenshot](Resources/zmq-interface.png) | ||
|
||
Streams continuous data, events, and spikes via [ZeroMQ](http:https://zeromq.org/). | ||
|
||
|
||
## Installation | ||
### Installing the 0MQ library | ||
For windows, linux, and mac, the required files are already included for the plugin | ||
|
||
### Building the plugins | ||
Building the plugins requires [CMake](https://cmake.org/). Detailed instructions on how to build open ephys plugins with CMake can be found in [our wiki](https://open-ephys.atlassian.net/wiki/spaces/OEW/pages/1259110401/Plugin+CMake+Builds). | ||
(Coming soon) | ||
|
||
|
||
## Usage | ||
|
||
(add link to documentation) | ||
|
||
|
||
|
||
## Building from source | ||
|
||
First, follow the instructions on [this page](https://open-ephys.github.io/gui-docs/Developer-Guide/Compiling-the-GUI.html) to build the Open Ephys GUI. | ||
|
||
**Important:** This plugin is intended for use with the pre-release core application, version 0.6.0. The GUI should be compiled from the [`development-juce6`](https://github.com/open-ephys/plugin-gui/tree/development-juce6) branch, rather than the `master` branch. | ||
|
||
Then, clone this repository into a directory at the same level as the `plugin-GUI`, e.g.: | ||
|
||
``` | ||
Code | ||
├── plugin-GUI | ||
│ ├── Build | ||
│ ├── Source | ||
│ └── ... | ||
├── OEPlugins | ||
│ └── zmq-interface | ||
│ ├── Build | ||
│ ├── Source | ||
│ └── ... | ||
``` | ||
|
||
### Windows | ||
|
||
**Requirements:** [Visual Studio](https://visualstudio.microsoft.com/) and [CMake](https://cmake.org/install/) | ||
|
||
From the `Build` directory, enter: | ||
|
||
```bash | ||
cmake -G "Visual Studio 17 2022" -A x64 .. | ||
``` | ||
|
||
Next, launch Visual Studio and open the `OE_PLUGIN_zmq-interface.sln` file that was just created. Select the appropriate configuration (Debug/Release) and build the solution. | ||
|
||
Selecting the `INSTALL` project and manually building it will copy the `.dll` and any other required files into the GUI's `plugins` directory. The next time you launch the GUI from Visual Studio, the ZMQ Interface plugin should be available. | ||
|
||
|
||
### Linux | ||
|
||
**Requirements:** [CMake](https://cmake.org/install/) | ||
|
||
From the `Build` directory, enter: | ||
|
||
```bash | ||
cmake -G "Unix Makefiles" .. | ||
cd Debug | ||
make -j | ||
make install | ||
``` | ||
|
||
This will build the plugin and copy the `.so` file into the GUI's `plugins` directory. The next time you launch the GUI compiled version of the GUI, the ZMQ Interface plugin should be available. | ||
|
||
|
||
### macOS | ||
|
||
**Requirements:** [Xcode](https://developer.apple.com/xcode/) and [CMake](https://cmake.org/install/) | ||
|
||
From the `Build` directory, enter: | ||
|
||
```bash | ||
cmake -G "Xcode" .. | ||
``` | ||
|
||
Next, launch Xcode and open the `zmq-interface.xcodeproj` file that now lives in the “Build” directory. | ||
|
||
Running the `ALL_BUILD` scheme will compile the plugin; running the `INSTALL` scheme will install the `.bundle` file to `/Users/<username>/Library/Application Support/open-ephys/plugins-api`. The ZMQ Interface plugin should be available the next time you launch the GUI from Xcode. | ||
|
||
|
||
## Attribution | ||
Originally developed by [Francesco Battaglia](https://github.com/fpbattaglia) at [Memory Dynamics Lab](https://www.memorydynamics.org/). | ||
Updated and maintained by [András Széll](https://github.com/aszell). | ||
|
||
This plugin was originally developed by [Francesco Battaglia](https://github.com/fpbattaglia) at [Memory Dynamics Lab](https://www.memorydynamics.org/), and was later updated by [András Széll](https://github.com/aszell). It is now being maintained by the Allen Institute. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters