sciollalab / BNL_ThermomechanicalStave

LabVIEW code for the ATLAS ITk thermomechanical stave assembly at Brookhaven National Lab
4 stars 4 forks source link

Run over the "Check initial coordinates" with a For Loop? #24

Closed hherde closed 7 years ago

hherde commented 7 years ago

Can we clean up the code by running a For Loop around the Check Initial Coordinates scheme? That way, we do not need three while loops performing essentially identical functions.

sciollalab commented 7 years ago

Yes! Turns out this is the way to do this piece of code. Jogging was freezing the program because we wanted to jog three times (once each for the different calibration coordinates), but each jog instance requires an event structure. LabVIEW can only process one event structure per block diagram! So we have to put the event structure inside of the For Loop.

Issue resolved in commit f66513aca89ec8193d953915cea709277ea140ad: "Post Test Result: Successful!" on 21 April 2017