Skip to main content

sow-historical-filter

Import the AMPS library:

import AMPS

Construct the command:

cmd = AMPS.Command(AMPS.Message.Command.SOW)
cmd.set_topic(topic)
cmd.set_filter(filter)

# AMPS bookmark or time specificier
cmd.set_options(point_in_time_specification)

The command can now be used in execute or execute_async.