Programming language translator and enabling translation of machine-centric commands for controlling instrument
First Claim
1. A computer readable medium storing a program, executable by a computer, for enabling translation of machine-centric commands in an instrument protocol to a programming language for controlling an instrument configured to use the machine-centric commands, the computer readable medium comprising:
- an identifying code segment for identifying a plurality of instrument protocol commands executable by the instrument;
a description code segment for retrieving computer readable descriptions of the plurality of instrument protocol commands from a description file;
a generating code segment for generating a plurality of methods corresponding to the plurality of instrument protocol commands based on the computer readable descriptions for translating the instrument protocol commands to the programming language, each method comprising programming language source code or compiled machine code for executing the corresponding instrument protocol command; and
a storing code segment for storing the plurality of methods in a program library associated with the instrument, the program library enabling selection of at least one method by a programming language program that controls the instrument, in order to execute the instrument protocol command corresponding to the selected method.
2 Assignments
0 Petitions
Accused Products
Abstract
A computer readable medium stores a program, executable by a computer, for enabling translation of machine-centric commands in an instrument protocol to a programming language for controlling an instrument configured to use the machine-centric commands. The computer readable medium includes an identifying code segment for identifying instrument protocol commands executable by the instrument, and a generating code segment generates methods corresponding to the instrument protocol commands, each method including programming language source code or compiled machine code for executing the corresponding instrument protocol command. A storing code segment stores the methods in a program library associated with the instrument, the program library enabling selection of at least one method by a programming language program that controls the instrument, in order to execute the instrument protocol command corresponding to the selected method.
82 Citations
20 Claims
-
1. A computer readable medium storing a program, executable by a computer, for enabling translation of machine-centric commands in an instrument protocol to a programming language for controlling an instrument configured to use the machine-centric commands, the computer readable medium comprising:
-
an identifying code segment for identifying a plurality of instrument protocol commands executable by the instrument; a description code segment for retrieving computer readable descriptions of the plurality of instrument protocol commands from a description file; a generating code segment for generating a plurality of methods corresponding to the plurality of instrument protocol commands based on the computer readable descriptions for translating the instrument protocol commands to the programming language, each method comprising programming language source code or compiled machine code for executing the corresponding instrument protocol command; and a storing code segment for storing the plurality of methods in a program library associated with the instrument, the program library enabling selection of at least one method by a programming language program that controls the instrument, in order to execute the instrument protocol command corresponding to the selected method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer program product, comprising modules embodied in a computer readable medium, for enabling translation of Standard Commands for Programmable Instrumentation (SCPI) protocol commands and queries to a programming language for controlling an instrument configured to use SCPI commands and queries, the computer program product comprising:
-
a translation module configured to receive computer readable descriptions of SCPI commands and queries identified with respect to the instrument, and to generate programming language routines for translating the SCPI commands and queries to be compatible with the programming language; and a program library module configured to store the programming language routines, wherein the programming language routines are accessible to a control program written in the programming language for controlling at least one operation of the instrument. - View Dependent Claims (10, 11, 12, 13, 14)
-
-
15. A system for controlling an instrument using Standard Commands for Programmable Instrumentation (SCPI) protocol commands and queries, the system comprising:
-
a program library configured to store a plurality of previously generated methods for translating the SCPI protocol commands to a high-level human-centric programming language, each method being associated with execution of one SCPI protocol command or query associated with the instrument and written in the high-level human-centric programming language; and a processor configured to control operation of the instrument based on a control program written in the high-level programming language, the control program retrieving one of the previously generated methods from the program library and executing the retrieved method to perform one of a SCPI command or query associated with the retrieved method. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification