LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

block diagram wire meaning

Can someone tell me why this wire is showing up like this

Untitled.jpg

 

0 Kudos
Message 1 of 7
(2,526 Views)

Hi Trinity,

 

that array control is empty aka has no datatype assigned to…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,525 Views)

Thank you for responding quickly.  It does have a data type (cluster) so not sure why it is showing.  I guess by your response isn't an issue really because the arrays will be initialized during runtime.  Thanks again

0 Kudos
Message 3 of 7
(2,498 Views)

Hi Trinity,

 

It does have a data type (cluster) so not sure why it is showing.

Because that cluster is empty? So still no datatype defined!

(Btw. do you know the difference between showing an image of (a part) the block diagram of a VI and attaching the whole VI? [Yes, sarcasm.])

 

I guess by your response isn't an issue really because the arrays will be initialized during runtime.

How do you do that when the VI isn't executable???

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(2,495 Views)

In other words, LabVIEW doesn't allow arrays or clusters that don't have anything in it. Put something in the cluster, or replace the cluster with something else, and the wire will get solid.

 

Note that to unbundle a cluster by name, you need to give the cluster elements a label.

0 Kudos
Message 5 of 7
(2,449 Views)

Your program looks like it might have a problem locating a typedef you were using for your code.

0 Kudos
Message 6 of 7
(2,445 Views)

I did find the culprit.  I had an array in my cluster that was suppose to be a string array but was an array of clusters instead.  Thanks for everyone's help.

Message 7 of 7
(2,435 Views)