Hello,
Yes, the sweep is in a loop. The trigger and buffer reading are in different VI. In the buffer reading VI we subtract the previous reading with the recent reading to know when there is a difference in current. It's like a contact from a relay. The contact is in a certain distance and by rotating a screw the distance closes or opens. The contact has to close with 24 mA applied. We apply various sweeps since a stepper motor si doing the calibration by moving the screw. This is done by three stations at the same time continuously but the three power supply are being controlled by one PC through GPIB.