I have two channels and I'm sending signal to them via 33522B Waveform generator. However, I'm unable to get query results for phase and query. Is there any prerequisites to use them ?
You might have to install the measurement (with the command form) before you can query the results.
I did this too, it didn't solve the problem unfortunately.
I just tried it, and the query sends results without the command first. I probed two phase-shifted sine waves after a default setup and auto scale, and :MEASure:PHASe? CHANnel1,CHANnel2 and :MEASure:DELay? CHANnel1,CHANnel2 gave me the measurement results. Are your measurement thresholds different than what you get after a default setup?
No, I didn't specify any threshold. Also, I can see the delay and the phase in sweep mode in the instrument screen.
The last thing I can suggest is using the IO Monitor in the Keysight IO LIbraries Suite to see if it gives any clues about what might be going on. The query should either return the measurement value or +99E+36 if the measurement can't be made.
Thank you for your suggestion. I got the correct results now. I think that it was related to data acquitision mode, I used to set it DIGITIZE mode, once I delete it, it gave correct results.
Retrieving data ...