LabVIEW Idea Exchange

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

LabVIEW object default probe should show the content of Data typedef ...

Status: Declined

Any idea that has not received any kudos within a year after posting will be automatically declined. 

Hello,

 

This idea exist certainly, but i don't find it ... so sorry if dupplicate ...

 

For the moment, the default probe for LabVIEW object is a string containing the "Class name" ... quiet poor !!! Smiley Sad

 

By default, the object probe should view the content of the object data type !

 

A Better idea would be, to view, in object probe, the content of the data type, using a Tree View Probe  ( also Dot Net Property browser, property grid ). Smiley Happy

 

Thanks a lot.

 

Manu.net.

Manu.net
18 Comments
AristosQueue (NI)
NI Employee (retired)

manu.NET: How do you propose we do that? The controls for displaying data for every child class are totally different for each child class. Every class probe shows the data that is common to all of its children -- meaning the parent's data. In the case of LabVIEW Object, the only common data is that there is a data type.

 

I'm open to suggestions... the above is why it works the way it works currently.

AristosQueue (NI)
NI Employee (retired)

To go a bit further: the reflection needed to extract and build the property tree is very expensive. I do not use the tree view probe myself because I cannot stand what it does to my debug execution speed.

manu.NET
Active Participant

Hello AristosQueue,

 

The real need is to had a default debug behaviour, instead of the "Class Name".

 

For me, i would like to see the Data associated with the object. ...

 

in fact, the concatenation of all Data types ...

Base Object data type : ....

Level 1 Inherited additionnal data type : ...

 

The idea to see the data in a "treeView / PropertyGrid" would be the Top !!!

A view, like a concatenation off the Inherited data clusters could be also good !

 

I hope to be clear enough !

 

Manu.

Manu.net
AristosQueue (NI)
NI Employee (retired)

I see. It's a reasonable request, but I don't know if we'll ever get around to that. As always, you do have the ability to build a custom probe that does what you want instead of using the generic probe.

manu.NET
Active Participant

Hello AristosQueue,

 

Is it a way to get acces to the Parent Object Data Types ?

 

Smarter ... Would it be possible to get reccursivly the reference of the parent Data type ? To be abble to build my famous treeView !

 

Manu.

Manu.net
AristosQueue (NI)
NI Employee (retired)

Untitled.png

manu.NET
Active Participant

Thanks a lot,

 

So ... All is possible !  

 

The next stage is then to create an automatic default Object Probe, reccursive .... (LOL)

=> No matter of speed ! Debugging with probe is more often at reduce speed !

 

LabVIEW Object codding looks fine ... but to be complete,   ....  easy, powerfull and automatic debugging is necessary !

 

Manu.

Manu.net
AristosQueue (NI)
NI Employee (retired)

Once you use a custom probe for a type once, it will be remembered as your default thereafter until you choose to use a different probe.

Intaris
Proven Zealot

Or you can just flatten it to XML and look at that.......

AristosQueue (NI)
NI Employee (retired)

Intaris: Sometimes. The default values are not shown in the XML, and if the whole object is default, the XML is just the class name. Also, many people have a hard time parsing the XML, particularly when the contents are things like arrays, waveforms, etc.