From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Window Number?

Solved!
Go to solution

Hi All,

 

I notice that all the "External Display" functions in the IMAQ Utilities folder require the "Window Number" input.  How do you determine and/or set the window number for a viewing window?

 

Thanks!

 

- FB

Forbes Black
Lapsed CLAD, LV 5 - LV 2022 (Yeah, I'm that old...)
0 Kudos
Message 1 of 2
(2,445 Views)
Solution
Accepted by topic author diarmaede

Hi diarmaede,

 

The Window Number is set when calling such VI's as IMAQ WindDraw and WindShow. You can get the windows number through the IMAQ WindLastEvent VI with an indicator off of the Window Number and selecting an Event type like Click Event. Then if you click inside the Window you can see which one it is. 

 

 

Window Number (0...15) specifies the window in which to display the image. You can display up to 16 windows simultaneously. Each window is identified by a number ranging from 0 to 15. Only the specified image window is affected; all other image windows remain the same. The default value is 0.

  Note When using LabVIEW Real-Time, set this control to 15 to display to RT Video Out. You also can use IMAQ RT Video Out to display to RT Video Out.

 

DylanC

Message 2 of 2
(2,411 Views)