This article applies to:
E-Prime 3.0
Detail
Users running E-Prime versions 3.0.3.219 and later can access the computer name being used in the experiment session and have the option to log it to the data file. This information can be useful in labs that have multiple data collection machines.
Logging the Computer Name in the Data Files
Logging the computer name in the data files is possible by adding an InLine object to the Experiment Structure. The InLine object should exist in the Session level of the experiment with the following code:
c.SetAttribLogFlag "ComputerName", True
Logging the Computer Name in the Data File's Name
Add the computer name to the data file name by performing the following:
- Open the Experiment Object.
- Navigate to the Data File tab.
- Append -[ComputerName] to the Data File Name entry field.
Debugging the Computer Name
Debug the computer name during the experiment design process by adding an InLine object to the experiment structure with the following code:
Debug.Print "Computer Name: " & c.GetAttrib("ComputerName")
See Also:
Comments
0 comments
Please sign in to leave a comment.