Claims
- 1. A method of programmically communicating with a hardware device, comprising:
receiving test commands; interpreting the test commands via a project specific support code component written in a scripting language; providing the project specific support code component with communications capabilities to an industry standard bus via an extended scripting language tool; transmitting the test commands over the industry standard bus subsequent to the providing the project specific support code component with communications capabilities to an industry standard bus via an extended scripting language tool; and driving the hardware device based on the project specific test commands interpreted through the extended scripting language tool and transmitted over the industry standard bus.
- 2. The method of claim 1, wherein the interpreting of the test commands via a project specific support code component written in a scripting language and the providing the project specific support code component with communications capabilities to an industry standard bus via an extended scripting language tool comprise:
interpreting the test commands via a project specific support code component written in Tcl/Tk scripting language; and providing the project specific support code component with communications capabilities to an industry standard bus via an extended Tcl/Tk scripting language tool.
- 3. The method of claim 1, wherein the providing of communications capabilities to an industry standard bus via an extended scripting language tool comprises providing communications capabilities to a Mil-Std-1553 bus via an extended scripting language tool.
- 4. The method of claim 3, further comprising abstracting a Mil-Std-1553 transport and driver layer in a dynamic link library (DLL) and a Tcl/Tk software block located in the extended scripting language tool.
- 5. The method of claim 4, further comprising modifying the extended language scripting tool by adding extension DLLs thereto to support one or more additional test functions.
- 6. The method of claim 1, wherein providing the project specific support code component with communications capabilities to an industry standard bus via an extended scripting language tool comprises providing the project specific support code component with communications capabilities to an industry standard bus via a fast abstract scripting tool written in Tcl/Tk programming language.
- 7. The method of claim 1, further comprising adding an additional test function to the extended scripting language tool without necessitating recompiling of the extended scripting language tool or the project specific support code component.
- 8. A system for programmically communicating with a hardware device over an industry standard bus, comprising:
a user input for inputting test commands; a project specific support code component written in a scripting language for interpreting the test commands; an extended scripting language tool for providing communications capabilities to the industry standard bus to enable the test commands to be transmitted from the project specific support code component over the industry standard bus; and a hardware driver for driving the hardware device based on the test commands interpreted through the extended scripting language tool and transmitted from the project specific support code component over the industry standard bus.
- 9. The system of claim 8, wherein the user input is a user test script graphical user interface written in Tcl/Tk scripting language.
- 10. The system of claim 8, wherein the industry standard bus is a Mil-Std-1553 bus.
- 11. The system of claim 9, wherein:
the project specific support code component is written in the Tcl/Tk scripting language for interpreting the test commands; the extended scripting language tool is a fast abstract scripting tool written in the Tcl/Tk scripting language for providing communications capabilities from the project specific support code component to the industry standard bus to enable the test commands to be transmitted over the industry standard bus; and the hardware driver is compiled in an assembly language for driving the hardware device based on the test commands interpreted through the fast abstract scripting tool and transmitted over the industry standard bus.
- 12. The system of claim 11, wherein the fast abstract scripting tool is further for filling in test command message buffers with test command data and variables.
- 13. The system of claim 11, wherein the fast abstract scripting tool is further for enabling the project specific support code component written in the Tcl/Tk scripting language to communicate with the hardware driver compiled in the assembly language.
- 14. The system of claim 11, wherein the fast abstract scripting tool includes a DLL layer for enabling the fast abstract scripting tool to communicate with the hardware driver on behalf of the project specific support code component.
- 15. The system of claim 8, wherein the extended scripting language tool is for selectively reading the test commands from the project specific support code component on a line by line basis and for formatting the data commands in a message buffer to enable the test commands to be transmitted over the industry standard bus in a bus-specific manner.
- 16. A fast abstract scripting tool for facilitating testing of a hardware device on an industry standard bus, comprising:
a dynamic link library for abstracting a bus transport and driver layer; a reconfigurable project specific layer for calling the bus transport and driver layer abstracted in the dynamic link library to drive the hardware device in response to input test commands; and a scripting software code block for enabling the dynamic link library to provide generic support for industry standard bus standard messaging.
- 17. The fast abstract scripting tool of claim 16, wherein the reconfigurable project specific layer is the only component modified each time a new hardware device type is to be tested.
STATEMENT OF GOVERNMENT INTEREST
[0001] The U.S. government has certain rights in this invention.