AnsweredAssumed Answered

PNA 5230A

Question asked by delphianer on Feb 16, 2015
Latest reply on Feb 25, 2015 by Dr_joel
Hello
I am a Delphi programmer.
I have a lot of PNA and ENA.
I have written a Testprogram for testing RF assemblies.
one PNA name N5230A store not S2P files.
Code:

Dateis2p := 'D:\temp.s2p';
S2PList := TStringList.Create;
try
if ((pos('5230A',SBStatus.Panels.Items[1].Text) > 0) or (pos('5232A',SBStatus.Panels.Items[1].Text) > 0)) then
scpi.execute('MMEM:STOR '''+Dateis2p+''';') else
scpi.execute('CALC:DATA:SNP:PORTs:Save ''1,2'','''+Dateis2p+''';');
sleep(1000);
S2PList.LoadFromFile(Dateis2p);
ADOComResult.Parameters.ParamByName('S2P').Assign(S2PList);
finally
S2PList.Free;
end;

are other devices do not understand scpi.execute('CALC:DATA:SNP:PORTs:Save ''1,2'','''+Dateis2p+''';');
error code is -113

regards
Peter  

Outcomes