摘要 |
System and method for controlling a custom modular measurement system. An editor may receive user input specifying one or more system definitions, each mapping message based commands, parameters, variables and/or metadata (“information”) accordant with a control protocol for standalone instruments to functions and data in a programming language, and generates the definitions accordingly, each being useable by a client application to interface with a custom modular measurement system that includes multiple logical instruments via the message based information. At least one of the definitions may be deployed onto the measurement system. A run-time engine of the measurement system may accept a message based command from the application, and call a corresponding function, which may invoke operation of at least one of the logical instruments. The logical instruments may be operated concurrently, including sharing use of a single physical measurement device by at least two of the logical instruments. |
主权项 |
1. A method for controlling a custom modular measurement system, comprising:
receiving, by an editor, user input specifying one or more system definitions, wherein each system definition maps message based commands, parameters, variables and/or metadata accordant with a control protocol for standalone instruments to functions and data in a programming language; generating, by the editor, the one or more system definitions based on the user input, wherein each system definition is useable by a client application to interface with a custom modular measurement system that includes multiple logical instruments via the message based commands, parameters, variables, and/or metadata; deploying at least one of the system definitions onto the custom modular measurement system; accepting, by a run-time engine of the custom modular measurement system, a message based command from the client application; calling, by the run-time engine, a function that corresponds to the message based command, based on the at least one of the one or more system definitions; and performing, by the run-time engine, said accepting and said calling a plurality of times, wherein at least one called function invokes operation of at least one of the logical instruments. |