setExpiration is a part of MotorSafety. In LabVIEW, Motor Safety is automatically enabled for RobotDrive, with an expiration of 0.1 seconds. The same is true for Java and C++.
You can read more about it here:
http://wpilib.screenstepslive.com/s/...safety-feature