Having trouble understanding how to run sequences from Farmware


#1

Aloha Folks,

I am currently making a stab at writing some Farmware. I am having success with simple movements and what not but am not quite understanding how to retrieve and run sequences.
Also, can Farmware invoke other Farmware?


#2
from farmware_tools import device, app

# Retrieve Sequence ID
sequence_id = app.find_sequence_by_name(name='test')

# Run Sequence
device.execute(sequence_id)

# Run a Farmware
device.execute_script(label='my-farmware')

#3

Perfect, thank you.
I spent most of my time looking through 3rd party Farmware and nothing was this straight forward.