The goal of NIF is weapons research, not fusion power (though their technology can in principle be used for fusion power as well, albeit extremely unlikely to be economical).
ITER is indeed aimed at studying fusion for power generation. It's important to remember though that even if ITER reaches its stated goal, it will not generate even one milliwatt of power - it will in fact consume much more power than it can generate. In fact, they are so far from net power generation that they didn't even bother to try to extract any usable power from the plasma - it wasn't even worth it to add turbines.
DEMO will be the "project" to try to obtain positive net power from plasma (it's not a project, it's just a concept that several countries aim to separately execute on, unlike the international collaboration of ITER). And the timeline for any DEMO net power generation is estimated at 30 years after ITER is successful - so 2050+ IF both ITER and DEMO achieve their expected timelines perfectly.
ITER is indeed aimed at studying fusion for power generation. It's important to remember though that even if ITER reaches its stated goal, it will not generate even one milliwatt of power - it will in fact consume much more power than it can generate. In fact, they are so far from net power generation that they didn't even bother to try to extract any usable power from the plasma - it wasn't even worth it to add turbines.
DEMO will be the "project" to try to obtain positive net power from plasma (it's not a project, it's just a concept that several countries aim to separately execute on, unlike the international collaboration of ITER). And the timeline for any DEMO net power generation is estimated at 30 years after ITER is successful - so 2050+ IF both ITER and DEMO achieve their expected timelines perfectly.