This problem seems to be essentially the same as the one posed recently by ldrummon <a href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=5065000000080000003BB70000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0">"How do I detect number of transitions in my acquired data?"</a>.
Could you not use the threshold array.vi to find the first index of your plateau, then after inverting the subsequent data, use the vi again to find the last index of your plateau?
