LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

getting python code to run in labview

ive been trying to get this function to run all night in labview but i keep getting a "TyperError' message all its supposed to do is output an excel sheet with all the combinations created by the program but im at the point where id just be happy if it could just output a txt file with the combinations if anything. I know the program works in python as ive tested it but i just cant figure out why it errors when i try to call the function. any help would be appreciated
Download All
0 Kudos
Message 1 of 2
(168 Views)

Hi,

 

The error was due to data-type mismatch in the output from file.py and the output in the LabVIEW python node. After converting the "valid_sequences" to string in return function, it works fine without any error. Please refer the below screenshots. 

mano123_0-1714652951846.png

mano123_1-1714653039670.png

 

Thanks,

Mano Prabha

Certified LabVIEW Architect

 

0 Kudos
Message 2 of 2
(67 Views)