On May 9, 2019, at 11:50 PM, Kálózi Zsolt <zsolt.kal...@eli-alps.hu> wrote:
> 
> So this continously reads out the value from the frontpanel of the .vi, that 
> is called 'power'.
> Unfortunatelly this only works if the .VI is running in the LabView IDE. 
> That is okay for the test environment but not okay in the real environment.
>  
> I will have an .EXE file that was generated from the .VI, so I need to access 
> that one. How can I do that with this library? Because simply changing the 
> path to the executable path doesn't work.
> Under 'advanced' I also tried to enable and give a name to the ActiveX 
> server, when I generate the executable, and give that name to the Dispatch, 
> but that didn't work either.

I'm trying to interpret what you've said here.  Are you saying that the 
win32com.client.Dispatch statement only connects to LabView if your executable 
is already running?  If so, then all you should have to do is use os.spawn or 
subprocess.Popen to launch the executable.
— 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to