LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Complete list of class IDs and names

Solved!
Go to solution

Is there a complete list of all the built-in class IDs with their corresponing names?

I have looked at the LV2012 Class ID Property help page located here: https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/properties-and-methods/vi-server/generic/c..., but this is incomplete. For example, the RadioButtonsControl has an ID of 72 and is not listed.

Or better yet, are there any VIs out there that can convert a U32 ID value into the corresponding class name?

Message 1 of 20
(17,577 Views)

To my knowledge, that does not exist.  I have filed a corrective action report (CAR #419831) so this will be corrected in the future.  Note that this list can change at almost every version of LabVIEW as new features are added.

Message 2 of 20
(17,559 Views)
Solution
Accepted by topic author mattb-5906

Try this.

"If you weren't supposed to push it, it wouldn't be a button."
Message 3 of 20
(17,555 Views)

Thanks for the info DFGray. I noticed some changes in the last few class IDs between LV version on the online documentation. Seems a bit poor - thought they would have added new ones rather than changing them to maintain backwards compatibility.

0 Kudos
Message 4 of 20
(17,529 Views)

Thnaks Paul. Unfortunately I've only got LV2009 atm. Would it be possible to save for 2009?

0 Kudos
Message 5 of 20
(17,527 Views)

I've taken Paul's VI and expanded it to loop through a few hundred numbers and ignore any errors. I've also downcasted it to 2009 for you. Hopefully this is the complete list you're looking for.

 


Value 1 = Application
Value 2 = VI
Value 3 = Generic
Value 4 = Decoration
Value 5 = Text
Value 6 = Control
Value 7 = ColorBox
Value 8 = Boolean
Value 9 = RefNum
Value 10 = LVVariant
Value 11 = Path
Value 12 = ListBox
Value 13 = Table
Value 14 = Array
Value 15 = Picture
Value 16 = ActiveXContainer
Value 17 = Numeric
Value 18 = Digital
Value 19 = NamedNumeric
Value 20 = ColorRamp
Value 21 = Slide
Value 22 = GraphChart
Value 23 = WaveformChart
Value 24 = WaveformGraph
Value 25 = IntensityChart
Value 26 = IntensityGraph
Value 27 = String
Value 28 = IOName
Value 29 = ComboBox
Value 30 = Cluster
Value 31 = Panel
Value 32 = Knob
Value 33 = NumericWithScale
Value 34 = Ring
Value 35 = Enum
Value 36 = GObject
Value 37 = Plot
Value 38 = Cursor
Value 39 = NumericText
Value 40 = Scale
Value 41 = ColorScale
Value 42 = GraphScale
Value 43 = ColorGraphScale
Value 44 = TypedRefNum
Value 45 = Generic
Value 46 = MulticolumnListbox
Value 47 = WaveformData
Value 48 = DSCTag
Value 49 = DAQChannelName
Value 50 = VISAResourceName
Value 51 = IVILogicalName
Value 52 = SlideScale
Value 53 = PageSelector
Value 54 = Page
Value 55 = TabControl
Value 56 = ConnectorPane
Value 57 = DAQmxName
Value 58 = VIRefNum
Value 59 = LVObjectRefNum
Value 60 = AbsTime
Value 61 = DigitalTable
Value 62 = SubsystemVI
Value 63 = Generic
Value 64 = Generic
Value 65 = SubPanel
Value 66 = TreeControl
Value 67 = GenClassTagRef
Value 68 = GenClassRef
Value 69 = RotaryColorScale
Value 70 = PlugInControl
Value 71 = PlugInDDODummyContainer
Value 72 = RadioButtonsControl
Value 73 = Project
Value 74 = ProjectItem
Value 75 = Pane
Value 76 = Splitter
Value 77 = BuildSpecification
Value 78 = Pixmap
Value 79 = FacadeVI
Value 80 = Library
Value 81 = Variable
Value 82 = TagSet
Value 83 = XYGraph
Value 84 = SceneWindow
Value 85 = LVClassLibrary
Value 86 = Generic
Value 87 = MethodVI
Value 88 = XControlLibrary
Value 89 = XNodeLibrary
Value 90 = Scrollbar
Value 91 = LVTarget
Value 92 = MixedSignalGraph
Value 93 = Provider
Value 94 = CopyOperation
Value 95 = TargetItem
Value 96 = ProjectItemType
Value 97 = CopyItem
Value 98 = CopyConflict
Value 99 = CopyExpert
Value 100 = SceneGraphDisplay
Value 101 = PolymorphicVI
Value 102 = LabVIEWClassControl
Value 103 = XInterfaceLibrary
Value 104 = SceneNode
Value 105 = SceneObject
Value 106 = SceneLight
Value 107 = Generic
Value 108 = Generic
Value 109 = Generic
Value 110 = SceneClipPlane
Value 111 = SceneTexture
Value 112 = SceneGeometry
Value 113 = SceneBox
Value 114 = SceneCone
Value 115 = SceneCylinder
Value 116 = SceneHeightField
Value 117 = SceneSphere
Value 118 = SceneMesh
Value 119 = XPropertyFolder
Value 120 = PropertyFolder
Value 121 = DigitalGraph
Value 122 = GenClassTagFlatRef
Value 123 = Scene
Value 124 = Generic
Value 125 = LibraryData
Value 126 = StatechartLibrary
Value 127 = MixedCheckbox
Value 128 = SceneDrawable
Value 129 = SceneText
Value 130 = MultiSegmentPipe
Value 131 = Bus
Value 132 = StubDDO
Value 133 = ProjectFilesViewItem
Value 134 = LVClassPropDefFolder
Value 135 = DataValRefNum

Certified-LabVIEW-Architect_rgb.jpgCertified_TestStand_Architect_rgb.jpg


"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books

Message 6 of 20
(17,519 Views)

Thanks for converting this bsvare. Works great.

 

Paul, I'm curious, how did you find this property? On LV2009 it's not listed in the Application class, but the downcasted version still works.
Also can't find it here: http://zone.ni.com/reference/en-XX/help/371361J-01/lvprop/application_m/ 

Is this another hidden LV thing?

 

Thanks

0 Kudos
Message 7 of 20
(17,491 Views)

If you're using LabVIEW version 2010 or higher, you can enable Scripting... Else for LabVIEW version 2009 or 8.6 you can install LabVIEW Scripting and this will also exposes many additional VI Server classes, properties, and methods.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 8 of 20
(17,443 Views)

Thanks for your reply moderator1983.

I've got scripting installed and enabled, but it's still not listed in the drop-down list (see image). This appears to be a non-scripting feature as there's no blue-green container around that method.

Appolgies for going a bit off topic, but trying to understand why I haven't got direct access to this method (and possibly other methods/properties).

 

Application class methods.jpg

0 Kudos
Message 9 of 20
(17,431 Views)

Ok, so last thing you would like to try:

 

--> Close LabVIEW (if its opened)

--> Navigate to the LabVIEW.exe folder

LabVIEW Applicaiton Directory

 

--> Open LabVIEW.ini

--> Add 'SuperSecretPrivateSpecialStuff=True' (without quotes) in the INI and start LabVIEW

 

Try again search for the method.


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


Message 10 of 20
(17,425 Views)