Agilent Technologies E1300B User Manual

Page 96

Advertising
background image

address. You will then know the starting address , and (from the

NRAM:CRE < size> command) the length of the NRAM segment.

Example: Allocating an NRAM segment and locating it. This example shows
how to allocate a small 128 byte NRAM segment. In addition, it shows how to
determine the starting address of that segment.

define variables

10 REAL Addr,Size

128 byte NRAM segment

20 OUTPUT 70900;"DIAG:NRAM:CRE 128"

reset the system

30 OUTPUT 70900;"DIAG:BOOT"

allow time for reset to begin

40 WAIT 5

wait for self-test to complete

50 ON TIMEOUT 7,.1 GOTO Complete
60 Complete:B= SPOLL(70900)

query starting addr

70 OUTPUT 70900;"DIAG:NRAM:ADDR?"

enter starting addr

80 ENTER 70900;Addr

print it

90 PRINT USING "31X,""Addr= "",8D";Addr

4-8 Using the Mainframe

Advertising
This manual is related to the following products: