Hi
I want to pause for a defined period of time per iteration of my for loop. I've tried using Thread.sleep(time) however this seems to just pause for a second and then do my entire loop, what gives?
@Action public void CycleElectrodeButtonPressed() throws InterruptedException {
for (int i = 0; i < 8; i++)
{
cbarray.setSelected(true);
Thread.sleep(1000);
}