documentation/graphs/fsm_pdo_conf.dot
author Florian Pose <fp@igh-essen.com>
Tue, 20 Dec 2011 11:12:04 +0100
branchredundancy
changeset 2306 4c0c7347a956
parent 1327 4d179b06dd3c
child 2513 e60c68f33e4f
permissions -rw-r--r--
Removed some locks causing latency when using the library; added ioctl()
latency debugging; fixed FoE memory leaks in error case.

/* $Id$ */

digraph pdo_conf {

    start [fontname="Helvetica"]
    start -> action_next_sync [fontname="Helvetica",label="First SM",weight=10]
    start -> end [fontname="Helvetica",label="No config"]

    action_next_sync [shape=point,label=""]
    action_next_sync -> action_check_assignment [fontname="Helvetica",label="No PDOs"]
    action_next_sync -> action_pdo_mapping [fontname="Helvetica",label="First PDO",weight=10]
    action_next_sync -> end [fontname="Helvetica",label="No more SMs"]

    action_pdo_mapping [shape=point,label=""]
    action_pdo_mapping -> read_mapping [fontname="Helvetica",label="Unknown"]
    action_pdo_mapping -> action_check_mapping [weight=10]

    read_mapping [fontname="Helvetica"]
    read_mapping -> action_check_mapping

    action_check_mapping [shape=point,label=""]
    action_check_mapping -> action_next_pdo_mapping
    action_check_mapping -> mapping [weight=10]

    mapping [fontname="Helvetica"]
    mapping -> action_next_pdo_mapping [weight=10]

    action_next_pdo_mapping [shape=point,label=""]
    action_next_pdo_mapping -> action_check_assignment [weight=10]
    action_next_pdo_mapping -> action_pdo_mapping
    [fontname="Helvetica",label="Next PDO"]

    action_check_assignment [shape=point,label=""]
    action_check_assignment -> action_next_sync [fontname="Helvetica",label="Assign ok"]
    action_check_assignment -> zero_pdo_count [weight=10]

    zero_pdo_count [fontname="Helvetica"]
    zero_pdo_count -> action_next_sync [fontname="Helvetica",label="No PDOs"]
    zero_pdo_count -> action_assign_pdo [fontname="Helvetica",label="First PDO", weight=10]

    action_assign_pdo [shape=point,label=""]
    action_assign_pdo -> assign_pdo [weight=10]

    assign_pdo [fontname="Helvetica"]
    assign_pdo -> set_pdo_count [fontname="Helvetica",label="No more PDOs", weight=10]
    assign_pdo -> action_assign_pdo [fontname="Helvetica",label="Next PDO"]

    set_pdo_count [fontname="Helvetica"]
    set_pdo_count -> action_next_sync
}