LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
CL_eisenwr

Python Node: Support Dictionaries as Maps

Status: New

It would be helpful if the LabVIEW Python node natively supported Python dictionaries as LabVIEW Maps. This would make it simpler/easier to support a frequently use Python structure. You can work around but you have to do extra data preparation/formatting in both LabVIEW & Python. It would be nice if the node handled that converting to list of tuples and building the LabVIEW map or vice versa for us.

__________________________________
Bill Eisenhower
Certified LabVIEW & TestStand Developer
2 Comments
Bugpower
Member

Absolutely. Just stumbled about the same problem... 😞

D*
Member
Member

Dict support would also support **kwargs!

 

Support for Python dictionaries would also enable support for the very commonly used Python functions that expect keyword arguments,  commonly seen like: **kwargs. 

 

This Idea would remove this LabVIEW deficiency:

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000g0BmSAI&l=en-US