I tried to access my VI via ActiveX from C++ just as in one of the tutorials but I failed. The only difference is the VI that I access. The example VI works fine ...
I created a simple VI with a Slider component and wanted to set its value from external application. What do I need to do? Now the app raises exception when trying to perform pVI->Run(0) or pVI->GetControlValue(...) for some reason
The longterm aim is to create a VI that will be controlable from a script (parsed by C++):
turnOn(button1);
wait(1000);
setValue(Slider1,25);
...