function DeviceTask(scheduler) {
  this.scheduler = scheduler;
  this.v1 = null;
}
A task that suspends itself after each time it has been run to simulate
waiting for data from an external device.
@param {Scheduler} scheduler the scheduler that manages this task
@constructor