DirectRT can do both of these but MediaLab can't--do you have access to DirectRT? MediaLab uses an integer second timer for the duration parameter.