I have a question!
I'm trying to send cluster data from LabVIEW to python through python node, but so far I have no clue how LabVIEW send cluster data to python (I mean in what format or form), have tried many python parsing options but still getting an error (end of topic), any ideas of how to parse cluster LabVIEW data in python!?
simple LabVIEW vi and python script would be really appreciated!
LabVIEW: (Hex 0x687) There was an error in executing the specified function. Python returned the following error: <class 'TypeError'> bad argument type for built-in operation
LabVIEW clusters can be sent to Python... but it looks like we forgot to include a shipping example for that. We will fix that mistake in the next version. In the meantime, here's the script to catch a cluster:
"cluster -> Integer, cluster -> String, cluster -> Integer"
return cluster + cluster
And here's the VI:
Attached are the script and the VI. I hope that helps.
There is one shipping example that uses clusters, but it doesn't explicitly call out that it does. It is here:
We still should add an explicitly tagged example for this common operation.
it's really helpful thanks a lot!
but not quite what I meant, I want is the return value to be a cluster!
like in the picture I uploaded in cluster x2 (numeric3 would be 10 and string would be abc)