Jump to content

MultiSegmentPipe class

From LabVIEW Wiki
Revision as of 22:15, 1 September 2019 by Q (talk | contribs)
VI Server Class Information
Return to VI Server Class Hierarchy
Class Name MultiSegmentPipe class
Class ID 130
Scope Basic Development Environment
Class Inheritance
Class Children

This class has no children.


The MultiSegmentPipe class is a class in the VI Server Class Hierarchy, (see also VI Server).

Properties

Show/Hide MultiSegmentPipe Properties Table

Legend
R/WReadable/Writable Permissions
RTEAvailable in the Run-Time Engine
Basic Development Environment
VI Scripting
Private
Deprecated
MultiSegmentPipe Properties Table
Property ID Short Name (English) Description R/W RTE
311C4C05 Colors(2) Gets or sets the color of the Multi-Segment Pipe control.

The Multi-Segment Pipe control is a Boolean control that uses different colors to represent TRUE and FALSE values. Therefore, you can change the color of the pipe network to customize what the pipe network represents. For example, you might use the color blue to represent cold water and the color red to represent hot water flowing through the pipe network.

This property uses an array of two clusters, where each cluster contains a color pair, to represent the TRUE and FALSE values. Each color pair represents the foreground and background color of the control. You can set the color of the Multi-Segment Pipe control by wiring an array of two hexadecimal number pairs with the form RRGGBB or by wiring an array of two color box constant pairs to the property.

You also can set the colors interactively.

R/W X
311C4C02 Flange1Depth Gets or sets the depth of the flange that appears on the left end of a pipe network when you first place the Multi-Segment Pipe control on the front panel window.

The flange depth is the distance, in pixels, from the end of the adjoining pipe segment to the end of the flange. The maximum flange depth is 50 pixels. The minimum flange depth is four pixels. LabVIEW returns an error if you specify a value greater than the maximum or less than the minimum flange depth.

The following illustration shows the flange depth.

You also can set the flange depth interactively.

R/W X
311C4C00 Flange1Width Gets or sets the width of the flange that appears on the left end of a pipe network when you first place the Multi-Segment Pipe control on the front panel window.

The flange width is the distance, in pixels, from the edge of the adjoining pipe segment to the edge of the flange. The maximum flange width is 500 pixels. The minimum flange width is one pixel. LabVIEW returns an error if you specify a value greater than the maximum or less than the minimum flange width.

The following illustration shows the flange width.

You also can set the flange width interactively.

R/W X
311C4C03 Flange2Depth Gets or sets the depth of the flange that appears on the right end of a pipe network when you first place the Multi-Segment Pipe control on the front panel window.

The flange depth is the distance, in pixels, from the end of the adjoining pipe segment to the end of the flange. The maximum flange depth is 50 pixels. The minimum flange depth is four pixels. LabVIEW returns an error if you specify a value greater than the maximum or less than the minimum flange depth.

The following illustration shows the flange depth.

You also can set the flange depth interactively.

R/W X
311C4C01 Flange2Width Gets or sets the width of the flange that appears on the right end of a pipe network when you first place the Multi-Segment Pipe control on the front panel window.

The flange width is the distance, in pixels, from the edge of the adjoining pipe segment to the edge of the flange. The maximum flange width is 500 pixels. The minimum flange width is one pixel. LabVIEW returns an error if you specify a value greater than the maximum or less than the minimum flange width.

The following illustration shows the flange width.

You also can set the flange width interactively.

R/W X
311C4C04 PipeRadius Gets or sets the radius of the pipe segments in a pipe network. All pipe segments in a pipe network have the same radius.

The pipe radius is the distance, in pixels, between the center of a pipe segment to the edge of the pipe segment. The maximum pipe radius is one pixel less than the radius of the narrowest flange. The radius of a flange is equal to the pipe radius plus the flange width. The minimum pipe radius is five pixels. LabVIEW returns an error if you specify a pipe radius greater than the maximum or less than the minimum pipe radius.

The following illustration shows the pipe radius.

You also can set the pipe radius interactively.

R/W X

Methods

No Methods for this class.

Events

No Events for this class.

History

Version Change(s)
LabVIEW 2018 More info to come.

See Also