LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Indexing of Cluster

I am reading a alphanumerical String from a serial port inside a For loop. can I add the read value as the last element of a cluster, exactly like how we do it using an array?

I am using a Case statement inside a For loop to parse the alphanumerical strings and connecting them to a cluster. But as each of my case statement have just one output for 1 loop (or 1 input to cluster) I have to leave the rest of the cluster inputs either unconnected or set them to default value. I tried to solve this problem using local variables. But I would like to know if there is a better method
0 Kudos
Message 1 of 2
(2,499 Views)
Hi,

Is it possible for you to build the alphanumeric strings into an array and then use the "array to cluster" function in the cluster palette? I believe this will have the same net effect.

Hope this helps,

Nick
Message 2 of 2
(2,499 Views)