Return to the Neuroscan Interoperability Sample Script page
___________________________________________________________________________________________________________________	

									Neuroscan Sample
___________________________________________________________________________________________________________________	


Script Author: Sean Draine, Ph.D. (seandr@millisecond.com) for Millisecond Software, LLC
last updated:  10-16-2019 by K. Borchert (katjab@millisecond.com) for Millisecond Software, LLC

Script Copyright © 10-16-2019 Millisecond Software

___________________________________________________________________________________________________________________
BACKGROUND INFO 	
___________________________________________________________________________________________________________________	
This script shows how to send markers from the parallel port of the Inquisit presentation computer to a 
Neuroscan EEG System. 

Neuroscan requires that the value of the marker be set on the data register of the parallel port, and a pulse 
is sent to the control register to indicate the onset of the marker signal. Between each signal, both data and 
control registers must be reset to zero. 

The process for sending a marker requires a value of zero to be sent to both  data and control registers, 
then sending the marker  value to the data register, and finally sending a brief pulse sent to the control 
register at the point when the marker should be sent.
	
	To run this script:
	1) Connect the parallel port to the Neuroscan EEG System using the custom Neuroscan cable. 
    2) Check the number of the parallel port you are using. This script assumes LPT1, so if you have 
		a difference port number, search/replace "LPT1" with  whatever your port number is (e.g. "LPT3" for port 3).
    3) Click the Run button in Inquisit to run the script

Result:
One each trial, marker values of 1, 2, and 3 are sent approximately 500 ms apart.