Author Topic: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD  (Read 259 times)

0 Members and 1 Guest are viewing this topic.

Offline Antonino

  • Contributor
  • Posts: 5
  • Country: it
RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« on: August 26, 2020, 04:39:50 pm »
Hi,
i'm Antonino from Rome.
I want to apologize immediately for my poor English.

My problem arises when I intend to load a previously saved arbitrary pattern.

No problem if I try to load the ARB.SCP file already contained in the internal memory. (/INT/SETTINGS/ARB.SCP)

The problem only occurs when I try to load a file saved by me.
The oscilloscope freezes.

I found that the files I saved have more or less this formatting (MyFile.SCP):

:PGEN:FUNC ARB
:PGEN:PATT:ARB:DATA 1,2,4,8,0
:PGEN:PATT:ARB:DATA:LENGTH 5.000000e+00
:PGEN:PATT:BURS:STAT 1.000000e+00
:PGEN:PATT:ITIM 4.000000e-02
:PGEN:PATT:BURS:NCYC 5.000000e+00
:PGEN:PATT:STIM 1.000000e-04
:PGEN:PATT:STAT 1.000000e+00

Instead, the ARB.SCP file already in memory starts with:

*RST;*CLS
CHAN1:STAT 1
CHAN1:POS -2.5
PROB1:SET:ATT:MAN 10.0
CHAN1:SCAL 0.5
PGEN:PATT:STAT 1
PGEN:FUNC ARB
PGEN:PATT:ARB:DATA 0,1,2,4,8,0
TRIG:A:TYPE EDGE
TRIG:A:SOUR CH1
TRIG:A:EDGE:COUP DC
TRIG:A:EDGE:SLOP POS
TRIG:A:LEV1 1.5
TIM:SCAL 5e-6


If I manually add (through RSCommander on the pc) the line
* RST; * CLS
to MyFile.SCP then the oscilloscope loads correctly.


*RST;*CLS
:PGEN:FUNC ARB
:PGEN:PATT:ARB:DATA 1,2,4,8,0
:PGEN:PATT:ARB:DATA:LENGTH 5.000000e+00
:PGEN:PATT:BURS:STAT 1.000000e+00
:PGEN:PATT:ITIM 4.000000e-02
:PGEN:PATT:BURS:NCYC 5.000000e+00
:PGEN:PATT:STIM 1.000000e-04
:PGEN:PATT:STAT 1.000000e+00

Any suggestions?
Best regards and many thanks.

Antonino

P.S.
Device Firmware version 02.202
 

Offline PeDre

  • Regular Contributor
  • *
  • Posts: 156
  • Country: at
    • Private Website
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #1 on: August 26, 2020, 05:53:24 pm »
I can send the SCPI commands in one piece and the settings are applied without errors.
I do not use this RSCommander.

If I save the settings on a USB stick on the oscilloscope afterwards, there are no "*RST;*CLS" commands. Loading from USB stick will freeze the oscilloscope. The control panel is switched off completely, no keys are lit.
The oscilloscope can still be addressed via the USB connection.
« Last Edit: August 26, 2020, 05:55:04 pm by PeDre »
 

Offline Antonino

  • Contributor
  • Posts: 5
  • Country: it
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #2 on: August 26, 2020, 06:05:36 pm »
Hello
thank you very much.
Also, each line of the file begins with ":".
Strange behavior...

Antonino
« Last Edit: August 26, 2020, 06:08:49 pm by Antonino »
 

Offline PeDre

  • Regular Contributor
  • *
  • Posts: 156
  • Country: at
    • Private Website
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #3 on: August 26, 2020, 06:22:20 pm »
The colon is correct, this is part of the SCPI standard.

What is strange, no semicolons are used to separate the commands, but NewLine and LineFeed (\0x0D,\0x0A). Also no block format is stored on the USB stick as it is done in internal memory.

But loading from internal memory does not work either, the oscilloscope freezes.

Here is the output of the saved settings (0x0A is present as line break):
Code: [Select]
:MMEM:DATA? "/INT/SETTINGS/TEST3.SCP"

#3240:PGEN:FUNC ARB
:PGEN:PATT:ARB:DATA 1,2,4,8,0
:PGEN:PATT:ARB:DATA:LENGTH 5.000000e+00
:PGEN:PATT:BURS:STAT 1.000000e+00
:PGEN:PATT:ITIM 4.000000e-02
:PGEN:PATT:BURS:NCYC 5.000000e+00
:PGEN:PATT:STIM 1.000000e-04
:PGEN:PATT:STAT 1.000000e+00
« Last Edit: August 27, 2020, 01:30:05 pm by PeDre »
 

Offline Rich@RohdeScopesUSA

  • Frequent Contributor
  • **
  • Posts: 416
  • Country: us
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #4 on: August 26, 2020, 06:33:55 pm »
Let me run this by the development team.

Thanks,
Rich
 

Offline Antonino

  • Contributor
  • Posts: 5
  • Country: it
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #5 on: August 26, 2020, 07:09:16 pm »
@PeDre

Ok, but keep in mind the ARB.SCP prebuilt in internal storage(R&S) Is written whitout ":".
Thanks a lot
Antonino
« Last Edit: August 26, 2020, 07:14:28 pm by Antonino »
 

Offline Antonino

  • Contributor
  • Posts: 5
  • Country: it
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #6 on: August 26, 2020, 07:12:12 pm »
Let me run this by the development team.

Thanks,
Rich
Thanks to you!
Antonino
 

Offline Antonino

  • Contributor
  • Posts: 5
  • Country: it
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #7 on: August 26, 2020, 07:17:43 pm »

If I save the settings on a USB stick on the oscilloscope afterwards, there are no "*RST;*CLS" commands. Loading from USB stick will freeze the oscilloscope.
This Is true also for int storage.
No differnces.
Thanks,
Antonino
 

Offline Rich@RohdeScopesUSA

  • Frequent Contributor
  • **
  • Posts: 416
  • Country: us
Re: RTB2004-COM4 RTB-B6 Pattern Generator Trouble on SAVE/LOAD
« Reply #8 on: August 27, 2020, 01:53:59 pm »
Heard back from the team - this is apparently a known issue and a fix is planned for the next release.  The next release is currently planned for October.

-Rich
 
The following users thanked this post: egonotto, maginnovision


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf