Example Code

Programmatically Read Monitor Resolution

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This example demonstrates the Display:All Monitors property in VI Server.

 

 

Description

This VI will return an array of clusters that contain the screen dimensions for one or more displays connected to the system where the VI is running.

 

 

Requirements

LabVIEW 2012 (or compatible)

 

 

Steps to Implement or Execute Code

1. Download the VI "Read Monitor Resolution_LV2012_NI Verified"

2. Run the VI

 

 

Additional Information or References

 

Block Diagram

BD.PNG

 

 

 

 

 

**This document has been updated to meet the current required format for the NI Code Exchange.**

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.