LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Where can i find the classID list for Labview 7.0

Hello,

I'm looking for a list of classID for Labview 7.0
I found a list for Labview 6.0, but this list does not include the Subpanel control (for example).
Where can i find an updated list ?

Thanks in advance,

Rainer
0 Kudos
Message 1 of 16
(5,491 Views)
Attached is a type def enum with Labview 7.0 public Classe Name and associated Classe ID


  


vipm.io | jki.net

Message 2 of 16
(5,491 Views)
Thank you very much !
0 Kudos
Message 3 of 16
(5,491 Views)
Wow, what an entrance!

Welcome to the list PJM_Labview!

Where did you get that from?

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 16
(5,491 Views)
Ben

>Wow, what an entrance!
>Welcome to the list PJM_Labview!

Thank you. I usually post on info-labview.

>Where did you get that from?

I did not get it from anywhere or anybody, I built it.

One way to do that is to put on a Front Panel all the objects you want to get info about then with VI server you can get access to all of them(Open VI Ref->VI:Front Panel->Panel:AllObjects->Forloop->GObject:ClassID and ClassName) and get their CID and Class Name.

The problem with this is that it only work with object you know about; for the others I used another method.

There is a locked VI in LV7.0 that allows dynamic instanciation of controls. The name of the VI is "Get Contorl From Type Descriptor.vi" and it is located in LVRoot\proje
ct\_NewProbeWizard.llb\Get Contorl From Type Descriptor.vi. If you look at the type descriptor (of unnamed controls) you will see that the third number in the array is the CID. So it is possible to create a VI that generate all the objects refnums (to get their name, manually change them to a constant). I will caution anyone who wants to play with that VI, you WILL (<-no may, but will) crash labview by generating these refnums (so better save your stuff before hand).


  


vipm.io | jki.net

Message 5 of 16
(5,491 Views)
"Thank you. I usually post on info-labview."

That explains why you know how to do this. I am a lurker on that list. I learned most of what I know from that list. I just don't feel worthy to speak before Rolf (and the rest of y'all). And afterwards, what is left to be said. My boss asked me recently "With the Developer Exchange, what purpose does Info-LabVIEW serve?" I said "The Dev-Exchange is like going to LV college, Info-LabVIEW is like grad school."

I will see if I can crash my machine at home this week-end.

Please feel free to contribute on this exchange again in the future. Your contributions would be welcome, and besides, we give out STARS!

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 16
(5,491 Views)
"Bird's Eye View"

The last time I saw a response like you recieved for your utility was when Brian Renken anounced the search engine.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 16
(5,491 Views)
Ben

> I am a lurker on that list. I learned most of what
> I know from that list. I just don't feel worthy to
> speak before Rolf (and the rest of y'all). And
> afterwards, what is left to be said. My boss asked me
> recently "With the Developer Exchange, what purpose
> does Info-LabVIEW serve?" I said "The Dev-Exchange is
> like going to LV college, Info-LabVIEW is like grad
> school."

Ben, with over a 1000 answers (3 stars average) your contribution is clearly impressive.

>I will see if I can crash my machine at home this week-end.

Well "only" labview will crash ! 😛
and if you are curious try CID >= 16383

> Bird's Eye View: The last time I saw a response like
> you recieved for your util
ity was when Brian Renken
> anounced the search engine.

Thank you for the kind words, but in my eyes, Brian Renken search engine is more usefull (at least for me) than the Bird's Eye View utility.

PJM


  


vipm.io | jki.net

0 Kudos
Message 8 of 16
(5,491 Views)
As PJM Labview already knows there has been a special forum setup for related discussions on LabVIEW Scripting. PJM has also kickstarted the discussions there by posting some bonus code. I invite all who are interested in playing with these new discoveries to join in on the fun here:

http://forums.lavausergroup.org/index.php?showforum=29

Thank You
Michael Aivaliotis
http://forums.lavausergroup.org


Michael Aivaliotis
VI Shots LLC
0 Kudos
Message 9 of 16
(5,491 Views)
Hi Mike,

Thank you!

I have already looked and e-mailed that link for future digestion.

I will see there!

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 10 of 16
(5,491 Views)