Properties dialog: Difference between revisions
Appearance
Added More Classes |
Added Classes |
||
Line 16: | Line 16: | ||
* '''PropPage_TabularAppearance.vi''': [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]] | * '''PropPage_TabularAppearance.vi''': [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]] | ||
* '''PropPage_ArrayAppearance.vi''': [[Array class|Array Control (14)]] | * '''PropPage_ArrayAppearance.vi''': [[Array class|Array Control (14)]] | ||
* '''PropPage_NumericAppearance.vi''': [[Digital class|Digital Control (18)]] | |||
* '''PropPage_SliderAppearance.vi''': [[Slide class|Slide Control (21)]] | |||
* '''PropPage_GraphAppearance.vi''': [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 1 | | 1 | ||
| Data Type | | Data Type | ||
| | | | ||
* '''PropPage_DataType.vi''': [[Digital class|Digital Control (18)]], [[Slide class|Slide Control (21)]] | |||
* '''PropPage_NumericDataType.vi''': [[ColorRamp class|ColorRamp Control (20)]] | |||
|- | |- | ||
| 2 | | 2 | ||
| Data Entry | | Data Entry | ||
| | | | ||
* '''PropPage_DataRange.vi''': [[Digital class|Digital Control (18)]], [[ColorRamp class|ColorRamp Control (20)]], [[Slide class|Slide Control (21)]] | |||
|- | |- | ||
| 3 | | 3 | ||
| Scale | | Scale | ||
| | | | ||
* '''PropPage_Scale.vi''': [[Slide class|Slide Control (21)]] | |||
|- | |- | ||
| 4 | | 4 | ||
| Display Format | | Display Format | ||
| | | | ||
* '''PropPage_FormatAndPrecision.vi''': [[Digital class|Digital Control (18)]], [[ColorRamp class|ColorRamp Control (20)]], [[Slide class|Slide Control (21)]], [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 5 | | 5 | ||
Line 40: | Line 48: | ||
| Plots | | Plots | ||
| | | | ||
* '''PropPage_Plots.vi''': [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 7 | | 7 | ||
| Scales | | Scales | ||
| | | | ||
* '''PropPage_Scales.vi''': [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 8 | | 8 | ||
| Cursors | | Cursors | ||
| | | | ||
* '''PropPage_Cursors.vi''': [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 9 | | 9 | ||
| Operation | | Operation | ||
| '''PropPage_BooleanAct.vi''': [[Boolean class|Boolean Control (8)]] | | | ||
* '''PropPage_BooleanAct.vi''': [[Boolean class|Boolean Control (8)]] | |||
|- | |- | ||
| 10 | | 10 | ||
Line 60: | Line 72: | ||
| Text Labels | | Text Labels | ||
| | | | ||
* '''PropPage_RingEditor.vi''': [[Slide class|Slide Control (21)]] | |||
|- | |- | ||
| 12 | | 12 | ||
| Browse Options | | Browse Options | ||
| '''PropPage_BrowseOption.vi''': [[Path class|Path Control (11)]] | | | ||
* '''PropPage_BrowseOption.vi''': [[Path class|Path Control (11)]] | |||
|- | |- | ||
| 13 | | 13 | ||
| Size | | Size | ||
| '''PropPage_ArraySize.vi''': [[Array class|Array Control (14)]] | | | ||
* '''PropPage_ArraySize.vi''': [[Array class|Array Control (14)]] | |||
|- | |- | ||
| 14 | | 14 | ||
| Documentation | | Documentation | ||
| '''PropPage_Documentation.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Picture class|Picture Control(15)]] | | | ||
* '''PropPage_Documentation.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Picture class|Picture Control(15)]], [[ActiveXContainer class|ActiveXContainer Control (16)]], [[Digital class|Digital Control (18)]], [[ColorRamp class|ColorRamp Control (20)]], [[Slide class|Slide Control (21)]], [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 15 | | 15 | ||
| Data Binding | | Data Binding | ||
| '''PropPage_FPB.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]] | | | ||
* '''PropPage_FPB.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Digital class|Digital Control (18)]], [[ColorRamp class|ColorRamp Control (20)]], [[Slide class|Slide Control (21)]], [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 16 | | 16 | ||
| Key Navigation | | Key Navigation | ||
| '''PropPage_KeyNav.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Picture class|Picture Control(15)]] | | | ||
* '''PropPage_KeyNav.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox Control (7)]], [[Boolean class|Boolean Control (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Picture class|Picture Control(15)]], [[Digital class|Digital Control (18)]], [[ColorRamp class|ColorRamp Control (20)]], [[Slide class|Slide Control (21)]], [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 17 | | 17 | ||
| Security | | Security | ||
| '''PropPage_FPSecurity.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox (7)]], [[Boolean class|Boolean (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]] | | | ||
* '''PropPage_FPSecurity.vi''': [[Control class|Control (6)]], [[ColorBox class|ColorBox (7)]], [[Boolean class|Boolean (8)]], [[RefNum class|RefNum Control (9)]], [[LVVariant class|LVVariant Control (10)]], [[Path class|Path Control (11)]], [[ListBox class|ListBox Control (12)]], [[Table class|Table Control (13)]], [[Array class|Array Control (14)]], [[Digital class|Digital Control (18)]], [[ColorRamp class|ColorRamp Control (20)]], [[Slide class|Slide Control (21)]], [[WaveformChart class|WaveformChart Control (23)]], [[WaveformGraph class|WaveformGraph Control (24)]] | |||
|- | |- | ||
| 18 | | 18 |
Revision as of 02:47, 19 March 2024
The Properties dialog is accessed by right-clicking on any element on the Front Panel or Block Diagram and then selecting Properties. Depending on the type of the object different tabs are shown. Also, many tabs have two subpanels that contain different controls based on the data type.
Custom Property Pages
The tabs are pre-set and the names on them cannot be changed. However, a tab that is shown can be overridden or a tab that wouldn't normally be shown can be overridden and made to be shown. To do this follow these steps:
- Create your VI and save it at: [LabVIEW 20xx]\resource\PropertyPages\Pages\PropPage_[your unique name].vi
- Ensure the VI has the standard 4x2x2x4 connector pane.
- Create a boolean indicator called OKtoQuit and connect it to [2] (or the second one down on the right, a.k.a. outputs).
- Create a string control called QueueName. It is not connected to the connector pane but is used for a Named Queue
- Create an array of Generic Refnum controls called Main Ref Array In. It also is not connected to the connector pane and is the array of references to the selected objects. Only tabs that are defined for all of the selected objects are shown.
- Goto [LabVIEW 20xx]\resource\PropertyPages and find the text file or files for the VI Server Classes you want your page to show up for. The files are named for the VI Server Class ID (for example 6 = Control, 27 = String, etc.).
- In the File, a line exists for each page that will appear for that class. The number is the page from the table above and the VI is the VI to appear in that page's subpanel.