请教大虾们
时间:12-13
整理:3721RD
点击:
I am a beginner of Labview, meet a problem here,
Error list:
‘’This control has no elements, so its type is undefined. Place the control you want inside it.’’
‘’You have two or more cluster data types wired together, but the clusters have different kinds or numbers of elements.
Cluster sampling info, a cluster of 0 elements,
conflicts with cluster sampling info, a cluster of 2 elements.’’
PLEASE tell, how solve it
?
.10
Error list:
‘’This control has no elements, so its type is undefined. Place the control you want inside it.’’
‘’You have two or more cluster data types wired together, but the clusters have different kinds or numbers of elements.
Cluster sampling info, a cluster of 0 elements,
conflicts with cluster sampling info, a cluster of 2 elements.’’
PLEASE tell, how solve it
?
.10
show me the source code...
.193
Guess you were using a Cluster and encountered such problem.
In front panel, after you create an empty Cluster, you have got to create other
elements such as a numberical control in it (use drag and drop). Clusters are
like struct in C language.
An easy way to create a cluster (or any other control) from a known exist
control or node (as long as Labview knows what its type is) is to right-click
on the control or node and select Create>>Control, thus the new control created
will have the same data type as the exist one.
.60