Title :
Adding VBScript support to measurement applications by Visual C++
Author :
Lingsong, HE ; Zhenhua, Yang
Author_Institution :
Sch. of Mech. Eng., Huazhong Univ. of Sci. & Technol., Wuhan, China
Abstract :
The script language is a commonly used method to enhance flexibilities of a measurement application. This paper introduces four key procedures in adding a VBScript support to the measurement application that is developed by Visual C++. First, it introduces the main points of how to add a VBScript engine to the measurement application of Visual C++. Second, it shows the way of how to design a user-defined VBScript function by Visual C++. Third, it presents a method of how to pass an array to and from the user-defined function. Fourth, it talks the problem of how to exchange data between VBScript and the measurement application. At last of the paper, an example is given to show how to use the VBScript technique in the measurement application to enhance its function and to make it a programmable measurement platform.
Keywords :
C++ language; authoring languages; virtual instrumentation; VBScript support; Visual C++; measurement application flexibility enhancement; programmable measurement platform; script language; user defined function; Design methodology; Digital filters; Engines; Fast Fourier transforms; Helium; Instruments; Measurement standards; Mechanical engineering; Mechanical variables measurement; Visual BASIC; VBScript language; Visual C++; measurement application;
Conference_Titel :
Electronic Measurement & Instruments, 2009. ICEMI '09. 9th International Conference on
Conference_Location :
Beijing
Print_ISBN :
978-1-4244-3863-1
Electronic_ISBN :
978-1-4244-3864-8
DOI :
10.1109/ICEMI.2009.5274123