LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
manu.NET

XControls data types pointing to existing custom controls ...

Status: Declined

National Instruments will not be implementing this idea. There is no further feature development planned for XControls.

The "data" control of a XControl cannot be linked directly to an existing control typedef ... It can only contain it ! (You have to include your existing cluster in the data cluster.)

 

The problem is that when you want to access the value property of the XControl, you always have to bundle or unbundle it ...

 

It would be nice to be able to create a XControl data, as a link to an existing Control typedef.

 

I hope i am clear ?

 

I know a solution of my problem  could be to create my typedef as the data of the XControl ... but in this case i cannot create many different XControls for a unique data type !

And i don't think that linking datatype to dataview is very smart ! ( It is not MVC compliant ! )

Manu.net
7 Comments
Intaris
Proven Zealot
I'm not entirely clear what you mean with your solution and how this differs from the current implementation.

Can you supply more info?

I personally think XControls could use a whole lot of improvements.....
manu.NET
Active Participant

Hy Intaris,

 

A solution to my problem could be to define my custom control directly in the data.ctl ! 

 

But doing so ... is not my cup of tea ...  I prefere to separate Data and View ...

 

-> One typedef (control) : 1 Data structure

-> Many XControls : Many data views

 

The way i build my applications is ...

 

-> Building the inner code (typedefs, fonctionnalities ...)

-> And then making HMI

 

So XControls are build after the type definitions ... so my typedefs cannot be the data.ctl of the XControls ...

 

I don't know if i am clear ?

 

Manu.net
manu.NET
Active Participant

I would like to create a data.ctl like this ... (By pointing on existing control) ...

 

XControlData1.PNG

 

 

But for the moment i have to replace the default data by a cluster ... and to insert my custom typedef in it ...

 

XControlData2.PNG

Message Edité par manu.NET le 03-23-2010 07:46 AM
Manu.net
AristosQueue (NI)
NI Employee (retired)

I completely agree with this idea.

 

> And i don't think that linking datatype to dataview is very smart !

 

It has indeed been the source of much pain for me. 

shb
Active Participant
Active Participant

There was much pain for me too.

So please vote for this.

 

Maybe we should cry for something like a stylesheet? (see also tagged as stylesheet)

JKSH
Active Participant
Statecharts need this too!
Certified LabVIEW Developer
Darren
Proven Zealot
Status changed to: Declined

National Instruments will not be implementing this idea. There is no further feature development planned for XControls.