LabVIEW APIs Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Open Python Interface

Due to unforseen issues the OPI will not be available, until further notice.

 

Until it comes back I recommend watching this YT video on Python and LV communication, which might help in your case https://www.youtube.com/watch?v=1SBZIAjQeGI

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Comments
Active Participant PrimaryKey
Active Participant

Feel free to comment, suggest improvements and report issues. Thanks!

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member Yogesh.Sinare
Member

Hello PrimaryKey,

Would we require python compiler installed on the system to use this toolkit? 

Active Participant PrimaryKey
Active Participant

Hejka Yogesh, that is correct. The toolkit requires you to have the python compiler. It works best if its registered with the system symbols. If its not you need to point to it when obtaining the reference with the API.

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member nikodem
Member

Are you planning to release it for older versions of LabVIEW (lke e.g. 2014)? Is there any stopping factor why it can't be done?

Member Mike_King
Member

Looks like a great toolkit, thanks for building it.  I hope to need it sometime for some python integration, could have used it in the past.

Active Participant PrimaryKey
Active Participant

The only reason is not released for previous versions of LV is that I didnt test it yet on previous versions. It should however work, once saved for previous. I will save it for previous versions soon.

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Active Participant PrimaryKey
Active Participant

Hejka All, I compiled and tested the tool for LV2012 and later. Should be even easier to use in most current LV versions.

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member nikodem
Member

Dzięki/Thanks.

 

I'll try to test is as soon as possible, as this was a kind of tool that I was searching for a long time (I am aware that there was something similar available, but it was not freeware).

Member promisekeeper
Member

I encountered a problem about interpreter..what should i do?interpreter.png

Active Participant PrimaryKey
Active Participant

You should configure your interpreter Smiley Very Happy There is a button to do it there. Google it

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member promisekeeper
Member

Thanks .. but theres another problem..Please help me to fix this.Thanks1.png

Member promisekeeper
Member

also the TCP multiple connection vi dont run due to the problems stated on the printscreen below ..what should I do?thanks for the reply2.png3.png

Member promisekeeper
Member

.ctl is missing..how to solve this problem?Untitled.png

Active Participant PrimaryKey
Active Participant

Right click on the places where the enum is used in code and select "Disconnect from type definition". The connection from python should be attempted when an actual server is up. The error in not handled in code.

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member promisekeeper
Member

i cant find where to select Disconnect from type definition..Sorry im a beginner in python programming?..and for the labview problem about .ctl, what should i do?thanks for the reply.a.png

Active Participant PrimaryKey
Active Participant

This comment section is not a good place for debugging like this. Please ask your questions on a normal forum and keep this comment section for comments only.

 

LabVIEW forum: http://forums.ni.com/t5/LabVIEW/bd-p/170

Python Forum: http://stackoverflow.com/documentation/python/topics

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member promisekeeper
Member
Member promisekeeper
Member

okay sir im sorry ..can you help me?

Active Participant PrimaryKey
Active Participant

Hejka Promisekeeper, i have posted a reply on the forum with LV code that you should try, please let me know there if it helps.

Best regards, Piotr

Certified TestStand Architect
Certified LabVIEW Architect
Member TUDarmstadtLLX
Member

Hi,

 

is there a way to run python function in LabVIEW?

 

Best regard

Contributors