Hi all,
I am trying to control a SR780 analyser, I have written some LV code that is nearly doing everything it's supposed to, span, windowing, coupling etc. However, I can't seem to turn on the averaging. The instrument just says "NoAvg" and then the code is in an endless loop (while loop, waiting for the number of averages to hit a specific value, which it never does). However, the rest of the code is known to be correct as it was all working until I noticed that another parameter wasn't being set which has now been fixed but thrown out the averaging.
I have attached my LV code (which is a bit messy now from all of the debugging, bunch of wait timers etc).
Any help would be greatly appreciated.