You need to use VI server. I recommend looking in the user manual for an introduction and then the example programs. There is one particular example program that I think you would be interested in called ghost in the machine.vi . If it is too advanced, there are other examples that demonsttrate the use of VI Server in a simplier fashion.