07-29-2013 08:09 AM - edited 07-29-2013 08:13 AM
Hello 🙂 I'm trying to use mouse coordinates to draw on XY graph 270 degrees. Meaning if i move my mouse to the left, the graph will draw upwards, if i move my mouse to the right, it will draw downwards
I found this online : https://decibel.ni.com/content/docs/DOC-11437
and implemented on my VI, but i can't seems to get it working. (Originally, it can draw fine, but after adding the rotation, it doesn't draw anymore) Attached is my original VI and also the edited VI. Can someone helped me to troubleshoot?
07-29-2013 08:46 AM
It is drawing. It is just not within the scale of your graph. Here are some tweaks I made.
I also did some general cleaning up.
07-29-2013 08:04 PM - edited 07-29-2013 08:23 PM
Thanks for that, but is it possible to not have negative scale but achieving the similar results?
By The way, Thanks for helping me to clean up, my Technical Officer has been complaining about my programming which is extremely messy!
07-29-2013 09:01 PM
And regarding your point number 2, i don't get how the looping reads minus the initial reads will get me a starting point of (0,0)