LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Gauge Artifacts in Real-Time Application

I am writing a program to be run on a real-time target using the embedded UI.  I would like to use gauges in the display.  None of the gauges get drawn properly after deploying to the target.  The amount of smearing/artifacts make them unusable.  This occurs with every type of gauge, with or without data input, remotely controlled or standalone.  On a similar note, diagonal ticks on knob controls are all randomly sized, discolored blocks.  I have attempted different runtime positions, window positions, panel sizes, monitors (different resolutions and refresh rates), and fonts.  I have also reformatted the disk and reinstalled the OS and all software.  The image I've included is of a vi deployed from and remotely controlled by my development pc.  The gauges have no back panel code connected to them, although inputting data produces the same result.

 

Is anyone familiar with this issue and how to fix it?  Using the embedded UI is non-negotiable for this project.  The LabVIEW version is also fixed.

 

5c149c03-7fd8-4a70-8489-2b490e738b09.jpg

Target: PXIe 8881, embedded UI

OS: NI Linux RT 2024 Q1

LabVIEW: 2024 Q1

Display: 1920x1080p, 60hz

0 Kudos
Message 1 of 3
(63 Views)

I have no idea if it will work on your Linux RT system as I haven't used one before, but on a different issue with weird redrawing a while back the solution was to put a transparent control over the top of the problematic control(s):

 

https://forums.ni.com/t5/LabVIEW/NXG-Style-LED-front-panel-graphics-issue/td-p/4250071

 

You could give that a shot.

0 Kudos
Message 2 of 3
(49 Views)

Thanks.  Unfortunately this did not work.  I can see the gauges being redrawn, but it just shifts the artifacts slightly.  This issue is different from the one you linked in that the gauges are drawn incorrectly from the start rather than after an update.

0 Kudos
Message 3 of 3
(11 Views)