From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Split the screen

help111.png

0 Kudos
Message 1 of 6
(2,446 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
(2,445 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
(2,442 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
(2,434 Views)

Hi Gerdw,

 

You mean using the same code? but different colors?

 

0 Kudos
Message 5 of 6
(2,432 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
(2,428 Views)