Buddy you should probably try the attached .ctl and .vi to gain some idea. Hope this helps. Requires few modifications about array manipulation.
This control is from data logging and supervisory control module and I have placed it in an array and stretched it to display it as a long pipe.