You can do it using a while loop conditional on i<10, or have a case inside a for loop that is conditional on the i<10. For loops, in LabVIEW, execute for a specified number of iterations and don't actually have a means to terminate early, so the only way to simulate this it to have them loop more times than needed and have a conditional case statement inside that only executes during the appropriate iterations.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion