Not signed in (Sign In)

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorteah
    • CommentTimeSep 12th 2008 edited
     
    I have read through everyone's comments about total time and session time. I am trying to figure out how to store the total time spent in the course. I do track time through actionscript and our own mini LMS but now that we have Plateau, I need to set the total time through SCORM so that admins can use it for reporting. If cmi.core.total_time is read only, how do I set the total time?

    There has got to be an easier way that what I have been trying!!!
    • CommentAuthorclewis13
    • CommentTimeSep 15th 2008
     
    The LMS should handle the total time if you send the session time in the correct format.

    Take a look at Reload Scorm Player. Great tool for local testing. You pass the session time and it does the rest, the way the LMS should.
    • CommentAuthorphilip
    • CommentTimeSep 15th 2008
     
    use cmi.core.session_time to manually enter the length of time spent in a course before exiting, then use cmi.core.total_time to report the time you've entered (cmi.core.total_time keeps a running count of all the session_time you enter).

    cmi.core.session_time is write-only, and must be specified by the SCO (your code). be sure to use the format HH:MM:SS, with a leading 0 for any time less than 10 hours, such as 01:05:53.

    so if you enter a session_time of "00:15:30", total_time is going to report "00:15:30". if you then report a second session_time of "00:12:45", total_time will report "00:28:15".

    - philip
    • CommentAuthorteah
    • CommentTimeSep 16th 2008
     
    Thank you so much for the info! That is perfect. :)