VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Ni VeriStand Python

Solved!
Go to solution

Hey Marcelo, I am still having a little issue maybe you can take a look at the screenshot of my command prompt and tell me where I may have went wrong? 

 

Thanks

Download All
0 Kudos
Message 11 of 18
(1,942 Views)
Solution
Accepted by topic author sgray90

Hey sgray90,

 

It appears you have a space between the dashes and upgrade, so it is not seeing upgrade as a flag in pip. I saw the same error when adding the space. Try running "python -m pip install --upgrade niveristand" without the space between "--" and "upgrade".

 

Andy

Product Support Engineer

0 Kudos
Message 12 of 18
(1,940 Views)

Hey Andy,

 

I am still getting the same error message once I made those changes

0 Kudos
Message 13 of 18
(1,931 Views)

UPDATE!!! I figured out the solution it was a minor typo but I will keep you posted to let you know if I can run a script! Thanks again Andy

0 Kudos
Message 14 of 18
(1,926 Views)

Good afternoon Andy, 

After we updated the NI VeriStand python integration packages our NI MAX GUI runs very slowly do you know why that would be possible? 


@tic.not.tock wrote:

Hey sgray90,

 

It appears you have a space between the dashes and upgrade, so it is not seeing upgrade as a flag in pip. I saw the same error when adding the space. Try running "python -m pip install --upgrade niveristand" without the space between "--" and "upgrade".

 

Andy

Product Support Engineer


 

0 Kudos
Message 15 of 18
(1,910 Views)

Hi sgray90 

 

I would recommend starting by taking a look at the steps in this document as an initial troubleshooting point: 

 

Database Connection Error in Measurement & Automation Explorer (NI MAX) 

Message 16 of 18
(1,907 Views)

UPDATES!!!! Recently, I have been able to fix the previous error. But now I am having issues with running the Python script for the engine demo in the command prompt.  I am receiving an error saying cannot find engine power channel. How can I fix this issue? 

0 Kudos
Message 17 of 18
(1,858 Views)

Hey sgray90,

 

Do you have the Engine Demo deployed to localhost? This is the first error you would receive when running the Engine Demo example script without the System Definition deployed.

 

I was able to reproduce your error without the System Definition deployed. Then, I deployed the System Definition, and it executed as expected.

 

I think it would be helpful to create a new forum post if have more questions with the Python API.

 

Thanks,

 

Andy

PSE

0 Kudos
Message 18 of 18
(1,851 Views)