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:
  1. No comments yet.
CAPTCHA Image