LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with display

Hello,

 

I have been experiencing a problem with LabVIEW when displaying an image. It is a 3D picture so there are two displays, one with a texture (colour image + depth) and one without (depth only), and normaly I drag the object around to view from different sides, however I have recently been using a MacBook Pro, with Bootcamp (Windows 7), and the display does not overwrite, meaning that previous displays are appearing in the background.

 

 

Has anyone seen something like this before. Perhap it is another issue? Any help would be greatly appreciated. 

 

I am getting something like this...

 

DisplayIssue.png 

0 Kudos
Message 1 of 8
(2,828 Views)

Can you post your code?

 

You are either having problems with the way you are handling moving the object around in your code or your graphics card is having a strange problem with updating. Your code would be my first guess.

0 Kudos
Message 2 of 8
(2,818 Views)

Right-click the pictures. Is "erase first" enabled?

0 Kudos
Message 3 of 8
(2,814 Views)

Hi BFeigum,

 

Thanks for your reply. Here is a screenshot of the code. The blue wire that enters the loop contains a 2D array (24bit colour depth image). 

 

 

Issue with 3D display - code

I guess that the problem could be originating in the vi called "height map to 3D" which I have also attached below.

 

HeightMapTo3D.png

 

Any further help would be greatly appreciated.

 

Cheers.

0 Kudos
Message 4 of 8
(2,781 Views)

Hi altenbach,

 

Thanks for your response. I can't seem to find how to find the option for "erase first", to see if it is enabled or not. I will keep looking. I see that this takes an input (0,1,2, etc) for which I presume I should set a value of 2?

 

Any guidance on how to set this parameter would be great.

 

Cheers. 

0 Kudos
Message 5 of 8
(2,780 Views)

Hi

 

The erase first should be available as a property (from a property node) of the 3D picture control.

Wiring a two into the property will set 'always erase' which sounds like a safe bet.

Have you been able to test the code on a different machine?

 

Kind regards

Chris | Applications Engineer NIUK
0 Kudos
Message 6 of 8
(2,758 Views)

You'll find the LabVIEW Help window will update with info about the different properties if you hover over the property name in the property node.  Further help is usually linked from there as well if you need more details.

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 7 of 8
(2,741 Views)

HI hicksc,

 

The 'erase first' property seems to belong to picture controls (blue wire) but not for my display which takes a reference (dark green wire). 

 

Cheers,

 

Matt

0 Kudos
Message 8 of 8
(2,709 Views)