Category Archives: Run Time Environment

Download VS SCORM 1.2 RTE Rev 2.1

After a somewhat longer time than I’d planned, here’s Rev 2.1 of the VSSCORM 1.2 RTE. It includes the following changes from Rev 2.0:

Posted in Run Time Environment | 5 Comments

Another Bug in VS SCORM 1.2 RTE Rev 2.0

An eagle-eyed reader of the blog has brought the following bug to my attention. In all cases in the php code, you use the string “ab initio” as the value for cmi.core.entry when it is the first time a SCO … Continue reading

Posted in Run Time Environment | Leave a comment

Step 51 – Testing for API Session State

In Step 48, I introduced a flag to indicate whether a session had been finished or not. In that post, it was used to ensure that LMSFinish wasn’t called multiple times. But I really ought to extend it to make … Continue reading

Posted in Run Time Environment | 2 Comments

Bug in VSSCORM 1.2 RTE Rev 2.0

I recently spotted a bug in VS SCORM 1.2 RTE Rev 2.0. Line 54 of finish.php reads: $rawscore = readElement(‘cmi.score.raw’); It should read: $rawscore = readElement(‘cmi.core.score.raw’); I’ll incorporate this fix in a new release of the RTE once I’ve made … Continue reading

Posted in Run Time Environment | Leave a comment

A Simple SCORM 1.2 Content Package

If you want a very simple test case, you can use this content package – a single SCO consisting of: a title page; 3 test questions (the correct answer in each case is “true”); and a results page.

Posted in Content Aggregation Model, Run Time Environment | 2 Comments

Download VS SCORM 1.2 RTE Rev 2.0 (Caching Version)

Rev 2.0 of the VS SCORM RTE – the first version with client-side caching – is now available for you to download.

Posted in Run Time Environment | Leave a comment

Step 50 – Testing the Caching VSSCORM 1.2 RTE

Time to run a few tests. I start with the test case that I’ve been using since Step 3. Just to make sure that everything is working, I run it part-way through then close the window using the ‘x’ at … Continue reading

Posted in Run Time Environment | 2 Comments

Step 49 – SCO Initialization

I’ve addressed handling of the LMSSetValue() and LMSGetValue(), LMSCommit(), and LMSFinish() calls. The remaining piece of the puzzle is to look at how the RTE is initialized. In Rev 1 of the code, the course/SCO call to LMSInitialize() caused an … Continue reading

Posted in Run Time Environment | Leave a comment

Step 48 – LMSFinish(), and Unexpected Closure

In theory, the way that I handle the LMSFinish() API call should be pretty much the same as for Rev 1 of my code. I simply generate an AJAX request to the server which runs a PHP script that carries … Continue reading

Posted in Run Time Environment | 1 Comment

Step 47 – LMSCommit()

The LMSCommit() API call is a little more complicated, but it bears a strong resemblence to the way that I handled LMSSetValue() in Rev 1 of the code – see this post for more details. What I’m going to do … Continue reading

Posted in Run Time Environment | Leave a comment