11-17-2013 04:39 AM
Hello Everyone,
I have a problem here, I have done up a rectangle using Draw Rectangle.vi on a X-Y graph however I have no idea how to add a marker to circulate around it.
Can any kind souls advise me on this please? Am I in the right direction?
The picture below explains my requirements (I need to be able to control the marker's speed and direction of rotation, also the size of shapes):
Any help is much appreciated! Thank you very much!
Solved! Go to Solution.
11-17-2013 11:50 AM
Here is something to get you started.
Key points: 1. You need to be able to track the position on the boundary of the image you are placing the marker on. For rectangles it is easy since only one direction changes at a time for other shapes it can be messier.
2. In the loop where the marker is placed do NOT use a shift register for the picture. Doing so will result in a series of markers rather than one which appears to move.
Many of the indicators in this VI are just for diagnostic purposes.
Lynn
11-17-2013 11:53 AM
Thanks a lot, Lynn! I will study your .vi and make it to good use!
Have a good week ahead!