Currently analog inputs have record() and stop() methods which respectively start and stop streaming the signal to the computer, and they don't stream the signal unless the record method is called from the task file.
In practice it seems very likely that if an analog input is used in a task it is desirable to stream the data to the computer continuously while the task is running. Making analog inputs automatically stream data to the computer, and removing the functionality to start and stop streaming would simplify both the Analog_input code and task code that uses them.