I am working on controlling the network analyzer by using instrument drivers. I input the sweep signal from 45MHz to 2GHz. After measured in network analyzer, the measuring values are outputed and are saved in a file. Now if I run this program continuly, the data saved are totally wrong, but no errors appear. If I run it step-by-step, the data saved are great. I am confused about it. Is there anyone knows it? Thanks