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.
06-23-2021 06:08 AM
Hi
I have imported several .py files.
Now I have a Python datatype called list[int] that I don't know how to interpret.
Is there an datatype in LabVIEW that can be used for List[int]?
06-23-2021 09:46 AM
Hi Kim,
@PR_Kim wrote:
Is there an datatype in LabVIEW that can be used for List[int]?
From what I learned about Python you could use an array of integer (I32?) in LabVIEW…
06-23-2021 11:00 AM
An integer array should work. As an example, I can write the following function in python:
def incrementList(listnIn):
return list(item + 1 for item in listnIn)
06-24-2021 04:14 AM
Thanks for both of yours replies Matt and Gerd. It works now