For many electrophysiological experiments, time is precious. Online analysis and visualization, automated experimental protocols, and closed-loop experimental designs that generate stimuli based on the recorded responses considerably improve the yield of a recording. For example, simply displaying processed results online in addition to the raw voltage traces already gives the experimenter valuable quantitative information during a running experiment. Probing the neuron with stimuli that are outside its dynamic range can be avoided. Advancing individual electrodes can be automated, increasing the chances of a dual recording.
In addition, closed-loop experiments are the basis for novel experimental designs . For example, stimulus parameters can be tuned iteratively to find the optimal stimulus that maximizes the mutual information between the stimulus and the evoked spike-train response. Also, finding sets of stimulus parameter that result in the same response can be implemented much more efficiently on a closed-loop system. This iso-response method is a powerful method for characterizing neuronal filter properties.
RELACS  is a fully customizable software platform specifically designed for closed-loop electrophysiological experiments. Filters and spike detectors can be applied instantly on the recorded potentials. Freely programmable, hardware-independent C++ plugins can access the preprocessed data for further online analysis, visualization, and stimulus generation.
Data can be reused much more easily if they are annotated with metadata that specify the conditions under which the dataset has been recorded, describe the applied stimuli and provide general information about the recorded cell and the experimental setup, as well as an outline of the experimental objectives. RELACS automatically stores most of such metadata during each recording.
The metadata are stored in a MySQL database that is managed by LabLog . This way, the recorded metadata are immediately secured for long-term data management and data mining purposes. Early and automatic handling of the data and their metadata is one of the key issues for data sharing with colleagues or dealing with public data repositories. Since metadata play a fundamental role for data management, data sharing and data analysis, an interface definition is needed. We therefore propose a simple XML schema that specifies metadata by properties (extended key-value pairs) that are organized in a hierarchical structure. Within this schema, we suggest a common and extensible vocabulary for key properties to make the metadata understandable across applications.