LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to rotate image of picture ring

Hi,

  I want to rotate image of picture ring (in particular angle). In my application I want to move a object(in circular form). Please tell me how to do it?

                                        - Thank you

0 Kudos
Message 1 of 9
(5,423 Views)

Hi Sonali,

i'm not sure if you mean the picture ring itself or the image with is shown in the picture ring. Do you need to rotate it at runtime or only ones?

 

Mike

0 Kudos
Message 2 of 9
(5,414 Views)

  hi,

       I mean the image with is shown in the picture ring and I need to rotate it at runtime, I need to move the object in circular form continuously. I'm attaching one vi, in that i have added one picture which i need to move.

                  Thank you-

Message 3 of 9
(5,411 Views)

hi,

       I mean the image with is shown in the picture ring and I need to rotate it at runtime, I need to move the object in circular form continuously. I'm attaching one vi, in that i have added one picture which i need to move.

                  Thank you-

0 Kudos
Message 4 of 9
(5,402 Views)

Hi,

one solution would be to insert your train in all positions you need it and to switch between the images. The other would be to read the image data from the picture ring, use an algorithm to rotate the image as much as you need it and write it back into the picture ring.

 

Can you explain in more detail how your program should work?

 

Mike

Message Edited by MikeS81 on 02-03-2009 09:48 AM
0 Kudos
Message 5 of 9
(5,376 Views)
Hi,       I'm attaching one Jpg file; I need to move the train as per image route. I have tried position property node to change its position but problem is at turn, I can not rotate image of train smoothly through 900.                              - Thank you 
0 Kudos
Message 6 of 9
(5,355 Views)

Hi Sonali,

the atatched example is able to rotate your train.

 

Hope it helps.

Mike

Download All
0 Kudos
Message 7 of 9
(5,324 Views)

 Hi MikeS81,

                      Thanks. But again one more problem is that how to move it  and rotate it at the same time. In my program I need to move 25 trains at a time and according to signals need to stop and again move on track. If u could help me for one train also it will help me.

                                                                                - Thank you

0 Kudos
Message 8 of 9
(5,318 Views)

Hi Sonali,

as i said before, you should load your different train locations into the picture ring. As i understand now you move the entire picture ring to move your train. I think this part is already done by you. To rotate the train, you can change the picture ring value to show a new rotated train. I think you need not more then 10 picture in your picture ring for 90°.

 

Is there a reason why you can't use this solution?

 

Try to help.

Mike

0 Kudos
Message 9 of 9
(5,304 Views)