LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom control question

Solved!
Go to solution

I have a basic question that seems to be eluding me.  I have a third party library which uses multiple strict type def's.  One of them really confuses me as to how it works:

 

The typedef has a section with individual string and integer controls.  Somehow, these are converted into string arrays and integer arrays.

 

Custom control question.png

 

This isn't an xcontrol (Just a *.ctl).  How is a control like this made?


Thanks,

 

XL600

0 Kudos
Message 1 of 4
(3,099 Views)
Solution
Accepted by topic author xl600

Hi xl,

 

it's a cluster with a string array and a numeric array inside!

 

You know you can use the coloring tool (aka "brush") to change the color of FP objects?

You know you can make things transparent?

You know you can put text decorations on the FP and inside cluster controls?

You know you can open the typedef and click on any object? That way you would detect those transparent arrays…

Best regards,
GerdW


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

I was puzzled too until I read GerdWs post - it's an array of numerics and an array of strings with the index display turned off and the array separators made invisible. I guess its default value has 4 elements which is why they don't appear grayed out.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 3 of 4
(3,085 Views)

That's tricky.... The labels were free text and there was also a layer of decorations making it hard to find the edge of the array control to find the actual name.  Had me scratching my head for a while.  Thanks!

0 Kudos
Message 4 of 4
(3,082 Views)