Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Right-clicking an Alias provides the following functionalities:

  • Show in Variable Viewer: Allows user to edit value of variable manually.
  • Show in Properties: Shows in Properties Table, as above.
  • Set Alias: When grayed out, this function is not available.
    • Set Alias is available, for example, when expanding an sm_computation folder all the way down to the signal level.
    • Use Set Alias then to assign an Alias to a Signal through the Set Alias dialog box, see right.
  • Delete: Deletes the Alias without affecting the underlying signal or model
  • Rename: Renames the Alias
  • Properties: Displays the Alias' properties in the Properties Table.

Note that if you receive the error dialog below, it is because that Alias name has been used already.



Alias Use with

...

color#D3D3D3

See LabVIEW Documentation | RT-LAB v.11.3.x and up for basic use of LabVIEW panels.

A reminder that RT-LAB output signals must be connected to LabVIEW indicators, while RT-LAB control signals and parameters must be connected to LabVIEW controls.

Aliases are used in LabVIEW in order to display information in the LabVIEW interface more cleanly, and allow customization for your particular case. For example, if you're testing audio through the LabView GUI, you may wish to use the word 'Volume' on an interface control or display rather than 'Gain'.

Displaying an Alias on a LabVIEW Control

To display an Alias name on a LabVIEW control:

  • Note that the LabVIEW GUI item below, a slider, is labeled Slider.
  • Drag the alias windturbine from the Alias list towards the slider.
  • Note that the circled slash, as it is being dragged from the Alias list, means that it cannot be dropped there.
  • As you approach the Slider, drop the windturbine alias on the Slider when the + icon appears, meaning it can be dropped there.
  • Note that nothing happens immediately.
  • Right-click the word Slider and select Show in caption > Alias.
  • The words Slider and Alias are displayed on top of one another.
  • Right-click the text Slider/windturbine and select Show label, toggling it off so that the check mark no longer appears.

...

Image Removed

...

Image Removed

...

Image Removed

...

Image Removed

...

Image Removed

The text label Slider has now been replaced by the signal alias label windturbine.

Image Removed

...

color#D3D3D3

Note that in other cases, the process may simply involve dragging an alias for a signal over the pre-existing LabVIEW GUI label.

The following numeric control GUI item, labeled Numeric, becomes OpComm simply by dragging the signal OpComm on top of it.

This is because Show in Caption > Alias is already on (check mark), and Show label is off.

...

Image Removed

...

Image Removed

...

Image Removed

...

Image Removed

...

Image Removed

...

Alias Use with Load/Save Configuration (Variables Table)

...