Abstract:
A scientific instrument emulator is disclosed and comprises a computer (1) including a memory (3) and at least two processors (2,9). An analogue I/O module (6) is configured within the computer (1) and connects via a bus (11) thereby permitting conversion of analogue signals into digital signals for processing by the processors (9). The module (6) permits connection to monitoring and/or sampling devices such as transducers which permit analysis and recording of physical phenomena. The emulator is programmable via a library of processing functions stored in the memory (3) to adapt the processors (9) to emulate the operation of a plurality of scientific instruments thereby permitting display of monitored events on a VDU (10) in real-time and/or storage of data relating to the events in the memory (3). Data can also be recorded in analogue format using one or more tape recoders connectable to the module (6).

Description:
This is a continuation of application Ser. No. 07/843,889, filed on Feb. 27, 1992 now abandoned and continuation Ser. No. 08/343,368, filed on Nov. 22, 1994, now abandoned. 
    
    
     Appendices I to IV of this patent document contain material which is subject to copyright protection. The copyright owner has no objection to the facsimile reproduction by anyone of the patent disclosure, as it appears in the Patent and Trademark Williams Rule 60 Continuation of U.S. Ser. No. 07/843,889 Office patent files or records, but otherwise reserves all rights whatsoever. 
     FIELD OF THE INVENTION 
     The present invention relates to scientific instruments and, in particular, to an emulator which enables the function of various scientific instruments, when interconnected, to be emulated or replicated without the need to purchase, install, interconnect, and test, the various scientific instruments. In its preferred form, the present invention enables measurements to be taken, and the use of measurement processes, which were unable to be taken, and used, with the interconnected instruments. 
     BACKGROUND ART 
     In many fields of activity having a scientific basis, scientific instruments are used to analyse, record, and monitor the outputs of various devices. Such devices include strain gauges, electro-cardiograph (ECG) devices, microphones, and pressure, temperature, flow rate and like transducers. Accordingly, such scientific instruments are used in civil engineering, electrical engineering, acoustics, hydraulic engineering, chemical processes, bio-medical engineering and so on. 
     A wide range of such scientific instruments are generally required in order to undertake desired measurements. Such instruments include generators for various wave-forms (such as sine, square, ramp, and triangle); signal processing devices such as differentiators, integrators, filters, multipliers, and so on; analysers such as that required to carry out the Fast Fourier Transform, and various recording devices such as a chart recorder, a data logger, a cathode ray oscilloscope or a transient recorder. 
     Such instruments or devices are each relatively expensive and thus any research institution, or like organisation only has a limited number of such devtces. Accordingly, there is considerable competition amongst persons or groups within such organisations who wish to utilise the devices. Once the devices have been obtained in order to carry out the intended operation, it is necessary for the devices to be located together, interconnected, and tested in order to ensure that the interconnections are correct. Only once this procedure has been carried out is it then possible to commence the intended operation. 
     It is known in the art to provide instruments which are essentially highly advanced cathode ray oscilloscopes. One such instrument is sold under the name SUPERSCOPE by G W Instruments of Summerville, Mass. U.S.A. 02143 and enables waveforms captured by what is essentially a storage oscilloscope to also be displayed on an APPLE (Registered Trade Mark) Macintosh (Registered Trade Mark) Computer. However, this device does not appear to emulate instruments, rather it only captures and stores for subsequent display the output of such instruments. 
     It is also known to utillse software for data acquisition. One such program offered by LABTECH of Willmington, Mass. and San Francisco, Calif., U.S.A. is a graphical interface which again accepts signals from various hardware items external to the computer. The software collects data from multiple channels, carries out an analysis and, if necessary a reduction of the data and produces displays. This activity is available in real-time. Again, no attempt is made to emulate the function of scientific instruments. A further difference is that the graphical interface connects to a number of different machines, rather than being essentlally integrated into one unit. 
     A data acquisition and analysis system sold under the trade name LABVIEW2 by National Instruments of Austin, Tex., U.S.A. is also known. In this system, icons are used to represent both data acquisition functions and data analysis functions. These icons are used to generate executable code which is only executed by the personal computer into which the software of the system is loaded. This system uses no hardware, only software. The data acquisition and analysis functions can be sequentially linked so that data input into the computer can be first acquired and then analysed. Finally the analysed data is presented. It is to be noted that the computer functions to make desired inter-connections between external instruments but does not emulate instruments or compile a program to replicate the signal processing functions of an array of inter-connected instruments. For example, no provision for feedback from one icon back to another in the control sense, is made. The slow processing speeds, and the indetermine nature of the multi-tasking environment of the APPLE (Registered Trade Mark) personal computer, require the provision of a time &#34;co-ordinate&#34; to accompany the acquired data. 
     This system is a virtual instrument which is to say it is characterised by software simulation only and is to be contrasted with the new concept of emulation. Emulation involves flexible, multipurpose, re-programmable hardware which executes code derived from a graphic compilier at a fast operating speed which enables real time instrument emulation. 
     SUMMARY OF THE INVENTION 
     It is the object of the present invention to reduce the expense and inconvenience associated with scientific measurements by the creation of an entirely new instrument termed a Scientific Instrument Emulator. The task of the emulator is to reproduce by means of a combination of both hardware and software, the functions of various scientific instruments thereby enabling not only the individual functions of the instruments to be replicated, but for such replicated functions to be interconnected with each other so that the emulator as a whole can replicate the overall function of an array formed by interconnected scientific instruments. 
     A number of very substantial advantages are attained thereby. Firstly, the overall cost of the apparatus is substantially reduced since the individual scientific instruments the functions of which are to be replicated, need not be purchased. Secondly, a substantial saving in set up time is also achieved since it is not necessary for such instruments to be bought from various locations and assembled at the one point and physically interconnected with wiring, plugs, adaptors, and so on. Thirdly, the results achieved are much improved in that the output of the array of interconnected scientific instruments is not only able to be displayed in real time, but it is, in addition, processed in real time and is also able to be stored for subsequent manipulation, analysis and evaluation. Finally, the results of simultaneous or parallel measurements can be more easily associated so that the interrelationships between measurements can be ascertained, particularly in complex systems. 
     According to a first aspect of the present invention there is disclosed a scientific instrument emulator comprising computer means including memory means and processor means, an input/output analogue signal module having at least one analogue signal input with digitising means connected thereto and at least one output, a video display screen and a video display generator connected therewith, a library program stored in said memory and including a plurality of instrumentation units each able to be displayed on said screen and each having a predetermined signal processing function, a set-up program stored in said memory and usable by the operator to interconnect said instrumentation units to form an array of interconnected instrumentation units, the output of said array being connected to at least one of said video display generator, said analogue signal module and said memory means, and a compiler program stored in said memory and executable by said processor means on completion of said set-up program to create a program to carry out the overall signal processing function determined both by the nature of said selected instrumentation units and the nature of said array, whereby following operation of said compiler program, an input signal applied to said input analogue signal module is processed by said processor means in accordance with said overall signal processing function of said array and the output is generated in real time and displayed on said video display screen in real time, and/or stored in said memory means, and/or output by said analogue signal module in real time. 
     Preferably the instrumentation units are each represented by a corresponding icon which is able to be displayed on the video display screen during the operation of the set-up program to enable the operator to select, and locate in the array, the desired instrumentation unit. 
     The compiler generates in the memory a number of different programs representing the array of instrumentation units. These programs are distributed to the processor in the computer system to emulate the desired array of instrumentation units. Preferably, the compiler generated programs are stored in memory to create preconfigured instrumentation arrays instantly capable of executing desired processing functions. These programs store the accumulated intellectual product of the user. 
     Preferably the number of processors, video generators and analog signal modules is expandable to obtain the desired degree of complexity and/or capability of the array of instrumentation units. 
     The analogue signal module has available a real time electric signal which can be used to operate, or trigger, other items of hardware. Preferably it also provides both analogue and digital output. 
     The input/output from the scientific instrument emulator is preferably also available from other resources available within the computer including network communications interfaces (RS232, ETHERNET etc) and bus interfaces such as IEEE-488-GPIB, ISA and EISA. These resources can be provided independently by the purchaser or original equipment manufacturers (OEM&#39;s). 
     The data stored in the memory means is also preferably available for data &#34;export&#34; to various standard computer packages such as those sold under the trade marks EXCEL, LOTUS and AXUM whereby the data accumulated can be manipulated for subsequent graphical presentation and tabulation to facilitate report generation. 
     According to a second aspect of the present invention there is disclosed a scientific instrument for measuring and recording electrical waveforms, said instrument comprising a computer having a central processing unit and electronic memory means positioned within a housing, said housing including provision for at least one floppy disc nacelle; and a plurality of electrical connectors accommodated in the space allocated for said one floppy disc nacelle, said electrical connectors being connected to said memory means. 
     According to a third aspect of the present invention there is disclosed a compilation method for generating object code to implement the mathematical/signal processing function of an electrical circuit functional block having at least one input to form an output thereof, said method comprising the steps of representing said function as a sequence of elemental mathematical steps each of which is itself directly representable in said object code, and arranging the object code steps in said sequence for sequential execution commencing with said input(s). Preferably a parameter of said functional block is able to be specified. Also disclosed is a compilation method for generating object code to implement the mathematical/signal processing function of an electrical circuit having at least one input and at least one output and formed by interconnection of a plurality of functional blocks each of which has a mathematical/signal processing function for which an object code has been compiled in accordance with the above, said method comprising the steps of representing the electrical circuit mathematical/signal processing function as a sequence of events each of which is representable in said object code, and arranging said object code events in said sequence for sequential execution commencing with said input(s). 
    
    
     DESCRIPTION OF THE DRAWINGS 
     An embodiment of the present invention will now be described with reference to the drawings in which: 
     FIG. 1 is a schematic block diagram of the hardware modifications required to an IBM PC, 
     FIG. 2 is a block diagram of the analogue module of FIG. 1, 
     FIG. 3 is a circuit diagram of one of the identical relays of FIG. 2, 
     FIG. 4 is a schematic map of the memory arrangement within the computer, 
     FIG. 5 is a block diagram of the real time video printed circuit board of FIG. 4, 
     FIG. 6 is a screen display listing the icons representing the various instrumentation units stored within the library program, 
     FIG. 7 is a typical array formed by inter-connection of the various instrumentation units, 
     FIG. 8 is a block diagram of a relatively straight forward array useful in bio-medical applications, 
     FIG. 9 is a reproduction of the screen display windows corresponding to the array of FIG. 8. 
     FIG. 10 is an array which forms a linear interpolation, 
     FIG. 11. shows the output of the three screen displays illustrated in FIG. 10, 
     FIG. 12 is an array which forms a phase locked loop, 
     FIG. 13 shows the output of the three screen displays illustrated in FIG. 12, 
     FIG. 14 is an array which provides an analogue solution to a second order differential equation, 
     FIG. 15 shows the output of the two screen dispiays illustrated in FIG. 14, and 
     FIG. 16 is a more complex array. 
    
    
     Appendices I-IV list various program fragments described hereafter. 
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Turning now to FIG. 1, the apparatus of the preferred embodiment is able to be totally enclosed within the case 1 of a conventional IBM (Registered Trade Mark) Personal Computer having an ISA or EISA bus based on the original IBM AT. Located within the case 1 are the usual components of a central processing unit (CPU) 2, memory 3 and 8 MHz bus 4. 
     Located within a spare 51/4 inch floppy disc nacelle is an analogue module 6 onto which are mounted dedicated input plugs 7, dedicated output plugs 8, and general input/output lines 5 for amplifiers, frequency counters, sample clock synchronising, digital inputs and the like. 
     Located on the bus 4 are four slots for printed circuit boards 9. The four PC boards 9 are indicated A, B, C and D respectively. The three adjacent PCB&#39;s A to C inclusive are respectively a master PCB, a slave PCB and a video PCB. The video PCB in turn drives a known VGA printed circuit board D sold by Tseng Labs which can provide 800×600 resolution in 256 colours. This PC board D is directly connected to the video display screen 10. 
     Within the analogue module 6 are located the following system resources: 
     1 FOUR isolated (optional) analog i/p channels. Each channel has programmable 9-120 dB gain (3 micro volts resolution @ signal to noise ratio of one), programmable anti-alias filtering and an ADC conversion of 12 bit resolution. Each channel can be AC or DC coupled with long AC coupling time constants (2 minutes) and has independent controls of AC or DC offsets which can be controlled from the runtime screens. The sampling rate can be 15 KHz per channel (depending on the project processing load) and the number of analog modules attached to the same slave processor card. The inputs are isolated to 3.5 KV continuous. 
     2 TWO analog outputs with a voltage range of ±10 Volts and a current capacity of ±100 mA. These can be used for strain gauge biasing (AC or DC driven), control outputs etc. 
     3 FOUR selectable high level analogue outputs, one from each of the amplifiers above. These drive digital FM tape recorders to store rarely occurring events for replay into the processor (2). 
     OR 
     FOUR selectable high level inputs to each of the amplifier channels above. The system is switched into this mode for replay of events captured in output mode on tape. 
     4 EIGHT bits of ground referenced digital input. 
     5 EIGHT bits of digital output which can be used for relay drivers or event indicators. 
     6 ONE frequency generator output (clock generator) 0-2 MHz 0.1% accuracy. 
     7 ONE event counter/frequency counter. Input 0.1 Hz-8 MHz. 
     8 ONE 5 Volt reference 100 mA ±5%. (For strain gauges etc.) 
     9 ONE sample clock output reference line for synchronising sampling between multiple scientific instrument emulators of the preferred embodiment. 
     10 ONE sample clock input reference line for synchronising sampling from a &#34;master&#34; scientific instrument emulator (for use with &#34;slave&#34; emulators), and 
     11 FIVE ground wires. 
     The analogue module 6 and PC boards 9 are each interconnected by means of different subsidiary buses 11, 12, 13 and 14 respectively. 
     As seen in FIG. 2, the analogue module 6 of FIG. 1 is provided with four analogue input/output connectors 20, four analogue inputs 21, two analogue outputs 22, a frequency output counter input 23, a clock output 24, an 8 bit digital input 25, an 8 bit digital output 26, a five volt reference voltage 27 and a slave synchronizing output 28. 
     Each of the analogue inputs 21 is connected via a front end amplifier 31 to an isolator 32, the output of which is connected to a relay 33. The relay 33 is also connected to the analogue input/output connectors 20 and to an amplifier 34 which has programmable gain, AC/DC coupling, provision for an AC corner and DC offset. The output of the amplifier 34 is in turn passed to a sample and hold circuit 35 the output of which is received by an analogue multiplexer 36. The output of the multiplexer 36 is passed via an A/D converter 37 to the subsidiary bus 11 which connects the analogue modules 6 and the PC board 9B. 
     The operation of the amplifiers 34 and the sample and hold circuits 35 is controlled by a digital controller, address decoder and A/D-D/A sequencer 39 which receives both data from the bus 11 and also sample clock and sequencer clock signals. The controller/decoder/sequencer 39 also outputs via D/A converters 40 to the analogue outputs 22 via an output amplifier 41. 
     The frequency counter input 23 and clock output 24 respectively directly communicate with a counter 42 which again communicates directly with the subsidiary bus 11. 
     Each of the digital inputs 25, digital outputs 26, reference voltage 27 and slave synchronizing output 28 is connected to a digital input/output circuit 43 which is in turn directly connected to the subsidiary bus 11. 
     The timing arrangements of the circuit illustrated in FIG. 2 are divided into two sequences. The first sequence concerns the digital input and output. When required by the program, this digital input and output is effected by individual commands from a substantially conventional data acquisition controller which forms part of the slave processor on PCB 9B (FIG. 1 and FIG. 4). 
     The second sequence is the flow of digital data converted from the analogue inputs, or to be converted to provide the analog outputs. This digital data is received and despatched under the control of the controller/decoder/sequencer 39 which can be preset to operate the required number of incoming and outgoing analogue channels. The controller/decoder/sequencer 39 performs one complete cycle of inputting and outputting, or sequence, every sample period and does so with minimal processor involvement, thus increasing the speed of operation of the data acquisition controller referred to above on the slave processor of PCB 9B. 
     Other functions of the circuit of FIG. 2, such as the frequency to be output as the clock output 24, the &#34;range&#34; of the frequency to be counted by the frequency counter input 23, and any synchronisation signal required for the slave synchronising signal 28, are set up at the start of the execution of the graphical compiler program by appropriately specifying the corresponding icon. 
     FIG. 3 illustrates in detail the nature of the relay 33 which can be switched between two positions. In the position shown, the input from the analogue input/output 20 is passed to the amplifier 34, thereby isolating the analogue inputs 21. In the alternative position, the input from the analogue inputs 21 is passed to the amplifier 34 but is also made available as an output at the analogue input/output 20. 
     FIG. 4 is a pictorial representation of the processor architecture and includes a memory map. The host computer 2 with its associated memory 3 is connected to the video PCB 9C which is in turn connected to the slave PCB 9B. 
     As indicated in FIG. 4, up to 8 analogue modules 6 are able to be connected to each PCB 9B and up to four slave PCB&#39;s 9B can be added. 
     The memory map is essentially three dimensional with the memory 3 of the host computer 2 overlying, and thereby being accessible to, the other memory utilizing portions of the circuit. 
     A block diagram of the video PCB 9C is illustrated in FIG. 5. In this diagram the interconnections between the conventional video graphics adaptor (VGA) of the host computer are made via the conventional VGA connector 50. The connections between the host computer 2 and the video PCB 9C are via bus 4. Similarly the connections between the video PCB 9C and each of the slave PCB&#39;s 9B is via bus 13 as previously indicated in FIG. 1. 
     Data received from either bus 4 and/or 13 is passed via a dual port logic circuit 51 to a first in first out (FIFO) buffer 52. The FIFO 52 outputs to a logic array circuit 53 which has three separate random access memories, horizontal RAM 54, vertical RAM 55 and a static RAM 56. 
     The output of the logic array 53 is passed via comparator 57 to a video generator 58 and thence to the VGA connector 50. In addition, the logic array 53 also receives three signals from the VGA connector in the form of horizontal synchronizing pulses, vertical synchronizing pulses and a dot clock. 
     Essentially the logic array 53 takes the data supplied via buses 4 and/or 13 and calculates pixels to replace the individual pixels generated by the video graphics adaptor (VGA) 12 and complies with multimedia standards for communication of the video image on bus 14. 
     The memory 3 (FIGS. 1 and 4) has a library of instrumentation units. Each of these is represented by an icon and FIG. 6 provides an indication of the range of instrumentation units able to be selected from a given library. By use of a mouse In Known fashion, the operator is able to interconnect selected instrumentation units from the icon list of FIG. 6 so as to form an array of interconnected instrumentation units as illustrated in FIG. 7. During the course of the creation of the array of FIG. 7, under software control the machine checks that the array does not have any unconnected inputs, logically unacceptable connections, and like defects. Any detected defect is indicated. 
     Once the array has been interconnected to the satisfaction both of the operator and the set-up program used during this phase, a compiler program is then run which compiles from the graphical representation of the array the executable object code which executes the overall signal processing function for the entire array. As a consequence, when, in real time, the input signal is applied to the array, the incoming signal(s) is/are manipulated and the one or more outputs of the array are indicated in real time on the video windows able to be displayed on the screen 10, stored to disc, and so on. 
     Essential to an understanding of the way in which the compiler program operates is an appreciation that each icon is itself a mini array which can be built up from very fundamental steps which are themselves easily executed by the program. For example, If the basic steps are taken to be addition and subtraction, then multiplication can be regarded as repeated addition, and division can be regarded as repeated subtraction. With this background in mind, it can be appreciated that a ramp voltage generator can be created from a zero initial level by the successive additions of very small increments until a predetermined level is reached. Then that level is itself subtracted so as to re-create the zero starting point. Then the small additions are again made, and so on. 
     A consideration of the various icons represented in FIG. 3 will also lead to the appreciation that the icon is itself essentially a graphical form of any desired shape designed to convey a representation of a specific mathematical or signal processing function which is both seen by the user and Identically understood by the graphical compiler program. The shape contains at least one input node and/or at least one output node these being respectively the entry and exit points for data streams. For example, an adder having input nodes A and B and output node C is compiled to give the program C=A+B. Those icon elements having only one or more output nodes are termed source icon elements (e.g. a voltage generator) whilst those icons having only one or more input nodes are termed a destination icon (e.g. a display window). 
     Interconnecting any output node and terminating at an input node a connecting path termed a data stream. The data stream carries the data type associated with the output node and, as a consequence, the input node at which terminates must be of the same data type. This provides an additional rule inherent within the compiler program. Since the interconnections between nodes represent data streams, rather than physical wiring, it is permissable for the interconnections between icons to cross over other interconnections or even other icons without ill effect. This is because the data stream has an output node and an input node and is unconcerned with any intermediate location. The co-ordinates of the source and destination nodes on an arbitary co-ordinate system are used to create the software &#34;pointers&#34; to source and destination data buffers for the execution of the signal processing functions on the data &#34;pointed&#34; to. 
     Also included with an icon is an icon specification where the icon itself is insufficient to describe the entire function of the icon. For example, an amplifier has a function, output=G×input, where G is the gain of the amplifier. However, in order to enable the gain to be specified by the user, the gain is able to be input as a predetermined parameter by means of the icon specification. 
     It will be seen that using the above methodology, a library of prepared icons each with its own program to carry out the mathematical/signal processing function of the icon can be prepared. Furthermore, the same methodology is again applied once it is desired compile a program to carry out the mathematical/signal processing functions of an array formed from inter-connected icons. To take a simple example of an array, consider an array having two inputs A and B and an output C, the array consisting of an adder having inputs A and B, the output of the adder being connected to an amplifier having a gain G with the output of the amplifier constituting the output of the array. The mathematical/signal processing function is C=G×(A+B). The graphic compiler of the preferred embodiment creates machine code in the same way as would a FORTRAN compiler when it was presented with substantially the same statement but present in source code written in the FORTRAN language. 
     Appendix I constitutes a program fragment of code which permits the user to decide what the icon specification will be for the given icon. The &#34;pop-up&#34; window portion of the display into which the user inputs the numerical value(s) to be specified is termed a &#34;sheet&#34;. 
     Similarly the program fragment of Appendix II is an example of the programming used in compiling an icon. The code used in compiling an array is analogous. 
     Appendix III is a code fragment which is an example of the digital signal processing (DSP) implementation code. This code enables digital signals which replicate the output of actual electronic devices (as represented by an icon or array) to be created. 
     Finally, Appendix IV is a code fragment of the timing or sequencing used in the digital signal processing. This ensures the timely completion of the calculations in the time between successive samples. 
     The operation in &#34;real time&#34; is assisted by the way in which analogue input signals are acquired. The permissable ±10 V input range is represented by a 12 bit number and the analogue input signal is sampled at a sampling frequency of from 1 to 60,000 points or samples per second. The exact sampling frequency is specified or selectable by the user. As a consequence of this sampling regime, all the programming steps required to emulate the particular function of an icon or an array are required to be completed, and thus create an output, in the time available between sampling points. In this way, the output for a given sampling point is calculated and hence created, prior to the receipt of the information for the next sampling point. This procedure enables real time operation with the proviso that if the calculation time exceeds the sampling period then either additional computer resources in the form of extra processor and/or memory must be provided to reduce the calculation time, or the sampling frequency must be reduced, thereby increasing the time for calculation. The increasing processing power of modern computers means that, in practice, any limitation to the sampling frequency is not of practical concern. 
     It will also be appreciated in connection with the above that the calculation to be performed by the computer can include feedback of an output at one sample time which then constitutes an the input for a subsequent calculation at the next sample time. The subsequent calculation must, however, be completed within the sampling period. 
     FIG. 8 illustrates two relatively simple arrays. The input and output waveforms to, and from, those arrays are respectively illustrated in FIG. 9. it will be seen that the input and output of the first array comprises an analogue voltage from an ECG. For the other array, the four outputs comprise the output of the voltage controlled oscillator, and that output when respectively passed through a low pass filter, a high pass filter and a band pass filter. Note that since the arrays are not in any way related, although all the waveforms can be simultaneously generated and/or displayed, it is not necessary for the results to be linked in any way. 
     Turning now to FIG. 10, this drawing illustrates the array able to be first drawn and then compiled to emulate a linear interpolation circuit. A constant voltage source 45 is applied as an input to three voltage controlled oscillators 46-48 which respectively have a sine-wave output, a square-wave output and a ramp output. The output of the sine-wave is set at 3 Hz whilst the output of the other two generators 47 and 48 is set at the sampling frequency of 20 Hz. The output of the sine-wave oscillator 46 is used to trigger each of three displays 50-52. The output of the square-wave oscillator 47 is used to trigger two sample and hold circuits 53, 54 which are separated by a time delay circuit 55 having a delay which is approximately equal to the period of the sampling. This ensures that the outputs of the two sample and hold circuits 53, 54 represent the results of successive samples. 
     A further voltage reference 56 is set at one volt and comprises one input to a subtractor 57. The linear interpolation is carried out by the two multipliers 58, 59 and the adder 60. The multipliers multiply the ramp gradient by the correct proportion determined by the amplitude differences of successive samples held in circuits 53, 54. 
     The &#34;input&#34; sine-wave at 3 Hz which constitutes the screen display 50 is illustrated in FIG. 11 as is the sampled sine-wave which constitutes the display 51. The linear interpolation created from the sampled sine-wave constitutes the display 52 and is also illustrated in FIG. 11. 
     FIG. 12 illustrates an array which constitutes a phase locked loop. Again, a voltage reference 61 constitutes the input of a voltage controlled sine-wave oscillator 62, the reference voltage of 61 being set so as to set the frequency produced by the oscillator 62 at 51Hz. The output of the oscillators 62 is used to trigger a pulse circuit 63. The output of the pulse circuit in turn triggers three displays 64-66 and constitutes the display signal for display 64. 
     In addition, the output of the pulse circuit 63 is used to trigger a sample and hold circuit 67 which has an input formed from the output of a voltage controlled sine-wave oscillator 68 which is set to have a centre frequency of 50 Hz. The input to the voltage control oscillator 68 constitutes the output of the sample and hold circuit 67 which essentially represents the phase difference between the signals from the oscillators 68 and pulse circuit 63. This error signal is displayed by display 66, the output of the voltage control oscillator 68 being displayed by display 65. The three displays 64, 65 and 66 of FIG. 12 are respectively illustrated in FIG. 13. 
     An array to solve a second order differential equation is illustrated in FIG. 14. Here three feedback loops FB1-FB3 are provided. In order to set the initial conditions, a voltage reference 70 set to one volt is used to provide an input to a sample and hold circuit 71 and the inverting input of a comparator 72. The output of the sample and hold circuit 71 is fed back to the comparator 72 and also to one of two multipliers 73, 74. The output of the multipliers 73, 74 are added together in adder 75 and multiplied by the gain of amplifier 76 before being integrated by the first of two integrators 77, 78. A further amplifier 79 and multiplier 80 complete the circuit. The outputs of each of the integrators 77 and 78 form the waveforms displayed by two displays 81 and 82 which are both triggered by the output of the first integrator 77. 
     The results are illustrated on FIG. 15 and show both the initial solution corresponding to the initial conditions, and that the output constituting the solution of the differential equation runs indefinitely without apparent losses or gains within the limitation of quantizing errors. In an actual electronic circuit realisation to give effect to the solution of the second order differential equation, the use of real capacitors with losses, for example, would result in the progressive decay or growth of the output signal. However, with the above described arrangement because the solution is being continually calculated, there is no apparent decay, nor any unstable growth leading to saturation. This represents a substantial improvement over the prior art analogue computers. 
     FIG. 16 is an example of a more complex array able to be compiled in accordance with the preferred embodiment of the present invention. It will be seen from FIG. 16 that four Fast Fourier Transforms, six different signal generators, numeric displays, bar charts, four reference voltages, four 40 dB/decade filters, one &#34;area under the curve&#34; calculator and numerous comparators, multipliers, and the like are all provided. 
     Because the results, such as the waveforms illustrated in FIG. 6, are stored in memory, the user is able to replay these stored real time results. Furthermore, various portions of the results are able to be extracted for any specific: purpose and even fed back into the apparatus using a &#34;from disc&#34; icon. This allows the signal processing to be adapted so that a desired feature of the input signal will be detected. Also the stored result can be continually replayed in real time, or faster or slower, as desired. Similarly, initial conditions can be established by using the previously stored result of a first array, as the initial input condition for a second array. 
     Furthermore, because the results are stored, the stored data is able to be edited and exported to spreadsheets, graphics or statistics utility programs such as EXCEL, LOTUS 123, and the like. This enables the graphical results of experiments to be combined with text describing the nature of the experiments and the nature of the conclusions. 
     The windows such as those indicated in FIG. 8, for example, are also compatible with multi media standards for the IBM PC. The specification for the window icon can be set up to be &#34;PAL&#34; which receives a conventional signal from a video camera, convert and then displays the video signal on the screen. If desired, this video signal can be frame grabbed to pixel video data which is able to be stored in the computer memory. If desired the conventional video camera signal can also be stored on a VCR at the same time. This stored video data can be replayed in the same manner as any other waveform captured by the apparatus. In this way, video picture correlation with other signal waveforms can be achieved. The time stamp placed on the conventional VCR video tape is, in this embodiment, synchronised with the signal data captured by the apparatus and stored therein. This arrangement is particularly advantageous since it enables the electrical results to be clearly identified with the optical record of the events which created the results. 
     The provision of icon specification means that the apparatus is particularly adaptive. For example, an array can be formed with a view to carrying out an analysis of, for example, the electrical voltages produced by the human heart. If as a result of the analysis of the results of these experiments, it is thought that a particular drug may produce some beneficial effect, then the array itself need not be changed in order to permit the same measurement to be carried out on a rat to which the drug has been administered. All that is required to be changed is the specification of those icons which are used, for example, as a reference. For example, the actual voltage level and the frequency can be adjusted in order to account for the different electrical outputs (e.g. voltage levels and different pulse rates) between humans and rats. 
     Furthermore, the ability to create arrays at will means that the apparatus is able to measure the association or independence between signals and so add a further dimension to the results able to be achieved. For example, a heart rate can be correlated with, or multiplied by, a respiration rate of a patient to give a third signal which can be regarded as a signature signal representing a result of significance to the user. Many such signals, even of mixed units, can be associated in this manner, if necessary scaled appropriately, and then compared against past data stored in memory. 
     It will be apparent to those skilled in the art, that the above described system has integrated all functions that are required for an analog workstation. Hitherto, there has not been a completely integrated system. Instead a plethora of partial functions existed. 
     In particular the following features are component parts of the integrated whole of the scientific emulator of the preferred embodiment. 
     1 A multiple purpose/multifunction analog module which inputs/outputs digital and analog signals and other functions. 
     2 A &#34;real time&#34; video, both in PAL or picture form at the same time and waveform displays in up to 40 windows on one screen are available. The oscilloscopic displays (one kind of display methodology) are able to display sample rates of the order of 25 KHz or better. 
     3 Signal processing is not controlled by a prose style (von Neuman) sequentially syntactic &#34;line language&#34; but by a simply understood and readily used parallel graphic compiler which is able to be used by non programmers. 
     4 Waveforms and graphic arrays in pictorial form are readily transported to existing PC tools such as wordprocessors, spreadsheets and &#34;offline&#34; analysis software for report generation/records etc. 
     5 Non volatile storage can be accessed in such a way as to be able to &#34;source&#34; data that is to be fed back into an array for other results. Also correlating a waveform template, stored on disc, against any incoming waveform to achieve shape detection is available. (Template matching). 
     6 Network comparability. The system is able to have list various functions distributed over a network. That is, storage can be performed at the PC in an office, or waveform data can be sourced on one PC to be displayed on another. Also the program and data can be transported over the network to another similar scientific instrument emulator for analysis. The data and program are linked and are &#34;bundled&#34; for network transmission. 
     In its preferred form, the system takes the form of a signal processing device comprising proprietary hardware and software which is contained in an IBM PC with data acquisition amplifiers positioned in floppy disk nacelles and processor PCBs and real time video cards fitted onto the PC system bus. The device in one configuration contains an extra 2 ordinary General purpose processors and a further 2 signal processors. These combined processors are programmed by the use of a graphical compiler on the VGA screen in such a way that the PC host (operating at say three million instructions per second) views the resident device subsystem (operating say at fifteen million instructions per second) as an extension of its memory. All the other processors also see each other as extensions of their own memory. In this way the multitasking software can manage multiple processors with each task on the various processors communicating with the other task(s) and/or processor(s) by passing pointers to shared memory. Thus no special communications hardware or software is required. The graphical compiler which compiles executable object code for the installed subsystem, allows the rigorous use of mathematics which is processed so fast as to simulate real time with all necessary processing performed during a single sample time. 
     In addition to the functional adequacy of the programming system of the graphic complier, the programming system using icons is constructed in such a way that compiled icons can themselves be composed of simple icons. This allows mathematical construction to be applied to two types of data streams involved with the processing. One of these types of data streams is the &#34;acquired data stream&#34; from the analogue to digital inter-conversion process and the other type is a &#34;trigger stream&#34;. A trigger stream is some signal acquired from this inter-conversion and with which other signals which are desired to be displayed in time relationship, or is created by a timebase established in the array. Most often the trigger stream is created by a processing function wherein processing on one or many channels creates a signal which is intended to trigger displays, trigger processing such as averaging, or trigger storage. In general it is the complex trigger capability of the system, simply represented by the graphical compiler, which allows the accumulation of parameters which characterise various waveforms or epochs of waveforms. This allows their selection by experts to establish an &#34;example set&#34;. 
     INDUSTRIAL APPLICATION 
     The cost effectiveness of the apparatus of the preferred embodiment can be considered from the following. The apparatus can function as any one of the following devices, or any combination of the following devices (or multiples thereof) arranged together into an array. 
     
         ______________________________________DEVICE                     COST A$______________________________________1   4 Channel Chart Recorder (500 Hz/channel)                          10,0002   FFT analyser (1 Hz-20 KHz, max 512 points,                          13,000    200 analyses sec.)3   Frequency Counter (0.01% accuracy,                          1,000    0.01 Hz-10 MHz)4   Function Generator (Sine, square, ramp, and                          5,000    triangle waveforms, 0.01 Hz-2 MHz)5   Data Logger (PC based)     4,0006   Energy Monitor (Volts × Current, isolated                          4,000    inputs)7   2 Channel Transient Recorder                          3,5008   Electrophysiological Monitor                          20,000    (ECG, EEG, EMG, ERP)______________________________________ 
    
     The above items of equipment constitute a cost of approximately A$60,500, however, the retail price of a scientific instrument emulator in accordance with the preferred embodiment and able to emulate the above functions is in the vicinity of A$15,000 (assuming the user has an appropriate personal computer to both receive the necessary hardware and run the necessary software). 
     Furthermore, the large number of parallel inputs in the integrated system is well suited to the study and analysis of parallel systems such as ecosystems, biosystems, machine systems, etc. 
     The foregoing describes only one embodiment of the present invention and modifications, obvious to those skilled in the art, can be made thereto without departing from the scope of the present invention. ##SPC1##