Compact "diode-based" multi-energy soft x-ray diagnostic for NSTX.