
Page 3.30
=============================================================
PROGRAM SETUP PS
-------------------------------------------------------------
Purpose:
Restores a complete setup, previously saved with the SS
(Save Setup) command and queried with the QS (Query Setup)
command and saved in a string variable or to a file.
<Command 1> -> <Response 1> -> <Command 2> -> <Response 2>
Command Syntax 1:
PS [<saved_setup_no>]<cr>
where,
<saved_setup_no> = 0 : Actual setup
Response Syntax 1:
<acknowledge><cr>
Command Syntax 2:
<queried_setup><cr>
<queried_setup> = The data returned with the QS command.
(omit the <acknowledge><cr> response).
Response Syntax 2:
<acknowledge><cr>
Note: Wait for at least two seconds after the
<acknowledge> reply has been received, to let
the ScopeMeter settle itself before you send the
next command.
Remarks:
The ScopeMeter sends the <acknowledge> reply
after it has executed the setup from the PS command.
You must send the <setup> string as a whole, exactly as
returned from the QS (Query Setup) command.
If you do not follow this rule, the ScopeMeter
may crash. A Reset may then be necessary to recover
the ScopeMeter. (Refer to the ScopeMeter Users Manual.)
Example:
The following example program demonstrates the use of the
QS (QUERY SETUP) and the PS (PROGRAM SETUP) commands.
The present setup is queried from ScopeMeter and saved to
file. The program asks you to change the ScopeMeter settings.
Then the original setup is read from file and sent back
Содержание ScopeMeter 190 Series
Страница 40: ...Page 3 29 Response Syntax acknowledge cr See an example for this command under QUERY PRINT QP...
Страница 42: ...to the ScopeMeter...
Страница 64: ......
Страница 68: ...Resp Count Resp Count 2 PRINT x_divisions X Divisions...
Страница 70: ...PRINT x_step X Step...
Страница 72: ...nb nb ASC MID Resp Resp Count 1 1 ELSE...
Страница 74: ......
Страница 76: ...PRINT SumCheck so far MOD 256 SumCheck1 MOD 256 CLOSE END...
Страница 78: ...END IF...
Страница 80: ...END IF NEXT j...
Страница 83: ...Resp Count Resp Count Sample Bytes...
Страница 93: ...END IF RETURN End example program...
Страница 117: ...overload sample_value This field specifies which value in the trace samples represents the overload value...