07-23-2018 04:05 PM
I'm not sure, but I think I need to get the values from the clusters and give them to the "control index". That may not make any sense at all. Thanks for help!
07-24-2018 02:21 AM - edited 07-24-2018 02:24 AM
"If the control or indicator for which you want to get the index does not have a terminal on the block diagram, this property returns an error"
Your numerics inside of clusters, so they haven't terminals
The best option, as you now do, connect the wires directly to the clusters' terminal .
07-24-2018 09:31 AM
connect what wires to the clusters terminals?
07-24-2018 10:16 AM
You are already connecting the arrays wires to the clusters terminal.
Do not you like this option?
07-24-2018 10:27 AM
I'm not sure what I'm missing here. The VI won't run because of the error.
How will the control indexes be updated on the front panel if they are not wired up?
How do I tell the control index that the numeric's in the clusters are it's terminals, or can that be done?
VI attached
07-25-2018 02:09 AM
Why are you trying to get indexes of numerics?
The DAQmx Read outputs are connected to the terminals of the clusters. The data is displayed. There is no need to record them also through indexes.
Remove everything that is painted yellow.
07-25-2018 10:29 AM
I ended up using a portion of the scribbled out code to control the BG colors of the indicators in the clusters on the front panel. Yes, control indexes were no longer needed because the data from the modules is going directly into the clusters.
Thanks for your help!