beautypg.com

Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual

Page 79

background image

Teledyne LeCroy

PETrainer Scripting Language

74

Example 2:

This command writes 16 bytes, starting from address 0x1000, into the Mem64 memory region from file
c:/mem.bin.


AddressSpace = Write {

Location = Mem64

Offset = 0x1000

Size = 0x10

LoadFrom = “c:/mem.bin”

}



Example 3:

This command writes 7 bytes, starting from address 0x1000, into the Mem64 memory region from data
specified.


AddressSpace = Write {

Location = Mem64

Offset = 0x1000

LoadFrom = ( 0x02, 0x08, 0x01, 0x03, 0x06, 0x07, 0x07 )

}



Example 4:

This command writes 48 bytes of random data, starting from address 0x10, into the IOA memory region.


AddressSpace = Write {

Location = IOA

Offset = 0x10

Size = 0x30

LoadFrom = Random

}