Hi,

the program is not an exe., and there is no input to the subvi except
for the error in and the GPIB adress.

The while loop is in the subvi, the while loop keeps looping until the
network analyser returns a 1 to one of the querys (state of sweep
mode).

I am almost shure that the network analyser receives the query's,
otherwise the visa read wouldn't be executed correctly.I mean you
would not receive any answer, in my case I receive the wrong answer.


If I copy the sub vi to an blank vi, it is excatly the same ( so also
the while Loop) except that there is an empty 'error in' and I need to
provide the GPIB adress, both of these weren't a problem in the sub
vi.

Yes It might be a timing issue cause I fixed the vi with
including time to waits between every read and write.
But still this doesn't explain why the subvi was not working (
actually it was working but came up with the wrong results) but the
copied one Was working.

Reply via email to