LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

STL geometry object

 Hello, 

I am LabVIEW developer and i am new to the STL geometry coding.

I have load the STL image in the LabVIEW.  i am giving  the constant value to the rotate  X  and Y axis vi. still STL geometry image is flickering (Unsteadily) Ideally it should be at constant position. is any one knows the reason behind this ? or am I missing something. 

 

Thanks in advance

 

Kiran@

 

0 Kudos
Message 1 of 4
(400 Views)

can you share some of the code ? in lv 2020 pls ? 

 

0 Kudos
Message 2 of 4
(375 Views)

I don't have LV 2020 installed on my PC. So here is simple LV code which I have developed and sometimes its working Okay. but after sometimes image start to flicker (Unsteadily)

Kiran_0-1686308771261.png

Flickering video I have uploaded on the below link.

https://screenrec.com/share/hVXdtIMgGN

 

 

0 Kudos
Message 3 of 4
(343 Views)

Do you want to continually rotate the device at a rate of 1kHz?

 

Or do you want to set a constant rotation value?

 

Your code is performing a rotate function every 1ms. Obviously, unless you have a very fast PC and extremely fast monitor, you're not going to see all of these. What you are seeing is a snapshot of your object's position whenever a screen refresh is happening. If anything, I'm surprised it's so repeatable.

 

Try using "Set rotation" instead of "Rotate" and slow down the loop by a factor of 20 or so. i.e. wait on ms with 20ms set. This is still a 50Hz update rate.

Message 4 of 4
(331 Views)