Login Page - Create Account

Support Board


Date/Time: Tue, 13 May 2025 17:32:06 +0000



Post From: m_EveningSession from sc.GetStudyProfileInformation() always returns 0

[2024-08-27 15:56:26]
Mark Lewis - Posts: 27
I'm trying to use m_EveningSession to determine if a TPO profile is an evening session. However, it always returns 0. In the following example, 0 is the first profile index and represents an intraday session. 1 profile index represents an evening session. However, the following profile_1.m_EveningSession always returns 0. I have confirmed this using the message log.


  n_ACSIL::s_StudyProfileInformation profile_1;
  sc.GetStudyProfileInformation(1, 1, profile_1);
    
  SCString Msg;
  Msg.Format("profile_1_m_EveningSession: %d", profile_1.m_EveningSession);
  sc.AddMessageToLog(Msg, 1);   

I expect m_EveningSession to return 1 if the TPO profile is an evening session. Could you verify this expected behavior and if so, reproduce my result?

Thank you for looking into this!
Mark
Date Time Of Last Edit: 2024-08-27 17:33:35