When the application puts a device in SAMPLE mode, it is immediately activated. The application program calls the SAMPLE <input class> function which returns the current value or the specified input device without waiting for user action.