This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

What Is the VI Server?

Updated Jan 10, 2018

Reported In

Software

  • LabVIEW Base
  • LabVIEW Full
  • LabVIEW Professional

Issue Details

While researching a solution to a problem, VI Server was mentioned. What is the VI Server?

Solution

VI Server, introduced in LabVIEW 5.0, is a set of functions that allows you to dynamically control front panel objects, VIs, and the LabVIEW environment. With VI Server, you can also programmatically load and run VIs and LabVIEW either on the same machine or across a network. The VI Server functions are located in the Functions » Application Control sub-palette. All VIs have properties that can be read or set and methods that can be invoked using these VI Server functions. VI Server replaces the VI Control VIs of LabVIEW 4.x.

VI Server has an object-oriented architecture that is platform-independent.  Each object that is a part of VI Server is a part of a class. The class that the object is a part of determines what properties and methods are available. Many of these classes have sub-classes. For instance, any boolean control is a member of the Boolean class, which is a member of the Control class. The Control class is a member of the GObject class, which is a member of the Generic class. Lower level classes, such as the Boolean class, have their own properties and methods, and inherit properties and methods from higher level classes, such as the Generic class.

As an example of VI server usage, below is a code snippet of the VI server being used to programmatically resize the front panel window of a VI.

Additional Information

Refer to the LabVIEW Help document, linked below, for more information about VI Server.

WAS THIS ARTICLE HELPFUL?

Not Helpful