取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
1 条消息(共 8 条)
3,290 次查看

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 项奖励
2 条消息(共 8 条)
3,280 次查看

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

0 项奖励
3 条消息(共 8 条)
3,276 次查看

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 项奖励
4 条消息(共 8 条)
3,243 次查看

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 项奖励
5 条消息(共 8 条)
3,242 次查看

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 项奖励
6 条消息(共 8 条)
3,220 次查看

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 项奖励
7 条消息(共 8 条)
3,203 次查看

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 项奖励
8 条消息(共 8 条)
3,171 次查看