This document describes how to configure the Brain Vision Recorder for remote access over the network.


Introduction:

In this document I will use the term server and client. The server means the machine on which the Brain Vision 
Recorder will run. The client is the connecting machine which connects to server to control the Brain Vision Recorder.

The user is a synonym for the account on the client.

Configuration:

On the server do: 
	right-click on "Arbeitsplatz" and choose "Verwalten"
	Go to: "System" -> "Lokale Benutzer und Gruppen" -> "Benutzer" Create a new user with the same password and 
											name like the user on the client
							Make sure, that the user has the rights to work with the BrainVision Recorder
	close the window

	"Start" -> "Ausfhren" -> Type: dcomcnfg -> Ok
	Go to: "Komponentendienste" -> "Computer" -> "Arbeitsplatz" -> "DCOM-Konfiguration" 
	Search for: "Vision Recorder Application Class" and right-click choose "Eingenschaften"
		Tab: "Allgeimen" -> "Authentifizirungsebene" Choose: "Paket"
		Tab: "Ausfhrungsort" Choose: "Anwendung auf diesem Computer ausfhren"
		Tab: "Sicherheit" -> "Start- und Aktivierungsberechtigungen" Choose: "Anpassen" and click on "Bearbeiten"
						Add user with all rights ("Lokaler Start", "Remotestart", "Lokale Aktivierung", 
										  "Remote Aktivierung")
		Tab: "Sicherheit" -> "Zugriffsberechtigungen" Choose: "Anpassen" and click on "Bearbeiten"
						Add user with all rights( "Lokaler Zugriff", "Remotezugriff")
		Tab: "Sicherheit" -> "Konfigurationsberechtigungen" Choose: "Anpassen" and click on "Bearbeiten"
						Add user with all rights ("Vollzugriff", "Lesen")
		Tab: "Identitt" Choose: "Interaktiver Benutzer"

	restart the server

On the client do:
	Start -> Ausfhren -> Type: "dcomcnfg" -> Ok
	Go to: Komponentendienste -> Computer -> Arbeitsplatz -> DCOM-Konfiguration 
	Search for: "Vision Recorder Application Class" and right-click choose "Eingenschaften"
		Tab: "Allgeimen" -> "Authentifizirungsebene" Choose: "Paket"
		Tab: "Ausfhrungsort" Choose: "Anwendung auf folgenden Computer ausfhren" and supply the server					
		Tab: "Sicherheit" -> "Start- und Aktivierungsberechtigungen" Choose: "Standard"
		Tab: "Sicherheit" -> "Zugriffsberechtigungen" Choose: "Standard"
		Tab: "Sicherheit" -> Konfigurationsberechtigungen Choose: Standard
		Tab: "Identitt" Choose: "Interaktiver Benutzer"
	restart the client

Make sure that the user has no empty password otherwise you will get an access denied exception.

You can now controll the brain vision recorder from the client logged in wiht the user.

Example:

Lets assume that the server is called "tubbci2" and the client is called "bbcilaptop"

The user on the laptop has the name "ml" and the password "mlpwd"

	right-click on "Arbeitsplatz" and choose "Verwalten"
	Go to: "System" -> "Lokale Benutzer und Gruppen" -> "Benutzer" Create the user "ml" with the password "mlpwd"
								Add "ml" to the group "Administratoren"
	close the window

	"Start" -> "Ausfhren" -> Type: dcomcnfg -> Ok
	Go to: "Komponentendienste" -> "Computer" -> "Arbeitsplatz" -> "DCOM-Konfiguration"
	Search for: "Vision Recorder Application Class" and right-click choose Eingenschaften
		Tab: "Allgeimen" -> "Authentifizirungsebene" Choose: "Paket"
		Tab: "Ausfhrungsort" Choose: "Anwendung auf diesem Computer ausfhren"
		Tab: "Sicherheit" -> "Start- und Aktivierungsberechtigungen" Choose: "Anpassen" and click on "Bearbeiten"
						Add user "ml" and activate the rights "Lokaler Start, Remotestart, Lokale Aktivierung, 
										  Remote Aktivierung"
		Tab: "Sicherheit" -> "Zugriffsberechtigungen" Choose: "Anpassen" and click on "Bearbeiten"
						Add user "ml" and activate the rights "Lokaler Zugriff, Remotezugriff"
		Tab: "Sicherheit" -> "Konfigurationsberechtigungen" Choose: "Anpassen" and click on "Bearbeiten"
						Add user "ml" and activate the rights "Vollzugriff, Lesen"
		Tab: "Identitt" Choose: "Interaktiver Benutzer"

	restart the server

On the client do:
	"Start" -> "Ausfhren" -> Type: dcomcnfg -> Ok
	Go to: "Komponentendienste" -> "Computer" -> "Arbeitsplatz" -> "DCOM-Konfiguration" 
	Search for: "Vision Recorder Application Class" and right-click choose "Eingenschaften"
		Tab: "Allgeimen" -> "Authentifizirungsebene" Choose: "Paket"
		Tab: "Ausfhrungsort" Choose: "Anwendung auf folgenden Computer ausfhren" enter "tubbci2"					
		Tab: "Sicherheit" -> "Start- und Aktivierungsberechtigungen" Choose: "Standard"
		Tab: "Sicherheit" -> "Zugriffsberechtigungen" Choose: "Standard"
		Tab: "Sicherheit" -> "Konfigurationsberechtigungen" Choose: "Standard"
		Tab: "Identitt" Choose: "Interaktiver Benutzer"


Usage :

When you want to control the Brain Vision Recorder make sure the the server and the Vision Recorder are running. If 
the Vision Recorder is not running, it will be closed after each request which leaves it in a closeable state.

Example: If the server is up and running and the Vision Recorder was not started.

The simple python script:

import win32com.client
import time
x = win32com.client.Dispatch("VisionRecorder.Application")
x.Acquisition.ViewData()
time.sleep(5)
x.Accquisition.StopViewing()
x = None

will open the Brain Vision Recorder and watch the eeg for 5 seconds. The Vision Recorder will be closed at the end
of the script.

Try the same but first start the Vision Recorder it will stay open.

If you have any problems,questions or remarks please feel free to ask/mail me

Max Sagebaum