Support Board
Date/Time: Thu, 23 Jan 2025 05:11:48 +0000
Post From: displaying milliseconds sc.CurrentSystemDateTimeMS
[2018-11-05 21:49:41] |
Yoda - Posts: 106 |
Thank you for the reply. And you are correct, milliseconds was set to zero because I am trying to get the event to trigger exactly at 8:30:0:0 Based on your comment, I tried changing the code to the following: SessionStart.SetTimeHMS_MS(8, 30, 0, 1);
And receive the following error when I compile the study: CSV-SC-v01c-20181104-1540.cpp: In function 'void scsf_AccumulateVolume(SCStudyInterfaceRef)':
CSV-SC-v01c-20181104-1540.cpp:117:16: error: 'struct s_SCInput_145' has no member named 'SetTimeHMS_MS' SessionStart.SetTimeHMS_MS(8, 30, 0, 1); So what should be the member name... SetTimeHMS_MS or SetTime(HMS_MS_TIME( or something else? Same with this line... int TimeValueMS = HMS_MS_TIME(8, 30, 0, 1)
What should HMS_MS_TIME be? |