To fix issue #29

To fix issue #29. Correctly formatted the Start / End Settings and used
$MaxSampleVIEvent which is defined in plugin 00