referring first to the overall system of the invention , as shown in fig7 the input signal from sensor 1 , which may be an outdoor temperature sensor , is converted to a convenient voltage range , such as from zero to ten volts , by a signal conditioner 2 . analog to digital converter 27 produces a parallel digital signal proportional to the conditioned voltage , and under control of the bcd bus control inputs 20 , can place this digital signal on a bcd bus . the bcd bus consists of a number of binary coded decimal lines , this number being appropriate to the accuracy required of the instrument ; each decimal digit requiring four lines . an accuracy of 0 . 1 % would require three decimal digits or 12 lines . analog digital converter 27 also sends digital information to averager 28 which accumulates the average value of the input signal over a period of time controlled by the time - of - day or real time clock 30 . averager 28 , under control of the bcd bus control 20 , can place a parallel digital signal proportional to the average of the input voltage on the bcd bus . oscillator 16 and dividers 29 provide one pulse per second to the time - of - day clock which digitally measures seconds , minutes , hours , days , etc . the clock produces , at appropriate intervals , signals which initiate the measuring process in the analog to digital converter , ( typically once each second ), control the operation of the averager ( generating a 24 hour averaging period in the case of the above mentioned temperature measurement ), and provide a parallel bcd output to the bcd bus under the control of the bcd bus controlleer 20 . bcd bus control 20 accepts inputs from front panel switches or external control lines ( not shown ) to determine whether the output of the analog - digital converter , the averager , or the clock will appear on the bcd bus , and therefore on the display and output lines . display 14 converts the parallel lines of the bcd bus to seven segment decimal displays which can be read from the front panel of the instrument . the bcd output makes information on the parallel bcd bus available to external equipment such as computers , printers , etc . digital - analog converter 9 provides an analog signal at the analog output suitable for use with a chart recorder . under control of the time - of - day clock , this signal corresponds to the value of the input signal or to the value of its average over a fixed period . in the case of a temperature measurement , the analog output might correspond to the outdoor temperature for most of the day , but for a short period just after midnight it may be controlled to correspond to the average temperature for the previous day . this would allow both temperature and average temperature to be read from a single chart recorder . the invention will now be disclosed in greater detail with references to fig1 to 6 , which correspond to different functional portions of the system . it will be noted that the functional relationships of the systems , as represented in fig7 are not directly followed in the detailed block diagrams , in order that the detailed portions of the invention may be more clearly understood . thus , for example , fig1 corresponds to a portion of the analog to digital converter 27 , as well as to a portion of the averager 28 of fig7 . this should , of course , be borne in mind when relating the system of fig1 to 6 to the overall system of fig7 . with reference to fig1 a sensor 1 converts a physical quantity such as temperature , light intensity , weight , air velocity , or other quantities into an electrical signal which is amplified and shifted to a convenient range of electrical voltage by analog signal conditioner 2 . the voltage from analog signal conditioner 2 is converted to a number of pulses of fixed amplitude and length by analog - to - pulse converter 3 , the number of said pulses being proportional to the aformentioned voltage . the initiation of a conversion cycle is provided by a convert control pulse , thus determining the rate at which measurements are made . each convert control pulse initiates a measurement cycle by allowing analog - to - pulse converter 3 to convert the present value of the voltage from analog signal conditioner 2 to a train of pulses , the number of which is proportional to the aforementioned voltage from analog signal conditioner 2 and thus to the physical variable measured by sensor 1 . the number of pulses in the pulse train output of the analog - to - pulse converter 3 is divided by an integer , n , in the divide - by - n block 4 . this division allows the scaling of the average of the aforementioned analog voltage . the integer , n , is equal to the number of measurement cycles per averaging period . with reference to fig2 the function pulses of fig1 whose number is proportional to the aforementioned analog signal at the time of measurement are counted by the binary counter 5 . at the end of the conversion period , a control pulse fs causes the binary number counted by the binary counter 5 to be read into the latches 6 , replacing the data of the previous measurement held by the latches 6 . immediately following the pulse fs , a control pulse fr resets the binary counter 5 to zero . a control voltage fa allows the outputs of the latches 6 to be connected to the binary bus during those periods in which it is desired to have the analog output voltage correspond to the conditional voltage from sensor 1 . meanwhile , integral pulses from divide - by - n circuit 4 of fig1 are counted by binary counter 7 . at the end of an averaging period , which would normally be several ( possibly millions ) of measurement periods , a control pulse is causes the data held in the latches 8 to be replaced by the output of the binary counter 7 . the output of the binary counter 7 corresponds to the number of function pulses during the averaging period and therefore to the average of the conditioned sensor signal over the same period . immediately following the pulse is , a control pulse ir resets the binary counter 7 to zero . a control voltage ia allows the output of the latches 8 to be connected to the binary bus during those periods in which it is desired to have the analog output voltage correspond to the average of the conditioned voltage from sensor 1 . the binary coded signals on the binary bus are converted by the output digital - to - analog converter 9 to an analog signal which is analog output of the instrument and can be recorded on a chart recorder to read on an external electrical meter . the analog output signal corresponds to the output of sensor 1 when the control voltage fa switches the outputs of latches 6 onto the binary bus and corresponds to the average of the sensor 1 output when the voltage level ia switches the output of latches 8 onto the binary bus . in normal usage , it is preferred that the output consists of a voltage proportional to the conditioned sensor output for most of an averaging period , with an output voltage proportional to the average of the conditioned sensor signal being present at the output for a short period after the end of each averaging period . with reference to fig3 the function pulses of fig1 whose number is proportional to the conditioned sensor signal are counted in a binary - coded - decimal ( bcd ) counter 10 . because counter 10 can be preset to a negative or positive number , the binary - coded - decimal output from counter 10 can be a positive or negative number and can be made to correspond to measurement units such as degrees fahrenheit , degrees centigrade , kilowatts per square meter , btu per hour per square foot , or others . at the end of the conversion period , the signal pulse fs causes the binary - coded - decimal number counted by counter 10 to replace the data from the previous measurement in the latches 11 . immediately following the pulse fs , a pulse fr resets the counter 10 to its predetermined positive or negative preset count . the control voltage fd allows the outputs of the latches 11 to be connected to the bcd bus during those periods in which it is desired to have the information displayed by the decimal display 14 and the bcd correspond to the conditioned signal from sensor 1 . meanwhile , the integral pulse from divide - by - n circuit 4 of fig1 are counted by bcd counter 12 . the binary - coded - decimal output of bcd counter 12 corresponds to the average of the number of function pulses over the averaging period and therefore to the average of the conditioned sensor signal during the same period . since counter 12 can be preset to a positive or negative number , the output of counter 12 can be made to correspond to measurement units such as degree - hours , degree days , kilowatt hours per square meter , btu per square foot , or others . at the end of an averaging period , the control pulse is causes the data held in latches 13 to be replaced by the output of the bcd counter 12 . immediately following the pulse is , the pulse ir resets counter 12 to its positive or negative predetermined preset count . control voltage id allows the outputs of latches 13 to be connected to the bcd bus during those periods in which it is desired to have the information displayed by the decimal display 14 , and the bcd output , correspond to the integral or average of the conditioned signal from sensor 1 . display 14 may consist of a number of devices such as seven - segment light - emitting diodes capable of displaying the numerals zero through nine . depending on the status of control voltages fd , id , and cd , either the current value of the bcd signal corresponding to the conditioned sensor signal , the average of that signal over the previous averaging period , or the time of day can be displayed by display 14 . the bcd output conditioner 15 provides a binary - coded - decimal output compatible with data printers , computers , magnetic recorders , and other digital equipment . also depending on the status of control voltages fd , id , and cd , either the current value of the bcd signal corresponding to the conditioned sensor signal , the average of that signal over the previous averaging period , or the time - of - day can be present as binary coded decimal data on the bcd output bus . with reference to fig4 the oscillator 16 provides a high frequency signal of accurately known period which is electronically divided to lower frequencies and is used to produce the control pulses fs , is , fr , ir , and the control voltages fa and ia . the duration of the measurement period as well as the duration of the averaging period are determined by conventional dividers and shapers 17 . in some embodiments of the instrument , the control pulse train can be derived from the oscillator signal by the dividers and shapers 17 , under control of the analog - to - pulse converter 3 . the dividers and shapers 17 produce a pulse s at intervals of exactly one second . the time counter 18 which effects the functions of the real time clock 30 of fig7 counts the pulses s and has an output in the form of conventional time periods such as seconds , minutes , hours , days , weeks , or months , each in the form of a binary - coded - decimal signal . upon the occurrence of pulse cs , binary - coded - decimal data from the time counter replace previous time data stored in latches 19 . the control voltage cd allows the outputs of latches 19 to be connected to the bcd bus during those periods in which it is desired to have the time of day displayed by the decimal display 14 and to have the bcd output correspond to time of day information . it will , of course , be apparent that the various control pulses may be produced at predetermined times , under the control of either conventional hardwire or software systems , in order to effect the desired outputs . it will also be apparent , however , that conventional controls may be employed , if desired , in order to enable an operator to select or control the outputs produced . with reference to fig5 bcd bus control 20 accepts control pulses or signals from manual pushbuttons ( not shown ) on the control panel of the instrument or from a remote computer or controller , to produce control voltages fd , id , and cd , these control voltages determine whether bcd data on the bcd bus corresponds to the conditioned sensor signal , the average of this signal over the previous averaging period , or the time of day . it will , of course , be apparent that the control voltages may be produced on the basis of a determined program , such that a record may be maintained without the intervention of operators . alternatively , manual control of the various intervals of occurrence of the different representations may provide the operator with a degree of control over the operation of the system . the provision of such features , according to conventional practice , is , of course , dependent upon the application of the instrument . with reference to fig6 the ac power supply 21 accepts alternating current ( ac ) power from the mains , reduce it in voltage by means of a transformer , rectifies it and filters it by means of a capacitor . the isolator 22 consists of a semiconductor diode or similar device which allows current to flow only when the voltage of the output of the power supply is larger than the voltage of the battery pack . the battery pack 23 consists of rechargeable batteries which serve to power the instrument in the event of a loss of ac input power , in order to prevent loss of average data and time of day information . isolator - charger 24 consists of a diode in parallel with a resistor allowing a large current to flow only when the voltage of the battery pack is higher than the output voltage of the ac power supply , while allowing a small battery charging current to flow when ac input power is available . the 5 volt regulator 25 accepts unregulated power from the ac supply or battery pack and converts it to accurately regulated 5 volt power . the 5 volt to ± 15 volt converter 26 converts a fraction of the 5 volt power to + 15 volts and to - 15 volts to provide power for other parts of the instrument . although several embodiments of the invention have been described , various changes in the form and arrangement of the parts which will be obvious to those familiar with art may be made without departing from the scope of the invention . reference is , therefore , to be had to the appended claims for a definition of the limits of the invention .