From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
This is a very basic thing. You should use a while loop, and learn what is a shift register. Do not use the "Run Continuos" mode.
If you are a student, you can have access to the Core 1 online training videos. I strongly suggest you to start learning using these freely available sources, before asking here to solve your home work 😉