/// <summary> /// Gets the subject ID of data stored in the experiment, or null if it's empty. /// </summary> /// <returns></returns> private string GetData() { if (SourceModule.GetScienceCount() == 0) { return(null); } ScienceData data = SourceModule.GetData()[0]; return(data.subjectID); }