API for On-line Data Analysis and Experiment Control
NetCom is an application programming interface (API) that communicates with Pegasus for on-line interaction with custom,
user-written programs, resulting in a powerful experiment control environment. NetCom can provide network delivery of standard data records generated by Pegasus for on-line data analysis and experiment control. The data may be distributed across the network to one or more computers, each running multiple analysis programs. Commands may be sent to control Pegasus and its hardware interfaces, as well as requesting status of most Pegasus parameters.
NetCom programs can generate Event Records to mark significant events during an experiment. These will be logged to the
Pegasus Event Record file (.nev). All Event Records processed by Pegasus will be sent to all NetCom programs.
Simple Single NetCom Connection Mode
This mode provides the easiest method for running a NetCom program because a direct connection is made to Pegasus. This scenario is used when running Spike Sort 3D on-line.
Multiple NetCom Programs running through NetCom Router
This mode allows programs to receive Pegasus data records and to control Pegasus and Hardware Interfaces. The NetCom Router program is used to manage the multiple NetCom connections, with just one stream of data connecting to the Pegasus workstation.
This mode allows a very complex experiment control and data analysis program to be “broken up” between several NetCom programs with each program handling one aspect of the task. For example, one NetCom program can generate randomized trial types, another can control the specific steps in each trial type, a third can perform signal processing and trial scoring, while a fourth can segregate and display data for each trial outcome. The multiple NetCom programs can communicate using Event Records because all event records are “echoed” back out from Pegasus. This allows each unique aspect of the task to be written in several simpler NetCom programs, each easier to write, test, debug and enhance.
Ethernet socket functions allow virtual network communications between programs running on the same computer through a service known as the Local Host. Thus, separate computers are not required for NetCom to be used.
Programming languages supported by NetCom include:
- All Microsoft® .NET languages (ie, C, C++, C#, VB.NET, Java)
- .NET supported applications such as LabVIEWTM and MATLAB®
SpikeSort 3D Software is not intended for the diagnosis or treatment of disease.
Example User Programs on our website are not intended for the diagnosis or treatment of disease.