Claims
- 1. For use with a computer system having a dynamic data referencing (DDR) module, a plurality of external data references accessible via said DDR module, said computer system capable of executing a user application that operates on a plurality of generic variables, a system that dynamically binds said external data references to said generic variables, comprising:
- a DDR interface routine within said user application that allows creation of an alias variable for at least some of said plurality of generic variables, said alias variable adapted to identify a given external data reference, said user application employing said alias variable at runtime to request said DDR module to bind a given generic variable to said given external data reference to allow communication of data between said user application and said external references, an external data statement being used to associate at least one of said generic variables of said user application with at least one of said external references and a selection set.
- 2. The system as recited in claim 1 wherein said DDR routine further allows creation of a data variable, said data variable adapted to contain a value of a given external data reference.
- 3. The system as recited in claim 1 wherein said DDR routine further allows creation of an external reference status variable, said external reference status variable adapted to contain a status of a binding between said given generic variable and said given external data reference.
- 4. The system as recited in claim 1 wherein said DDR routine stores runtime-determined bindings for reuse.
- 5. The system as recited in claim 1 wherein said DDR routine stores an indication of current runtime-determined bindings in effect for said user application.
- 6. The system as recited in claim 1 wherein said DDR routine is associated with a plurality of separate user applications executing on said computer system.
- 7. The system as recited in claim 1 wherein said alias variable is set to a null value.
- 8. The system as recited in claim 7 wherein use of said null value indicates that said alias variable is available.
- 9. The system as recited in claim 1 wherein said computer system is a portion of a real-time, process control system, said external data references corresponding to sensors and controllable devices of said process control system.
- 10. For use with a computer system having a dynamic data referencing (DDR) module, a plurality of external data references accessible via said DDR module, said computer system capable of executing a user application that operates on a plurality of generic variables, a method of operating said computer system to dynamically bind said external data references to said generic variables, comprising the steps of:
- creating an alias variable for at least some of said plurality of generic variables with a DDR interface routine within said user application, said alias variable adapted to identify a given external data reference;
- employing said alias variable at runtime to request said DDR module to bind a given generic variable to said given external data reference to allow communication of data between said user application and said external references; and
- employing an external data statement to associate at least one of said generic variables of said user application with at least one of said external references and a selection set.
- 11. The method as recited in claim 10 further comprising the step of creating a data variable, said data variable adapted to contain a value of a given external data reference.
- 12. The method as recited in claim 10 further comprising the step of creating an external reference status variable, said external reference status variable adapted to contain a status of a binding between said given generic variable and said given external data reference.
- 13. The method as recited in claim 10 further comprising the step of storing runtime-determined bindings for reuse with said DDR routine.
- 14. The method as recited in claim 10 further comprising the step of storing an indication of current runtime-determined bindings in effect for said user application with said DDR routine.
- 15. The method as recited in claim 10 wherein said DDR routine is associated with a plurality of separate user applications executing on said computer system.
- 16. The method as recited in claim 10 further comprising the step of setting said alias variable to a null value.
- 17. The method as recited in claim 16 further comprising the step of indicating that said alias variable is available as a function of said null value.
- 18. The method as recited in claim 10 wherein said computer system is a portion of a real-time, process control system, said external data references corresponding to sensors and controllable devices of said process control system.
- 19. A real-time, process control system, comprising:
- a computer system capable of executing a user application that operates on a plurality of generic variables;
- a plurality of sensors and controllable devices coupled to said computer system via a data bus, each of said plurality of sensors and controllable devices having a corresponding external data reference associated therewith;
- a dynamic data referencing (DDR) module associated with said computer system, said DDR module allowing access by said computer system to said external data references; and
- a DDR interface routine within said user application that allows creation of an alias variable for at least some of said plurality of generic variables, said alias variable adapted to identify to a given external data reference, said user application employing said alias variable at runtime to request said DDR module to bind a given generic variable to said given external data reference to allow communication of data between said user application and said external references, an external data statement being used to associate at least one of said generic variables of said user application with at least one of said external references and a selection set.
- 20. The system as recited in claim 19 wherein said DDR routine further allows creation of a data variable, said data variable adapted to contain a value of a given external data reference.
- 21. The system as recited in claim 19 wherein said DDR routine further allows creation of an external reference status variable, said external reference status variable adapted to contain a status of a binding between said given generic variable and said given external data reference.
- 22. The system as recited in claim 19 wherein said DDR routine stores runtime-determined bindings for reuse.
- 23. The system as recited in claim 19 wherein said DDR routine stores an indication of current runtime-determined bindings in effect for said user application.
- 24. The system as recited in claim 19 wherein said DDR routine is associated with a plurality of separate user applications executing on said computer system.
- 25. The system as recited in claim 19 wherein said alias variable is set to a null value.
- 26. The system as recited in claim 25 wherein said null value is used to indicate that said alias variable is available.
CROSS-REFERENCE TO RELATED APPLICATIONS
The present invention is related to that disclosed in U.S. Pat. No. 4,607,256 issued to Henzel, on Aug. 19, 1986, entitled "Plant Management System;" and U.S. Pat. No. 5,333,298 issued to Bland, et al., on Jul. 26, 1994, entitled "System for Making Data Available to an Outside Software Package by Utilizing a Data File which Contains Source and Destination Information," each reference is commonly assigned with the present invention and incorporated herein by reference for all purposes.
US Referenced Citations (9)