You could connect the error line via a shiftregister in the loop to the gpib subvi. This enforces the dataflow to first execute the loop and then the gpib call.
Why use a shiftregister here?
Although the use of shiftregisters is not difficult it is not the first lesson in wiring. If you simply wire the error line through the loop you can run into trouble when the loop is executed zero times. With a shiftregister the value of the error is always correctly connected through the loop also when the loop does not execute.
succes
greetings from the Netherlands