Hi, I wrote a program to get measurement data out of the Hp8753 Network analyser. In this program there's a sub-vi where in the Network Analyser receives a query for the type of sweep. The command therefore is Linfreq? ,Logfreq? ... A lot of the time this subvi's keeps running (query in while loop), so it doens't come up with the type of sweep the Analyser is in. Now say the Analyser is in Linsweep, this subvi will answer most of the time with 0 (= no analyser not in Linsweep mode), while if I enter this command at the same time in Max it gives 1 (yes analyser is in linsweep mode), or even if I copy the subvi in a new empty vi the result will be 1, STRANGE I think... The subvi generates no error and there's no connection problem or so... Like I said the subvi and the EXACT same stand alone vi give totally different results, the input for the sub is Visa session in and error in but none of these have wrong values.... Any idea why there's a conflict???
