ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Split the screen

help111.png

0 Kudos
Message 1 of 6
(3,387 Views)

Hi Learner,

 

you still don't seem to know how to type text here as message. Instead you simply embed a big picture...

 

To your question:

Ever thought about drawing two rectangles side by side? With different colors/graylevels?

As can be seen in your big picture there are 4 coordinate inputs to the DrawRect function...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,386 Views)

Hi GerdW,

 

So sorry I am so used to it. I am trying to obtain a rectange with the two colors inside.

0 Kudos
Message 3 of 6
(3,383 Views)

Hi Learners,

 

no, you should draw two rectangles using different colors - not just one!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,375 Views)

Hi Gerdw,

 

You mean using the same code? but different colors?

 

0 Kudos
Message 5 of 6
(3,373 Views)

Hi Learner,

 

is it so hard to believe? Your first message shows a white rectangle next to a dark rectangle.

So: two rectangles in two different colors...

 

Come on, just try it:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,369 Views)