LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Updating clustered refnums in a custom control

Hello -

 

Precursor: I am trying to alter an outsourced code we recently received and I am not exactly fluent in LabVIEW.

 

There are 7 user interface clusters one of which I am looking to alter. The original program has a cluster of refnums, at least I'm pretty sure they are refnums, to each of the user interface clusters in the initiation of the program. If I add a control to one of the user interface clutsers (in my case the general settings cluster) I get a lot of errors (understandably as I will have to go though and alter subsequent codes). However, the error I am having a particularly difficult time overcoming is a "Hidden front panel control has undefined type" in the refnum cluster (see attached for more details). Sorry for only including screen shots, but the program is too large to post.

 

Any advice/help is appreciated.

Thanks,

Jeremy

 

Download All
0 Kudos
Message 1 of 3
(2,378 Views)

Hello,

 

Is the Cluster UI Refs the 'hidden' Cluster the errors refer to? You can find it on your front panel by right clicking the object and selecting 'Show Control.' Once you have displayed the cluster, ensure that there is a Refnum Control/Indicator formatted to accept the input from General Settings. 

 

It appears that your reference cluster does not have enough elements, to accept the number of items you are passing to it, at least I think. Without the code it's difficult to directly troubleshoot. Could you save a small VI that demonstrates this behavior? 

 

Hope this helps move in the right direction. I look forward to any results.

 

Thanks,

 

 

Patrick Corcoran
Application Engineering Specialist | Control
National Instruments

0 Kudos
Message 2 of 3
(2,292 Views)

I had the same problem. This error disappeard when I fixed my other errors. Strange behaviour.

 

I my attachment I illustrate the problem. This vi has multiple "Hidden front panel control has undefined type" errors. By connecting the case structure the "Hidden front panel control has undefined type" errors disappear.

 


Reference bug.png

 

 

NacNud

Download All
0 Kudos
Message 3 of 3
(2,170 Views)