01-19-2020 09:45 AM - edited 01-19-2020 10:39 AM
Dear Experts,
In my vi, I have placed a numeric control next to the Cluster 2. When I drag the numeric control into the cluster it automatically turns into a numeric indicator. Could someone explain the reason and how to declare a numeric control in cluster 2?
Also, Kindly let me know whether I will be able to pass an input from Cluster 2 and be able to receive in 'Cluster'. Thank you in advance.
01-19-2020 10:13 AM
Without looking at your VI, I'm guessing your cluster is an indicator. You can't mix controls and indicators in a cluster. The cluster as a whole, and therefore all of its contents, is defined as a control or indicator.
01-19-2020 10:58 AM
What are you actually trying to accomplish here?
You have a cluster of controls in a "sender" loop that is flattening and sending data to a a "receiver" loop that will unflatten and put the values in a cluster of indicators.
Now is sounds like you are trying to put a control into cluster 2 of the receiving cluster and expect that value to "flow back" to the sending cluster? If so, that violates all rules of dataflow.
01-19-2020 11:02 AM
Learning! In my case I want to be able to send and receive mix of controls and indicators. Kindly advice me which is the best approach to do so. Thank you Crossrulz in advance for your expert guidance!
01-19-2020 11:13 AM
Dear RavensFan, Yes you are right, kindly what technique is suitable to send and receive a mix of controls and indicators. Thank you in advance.
01-19-2020 11:40 AM
You need to separate out your data into different clusters. One cluster for data going from one loop to the other and another cluster for data going back the other way. You another TCP/IP write and read to send the data in the other direction.
01-19-2020 12:48 PM
Thank you dear RavensFan. Kindly let me know if any other technique other than cluster could be used to achieve the same.