Home > nirs > Use serial port to trigger ETG 4000 with E-Prime

Use serial port to trigger ETG 4000 with E-Prime

February 9th, 2010
  1. Open properties of the experiment, select tab “Devices”
  2. Add a serial port. Make sure the COM Port number is correct
  3. In your experiment flow, add inline function to where you want to trigger ETG4000 or put marker.
  4. In that function, enter the following code
    Serial.WriteString "ST" ' for start
    Serial.WriteString "ED" ' for end
    Serial.WriteString "F1" ' for marker F1
    Serial.WriteString "A " ' for marker A
Author: Xu Cui Categories: nirs Tags:
Try Stork, a research tool we developed

Stork is a publication alert app developed by us at Stanford. As a researcher we often forget to follow up important publications - and it's practically impossible to search many keywords or researchers' names everyday. Stork can help us to search everyday and notifies us when there are new publications/grants. How Stork helped me?

About the author:

Xu Cui is a human brain research scientist in Stanford University. He lives in the Bay Area in the United States. He is also the founder of Stork (smart publication alert app), PaperBox and BizGenius.


He was born in He'nan province, China. He received education in Beijing University(BS), University of Tennessee (Knoxville) (MS), Baylor College of Medicine (PhD) and Stanford University (PostDoc). Read more ...
  1. No comments yet.