LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

System Exec not working in EXE

I use the System Exec.vi to launch the Jupyter Notebook from LabVIEW 2018. This works when I am running it as a VI, but fails when I run the same as a EXE. Any ideas why?

 

ju[yter code.png

Thanks,

Karthik M R

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

Some troubleshooting suggestions:

  • Are you sure about the working directory, and the availability of "jupyter" as a command in that directory (i.e. locally, or via system paths?)
  • Does the CMD output any information? It might be worth logging stdout, stderr and the LabVIEW error
  • Do you know if there is any LabVIEW error? Based on the image, I'm assuming you never see it because the FP is closed before the indicator can be populated, and you don't log anything to disk etc.
  • Probably adding a Write to Text File with some of this information will make it clearer to troubleshoot (assuming it isn't the first point, and you can't fix it quickly).

GCentral
0 Kudos
Message 2 of 2
(1,905 Views)