thanks for your answer.

additional question about PNA (E8358A)

my previous equipment E5071C ENA case .

easy to get freq array from ENA.

myNa01.WriteString("SENS1:SEGM:SWE:POIN?", true);

Number_Of_Point_ENA = myNa01.ReadString();

Freq_List_result = null;

Freq_List_result = new double[Number_Of_Point];

myNa01.WriteString(":FORM:BORD NORM; :FORM:DATA REAL", true);

myNa01.WriteString(":SENS1:FREQ:DATA?", true);

Freq_List_result = (double[])myNa01.ReadIEEEBlock(IEEEBinaryType.BinaryType_R8, true, true);

check above ENA code .

easy to get and transfer frequency to my array.

in PNA (E8358A) case.

i also check PNA help manual.

i could not find getting freq command.

i just need kind of ":SENS1:FREQ:DATA?" this command.

does PNA not support transfer frequency array?

thanks

additional question about PNA (E8358A)

my previous equipment E5071C ENA case .

easy to get freq array from ENA.

myNa01.WriteString("SENS1:SEGM:SWE:POIN?", true);

Number_Of_Point_ENA = myNa01.ReadString();

Freq_List_result = null;

Freq_List_result = new double[Number_Of_Point];

myNa01.WriteString(":FORM:BORD NORM; :FORM:DATA REAL", true);

myNa01.WriteString(":SENS1:FREQ:DATA?", true);

Freq_List_result = (double[])myNa01.ReadIEEEBlock(IEEEBinaryType.BinaryType_R8, true, true);

check above ENA code .

easy to get and transfer frequency to my array.

in PNA (E8358A) case.

i also check PNA help manual.

i could not find getting freq command.

i just need kind of ":SENS1:FREQ:DATA?" this command.

does PNA not support transfer frequency array?

thanks

BUT STILL REMAIN PROBLEM.

I FOLLOW your advice .

double[] Freq_List_result = null;

myPNA01.WriteString("SENS1:SWE:TYPE?",true);

Sweep_Type = myPNA01.ReadString();

if (Sweep_Type == "SEGM\n")

myPNA01.WriteString("SENS1:SEGM:SWE:POIN?", true);

Number_Of_Point_ENA = myPNA01.ReadString();

Number_Of_Point = Convert.ToInt32(Number_Of_Point_ENA);

Freq_List_result = new double[Number_Of_Point];

myPNA01.WriteString(":FORM:BORD NORM; :FORM:DATA REAL", true);

myPNA01.WriteString("SENS1:X:VAL?", true);

Freq_List_result = (double[])myPNA01.ReadIEEEBlock(IEEEBinaryType.BinaryType_R8, true, true);

it is just process, we have to focus last line. IT DOES NOT SUPPORT DOUBLE TYPE?

BECAUSE I TRY MANY TIME BUT IT DID NOT WORK.

BUT I CONVERT TO DATA TYPE FLOAT THAN IT'S WORKING.

YOU KNOW USUALLY MANY MATH FUCTION NEED DOUBLE TYPE.