The =93if this, do that conditional=94 tools in LabVIEW are the Select
function (All Functions >> Comparison subpalette) and the Case
Structure (All Functions >> Structures subpalette), depending on the
complexity of what you want to do =93if this happens=94.
Keep in mind that, as Dan said, whatever you have wired to the border
(=93as an output=94) of the while loop will not be updated until the while
loop finishes executing. Depending on what you want to do, you could
have the Case Structure inside the while loop.
Hope this helps!