Display:Primary Workspace Property

LabView Local Project Settings

Display:Primary Workspace Property

Short Name: Disp.WkSpace

Installed With: Base Package

Class: Application Properties

Gives the bounding rectangle of the computer's primary monitor.

Elements

Name Description
Left The horizontal coordinate of the left edge of the bounding rectangle of the computer's primary monitor.
Top The vertical coordinate of the top edge of the bounding rectangle of the computer's primary monitor.
Right The horizontal coordinate of the right edge of the bounding rectangle of the computer's primary monitor.
Bottom The vertical coordinate of the bottom edge of the bounding rectangle of the computer's primary monitor.

Example

Remarks

The following table lists the characteristics of this property.

Available in Run-Time Engine and Real-Time Operating SystemYes (Read Only)
PermissionsRead Only
Settable when the VI is runningNo
Loads the front panel into memoryNo
Need to authenticate before useNo
Loads the block diagram into memoryNo
Remote access disallowedNo
Must wait until user interface is idleNo
Available with control VIsNo
Available with global VIsNo
Available with strict type definitionsNo
Available with polymorphic VIsNo

Example

Refer to the VI Server - Changing Another VI's Properties VI in the labview\examples\viserver\uicntrl.llb for an example of using the Display:Primary Workspace property.

 Open example  Browse related examples