![Agilent Technologies 81250 System Programming Manual And Scpi Reference Download Page 100](http://html.mh-extra.com/html/agilent-technologies/81250/81250_system-programming-manual-and-scpi-reference_2868601100.webp)
:EDIT:SEGMent(*) Subsystem
Commands in DSR Application Subsystems
Agilent 81250 Parallel Bit Error Ratio Tester, Programming Reference, March 2006
99
Return Value
If the segment was successfully opened, the query returns the index of
the segment inspector allocated to the segment. If the query returns
zero, the segment could not be opened.
N O T E
At low system clock rates (low frequencies), it takes some time till the
system is ready to give access to the data segments. So, it is
recommended to check the system state by the command :SGEN:
GLOB:SYST:STATe? and wait until FINished is returned (see
“:
<Handle>:SGENeral:GLOBal:SYSTem:STATe?” on page 155
). Then
stop the system by the command :SGEN:GLOB:INIT:CONT OFF (see
“:
<Handle>:SGENeral:GLOBal:INITiate:CONTinuous” on page 154
).
Now it is possible to open the data segments.
Example
:_test:EDIT:SEGM:OPEN? "PAYLOAD"
might return the following segment inspector index number:
3
As an example, the following command would save this segment under
a new name:
:_test:EDIT:SEGM3:SAVE "PAYLOAD2"
:<Handle>:EDIT:SEGMent(*):SAVE
Syntax
:<Handle>:EDIT:SEGMent(*):SAVE [<“SegmentName”>]
Parameters
[<“SegmentName”>]
Optional quoted string of the segment name
with the target location for the new segment. The new segment can
either be located in the “GlobalSegments/” pool or the
“LocalSegments/” pool.
(*)
Inspector number of the segment.
Description
This command is used to save segments. When the “SegmentName” is
given, it is a “save as”; if the “SegmentName” is omitted, then it is a
“save” to the current segment name.
Example
The following example saves the segment “test” that got the number
“3” from the segment inspector (the number is the return value of the
command
:<hdl>:edit:segm:open?
) as the new segment “payload” to
the “GlobalSegments/” pool:
:_test:edit:segm3:save "GlobalSegments/payload"
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com