LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Running Labview through Python error: -2146959355 Server execution failed

I'm running LV vi's through python. In one pc I'm getting an error: -2146959355 Server execution failed.
The error occurs at the 2nd line of code:

import win32com.client # Python ActiveX Client
LabVIEW = win32com.client.Dispatch("Labview.Application")

When running the Python script, LabVIEW opens but not the vi itself.
I read a few posts here dealing with this error but none of them related to Python and did not help me.

I have set the vi Preferred Execution System to user interface and LabVIEW runs as admin.
The code runs perfectly on other machines.
Thanks

0 Kudos
Message 1 of 1
(2,374 Views)