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: 

XYgraph background

Solved!
Go to solution

Hi everybody,

I'm looking for a way to put a background image in my XYgraph. I found that solution (image attached), but I want it to keep the same image in the BG, because everytime a try to move a cursor, a pop up ask me to choose an image in a directory. I guess I need a loop somewhere but I don't know where.
Any Ideas ?

Best regards,
MartinO.

0 Kudos
Message 1 of 4
(2,847 Views)

Hi MartinO,

 

"everytime a try to move a cursor, a pop up ask me to choose an image in a directory"

Once you have set the BG image everything should be fine. Can you show your full VI instead of the small snippet?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,841 Views)
Solution
Accepted by MartinO.

Drag your "read picture" out of the main loop and you should be asked for a pathname only when launching the vi. Better : define a pathname as a constant to avoid the popup dialog.

 

Chilly Charly    (aka CC)
0 Kudos
Message 3 of 4
(2,834 Views)

Thanks guys, it was actually pretty simple. (My image was in my loop)

0 Kudos
Message 4 of 4
(2,789 Views)