There is a python package callled "labview-automation" for automating labview. I did not get the manual to use it. Appreciate anyone who give example scripts for the mantioned package.
Because Python Labview Automation is not supported by NI, we have limited resources on this to help you. But you can take a look at this README I found on GitHub, I hope it helps.