0

Level Sensor In Display Page

Angus Reen 2 months ago in IQANdesign updated by Kerry Brock 2 months ago 1

Hi,


I was just wondering if anyone had a good solution for a visual tilt coordinate system in a master display? I am trying to translate a tilt sensor to a visual depiction of something similar to a Leveler Bubble like the photo I have attached to this thread. When editing a display page, you cannot set the coordinates of an image to an input channel, so that a bubble could rotate freely around the page depending on the angle of the head. Currently, the only solution I have been able to come to is having many bubbles on the display page, and showing/hiding them depending on the position of the head using internal digital channels. This does take some time, and can be inaccurate depending on the increments between each 'bubble' on your page. Any help or ideas would be greatly appreciated.

Cheers,

Angus

Image 4597

+1

Hi Angus, you can add an image and use a math channel to determine the "Top" and "Left" positions.

Use a different channel for each.  This will move the position of the bubble image on the display page based on the values of those two channels. If you use something like the image above, there would be two images, one of the main liquid filled level and another of a bubble.  The liquid filled image would stay stationary and the bubble would move around based on the math channels for Top and Left.  Hope this helps.