Fatenah,
You need to use Single Trigger Mode on your 5411. Do this by
calling the niFgen Configure Trigger Mode.vi and specifying "Single" as
opposed to the default "Continuous". See the attached picture.
There is some great documentation on this in NI Signal Generators Help.
Start>>Programs>>National Instruments>>NI-FGEN>>Documentation>>NI Signal Generators Help.
Browse to Devices>>NI 5411>>Triggering>>Triggering Modes>>Single Trigger Mode.
You will probably want to add a DC stage at the end of your waveform,
as the last stage will repeat continuously until the Abort is called.
Have a great day!
Travis W