LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

inclinometer display

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.

0 Kudos
Message 1 of 7
(3,695 Views)

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.



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 2 of 7
(3,682 Views)

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

0 Kudos
Message 3 of 7
(3,659 Views)

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



------------------------------------------------------------------------------------------------------
Kudos are (always) welcome for the good post. 🙂
0 Kudos
Message 4 of 7
(3,644 Views)

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

 

 

 

 

0 Kudos
Message 5 of 7
(3,632 Views)

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

0 Kudos
Message 6 of 7
(3,620 Views)

Hi Phillip,

I will check it out and get back to you.

Thanks

0 Kudos
Message 7 of 7
(3,618 Views)