In network analyzer only one S-parameter window is opened with one S21 Trace (Phase format). When we manually save the data as .csv file on the network analyser, its saving Phase and amplitude data together in the file.
We could able to read phase and amplitude separately from separate window one after other by switching the window and using "FDATA" SCPI command.
But when we try to read the data through software programmatically, not sure how to read both phase and amplitude together from one window and one trace. Need to know how to save data like its being saved manually on .csv file.