Instrument Control (GPIB, Serial, VISA, IVI)

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

SCIP COMMAND DOES NOT WORK ON N9320B

Need to know what the syntax is to recall a state from local file on N9320B.

Using the following syntax command, i__ret = agn9320ni_WriteInstrData (spectrum_analyzer, "MMEM:LOAD:STAT 1,STATE003.STA");

 

Get the following "Error -148 Character data not allowed."

 

 

0 件の賞賛
メッセージ1/11
5,671件の閲覧回数

did you issue "CONF:SAN" first?


"Should be" isn't "Is" -Jay
0 件の賞賛
メッセージ2/11
5,670件の閲覧回数

Reran the command with the following changes.

 

i__ret = agn9320ni_WriteInstrData (spectrum_analyzer, ":CONF:SAN");


i__ret = agn9320ni_WriteInstrData (spectrum_analyzer, ":MMEM:LOAD:STAT 1,STATE003.STA");

 

The Spectrum Analyzer shows the following error during "MMEM" command:  "ERROR -148 Character data not allowed"

0 件の賞賛
メッセージ3/11
5,643件の閲覧回数
Your question is best answered by the manual or by Agilent. What have you tried?
0 件の賞賛
メッセージ4/11
5,635件の閲覧回数

@chinook1 wrote:

Reran the command with the following changes.

 

i__ret = agn9320ni_WriteInstrData (spectrum_analyzer, ":CONF:SAN");


i__ret = agn9320ni_WriteInstrData (spectrum_analyzer, ":MMEM:LOAD:STAT 1,STATE003.STA");

 

The Spectrum Analyzer shows the following error during "MMEM" command:  "ERROR -148 Character data not allowed"


As Dennis said this is probably a case where you need to RTFM (Read the fine manual.)  Since I have, and we know that the device is configured in spec anny mode, there is only one reason that a *.sta file would fail with -148.

 

You device's firmware is older than the feature set contained in the *.sta file (The FW of the unit that generated the file saved features that were unsupported in the FW version of the unit you are trying to load it on)   Check for FW upgrade.  The manual will tell you how to get the currently loaded FW revision and upgrade processes.


"Should be" isn't "Is" -Jay
0 件の賞賛
メッセージ5/11
5,631件の閲覧回数

Upgrade the firmware per Agilents web site. Currently at Revision: 0B:03:51.

 

That did not resolve my issue. Stil getting the same error using the same commands.

 

 

0 件の賞賛
メッセージ6/11
5,624件の閲覧回数

Try a new *.STA file (possibly State003.sta is corrupt)


"Should be" isn't "Is" -Jay
0 件の賞賛
メッセージ7/11
5,622件の閲覧回数

Saved another setting on analyzer named STATE006.STA. Tried the same command and received the same error message.

 

0 件の賞賛
メッセージ8/11
5,619件の閲覧回数

Went the long route work around.

 

Created individual scpi command lines that simulated the saved Network Analyzer setting and that worked fine.

 

 

0 件の賞賛
メッセージ9/11
5,614件の閲覧回数

Just received an email from Agilent. See information below.

 

Hi Ron – I heard back from the Division on this one:

 

Please add the double quote for the file name as below and then it will be fine.

:MMEM:LOAD:STAT 1,"STATE001.STA"

 

It was incorrectly documented in the programming manual and is being updated.  My apologies for the inconvenience caused by this.

 

Not sure if the NI driver for the N9320B needs to be updated?

0 件の賞賛
メッセージ10/11
5,600件の閲覧回数