ok, thanks for the reactions. I my program like this now. I need to use the random number to switch an random target, my question is how do i use my random number to switch an output/target? I tried some things but I'm not expierenced enough to know why is doesn't work. So maybe you guys have an idea.
This project is for an shooting range, so the random number need to switch an random target.