Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual
Page 25
Teledyne LeCroy
PETrainer Scripting Language
20
Example 1:
This example shows how to send a PM_Active_State_Request_L1 power management DLLP. This
DLLP would be sent 132 times.
The DLLP’s CRC is calculated automatically since CRC is not specified.
Packet = DLLP {
DLLPType = PM_Active_State_Request_L1
Count = 132
}
Example 2:
This example shows how to send a DLLP with an incorrect CRC.
Packet = DLLP {
DLLPType = PM_Enter_L1
CRC = 0x1234
}
Example 3:
This example shows how to modify reserved fields in a DLLP using the RawData parameter. (See the
RawData parameter, Page 29.)
Packet = DLLP {
DLLPType = PM_Active_State_Request_L1
RawData@3 = ( D11.1, D11.2 )
}
Example 4:
This example shows how to specify reserved fields in a DLLP using the Field parameter.
Packet = DLLP {
DLLPType = Ack
Field[8:19] = 0b101001000111
}