diff --git a/ECTrainer2/ECTrainer2.vcxproj b/ECTrainer2/ECTrainer2.vcxproj index 036b2c8..fe83797 100644 --- a/ECTrainer2/ECTrainer2.vcxproj +++ b/ECTrainer2/ECTrainer2.vcxproj @@ -132,11 +132,11 @@ true true true - NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - Windows + Console true true false diff --git a/ECTrainer2/Worker.cpp b/ECTrainer2/Worker.cpp index caff79f..cb2921c 100644 --- a/ECTrainer2/Worker.cpp +++ b/ECTrainer2/Worker.cpp @@ -143,6 +143,7 @@ _ftprintf(_fpLogData, _T(",%d"), hit + 1); // ターゲット判定 _ftprintf(_fpLogData, _T(",%.2f"), _ContactTime / 1000.); // 目標コンタクト時間 _ftprintf(_fpLogData, _T(",%d"), fb); // フィードバック + _ftprintf(_fpLogData, _T(",%d"), _TrainingLevel); // トレーニングレベル _ftprintf(_fpLogData, _T(",%d"), Ect()->PBitalMonitor()->GetRR()); // バイタル出力(RR間隔) auto pd = Ect()->PEyeTrack()->GetPupilDiam(); _ftprintf(_fpLogData, _T(",%.1f,%.1f"), pd.r, pd.l); // 瞳孔径 @@ -289,7 +290,7 @@ // ヘッダ行 _ftprintf(_fpLogData, _T("time,stimNo,stimTime,gazeVx,gazeVy,shiftX,shiftY," - "gazeIx,gazeIy,target,contact time,Feedback,RR,pupilR,pupilL," + "gazeIx,gazeIy,target,contact time,Feedback,TrainLevel,RR,pupilR,pupilL," "H11,H12,H13,H21,H22,H23,H31,H32,H33\n")); }