08-02-2012 12:26 PM
I need help on how to design a display of the dual axis tilt sensor.As the sensor is tilted to X or Y axis,it cause a change in output voltage which I have aquired using DAQ. My problem is to design a display that will show the change in the output voltage as a result of the tilting of the sensor.It can either be in a form of polar plot whereby the movement of a bubble in the polar plot corresponds to the tilting of the sensor or an animation that moves in the direction in which the sensor is tilted.Thanks in advance for your assistance.
08-02-2012 02:51 PM
There are few ways to do it. You can use, 2 gauge indicators, one for each axis tilt. You can also use regular plot, and say plot a horizontal line, and use the data acquired from the sensor as a slope. So with change in the input data will change the slope of the line and and the line on the plot will appear to be tilted.
08-03-2012 07:49 AM
Thanks odessy27 for your suggestion. Sorry for not stating earlier that I don't want to use guage,meter,lighting or just line. I need something like animation.Eg. a tree that will bent to the right when the sensor is tilted to positive X axis or to the left when the sensor is tilted to the negative X axis. If there is any way I can also use a bubble in a polar plot to indicate movement of the sensor,that will also be highly appreciated.Thanks
08-03-2012 10:26 AM
Well., it is interesting. I tried to do that something like that a long time ago. The brute force way to do it would be, create images for range of slopes, and use case structure to display it based on the acquired data from inclinometer. Is it smart way of doing it, may be not, but I think it is easiest way of doing it. This thread should give you more idea about how to do it.
-Nilesh
08-03-2012 11:35 AM - edited 08-03-2012 11:35 AM
If you have an image that you would like to rotate based on the value of the sensor, you might want to look at this example.
http://forums.ni.com/t5/BreakPoint/LV-Picture-Control/m-p/230351#M748
08-03-2012 12:37 PM
Hi Nilesh,
Thanks for your response. I am not that sound in labview but I beleive we learn by trying.If you can shade more light on how to create images and case structuring,i guess that will help me to work on it over the weekend.Thanks
08-03-2012 12:40 PM
Hi Phillip,
I will check it out and get back to you.
Thanks