From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-04-2012 02:59 PM
So basically i have this python script that is being called in a Labview VI. The python script saves and displays a graph (whether a sine or cosine). However, when i run the script through labview, it does not save anything, and It doesn't display anything. What's wrong?
if i run the python through cmd, it actually works.
I have included the vi and the python script. the python script is in txt. labview does not accept .py.
07-04-2012 03:33 PM - edited 07-04-2012 03:35 PM
07-04-2012 08:36 PM
actually, the labview runs fine until it says that it cnoot find the file specified. This means it cannot find the saved image. Python actually runs but does not complete its script
07-04-2012 10:02 PM
Also try wiring the working directory.
07-06-2012 03:46 AM
it didn't help.. the labview still gives me the same error.
07-06-2012 03:57 PM
Have you read through this article: http://www.ni.com/white-paper/8493/en
Also, you might find this link useful: https://decibel.ni.com/content/docs/DOC-8995
It's also possible that you're running into an issue with admin rights. If you're not already running as an administrator, try right clicking on LabVIEW and select "Run as Administrator" and see if that clears up your problem.
Regards,
Brice Sorrells
Systems Engineer
National Instruments