Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.

If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Integration help!

Hello,

I am a newbie to LabView.

I am trying to use Python for machine learning, and predict future data with driven by Labview. I want to use Labview for front-end purpose.

Now, I am trying to use CSV data and integrate Python into LabView.

I have an error below.

How Can I fix that?

 

Thank you so much!

 

wzh0053auburnedu_0-1686348821860.png

wzh0053auburnedu_1-1686348860782.pngwzh0053auburnedu_2-1686348875686.png

 

 

0 Kudos
Message 1 of 4
(1,273 Views)

The error is raised from within python, so you need to validate the input.

 

Try:

def FC_(*a, **k): return((repr(a), repr(k)))

 

0 Kudos
Message 2 of 4
(1,237 Views)

Hello,

I have the same issue for both codes.

Is my connection in Labview wrong?

Thank you

 

wzh0053auburnedu_1-1686585897551.png

wzh0053auburnedu_2-1686585909618.png

 

wzh0053auburnedu_0-1686585887360.png

 

0 Kudos
Message 3 of 4
(1,180 Views)

wzh0053@auburn.edu wrote:

Hello,

I have the same issue for both codes.

Is my connection in Labview wrong?

 

 


No, it is not the same issue. Did you read the error message?

 

Your connection is correct. Let me zoom in on the issue.

 

LLindenbauer_0-1686594898018.png

LLindenbauer_1-1686594947536.png

LLindenbauer_2-1686595032882.png

 

 

 

Message 4 of 4
(1,170 Views)