PPPL-3681 is available in pdf format (334 KB).

Integration of Microsoft Windows Applications with MDSplus Data Acquisition on the National Spherical Torus Experiment at the Princeton Plasma Physics Laboratory

Author: Dana M. Mastrovito

Date of PPPL Report: March 2002

Presented at: the 7th IAEA TCM on Control Data in Padova, Italy, July 16-20, 2001; submitted to Fusion Engineering and Design.

Data acquisition on the National Spherical Torus Experiment (NSTX) at the Princeton Plasma Physics Laboratory (PPPL) has increasingly involved the use of Personal Computers (PC's) and specially developed 'turn-key' hardware and software systems to control diagnostics. Interaction with these proprietary software packages is accomplished through use of Visual Basic, or Visual C++ and COM (Component Object Model) technology. COM is a software architecture that allows the components made by different software vendors to be combined into a variety of applications. This technology is particularly well suited to these systems because of its programming language independence, standards for function calling between components, and ability to transparently reference remote processes. COM objects make possible the creation of acquisition software that can control the experimental parameters of both the hardware and software. Synchronization of these applications for diagnostics, such as CCD cameras and residual gas analyzers, with the rest of the experiment event cycle at PPPL has been made possible by utilization of the MDSplus libraries for Windows. Instead of transferring large data files to remote disk space, Windows MDSplus events and I/O functions allow us to put raw data into MDSplus directly from IDL for Windows and Visual Basic. The combination of COM technology and the MDSplus libraries for Windows provide the tools for many new possibilities in versatile acquisition applications and future diagnostics.