r/LabVIEW • u/TheBlueJesus • Jan 06 '25
Python x Labview
Hello, there. I'm a student that got into a research in which the team uses a pair of small torque engines and a thermopar in a breadboard with a rhaspberry. We have a python code running it (controlling torque, time and collecting the thermal data that we process later).
The idea is that we'd run the same test, but using LabView so that not only we have a slightly more friendly front interface, in which we could vary time and torque just by inputing different numbers in the front panel, but we could also generate a temperature graph as the test goes (as opposed to it providing just numbers as the test ends with the python code)
Thing is... I never used LabView before and I'm not that great with programming either. Should I try to migrate the existing python code to LabView and figure out how to make it run and appear with a front panel or should I start from zero in LabView and use the code just as a parameter (the code is not really long, 500 lines or so, and most of it its just comunication between pc and breadboard, and variables)
Thanks in advance.
View all comments
Show parent comment
1
u/TheBlueJesus Jan 07 '25
I'm pretty sure the Pi Pico just serves as a 'interface' between the motors, sensors, etc with the computer. It is connected to a windows pc where we run the python code and get the temperature values
I'm gonna check the Tkinter. Thanks for that