Cursor
Manually placeing cursors on a captured waveform is a convenient way to take ad-hoc point to point measurements.
Set Cursor Position
This allows you to specify the (x,y) coordinate of the cursor bar over a waveform.
Move Cursor Position
This allows you to shift the cursor relative to its current position.
Move Cursor A
move_cursor_a_position.py
from lager import Net, NetType
sck = Net.get('I2C.SCK',
type=NetType.Analog,
setup_function=setup_nets,
teardown_function=teardown_nets)
sck.cursor.move_a(x_del=10,y_del=42)
Move Cursor 'A' Position
~ lager analog I2C.SCK cursor move-a --del-x 10 --del-y 42 --dut 1
Move Cursor B
move_cursor_a_position.py
from lager import Net, NetType
sck = Net.get('I2C.SCK',
type=NetType.Analog,
setup_function=setup_nets,
teardown_function=teardown_nets)
sck.cursor.move_b(x_del=42,y_del=10)
Move Cursor 'B' Position
~ lager analog I2C.SCK cursor move-b --del-x 42 --del-y 10 --dut 1