Need Help- Circular Dependency Error

Hey everyone,

I’m relatively new to using XOD and I’m running into an issue that I can’t seem to figure out. I’m getting a “Circular Dependency Error” in my project, and it’s driving me nuts! :tired_face:

I’m trying to create a project where a sensor reads data, processes it, and then sends a signal to another node to perform an action. But for some reason, XOD keeps throwing this circular dependency error at me. I’ve double-checked my connections and logic, but I’m still stuck.

Here’s a bit more detail on what I’m trying to do:

  • Sensor node reads data (e.g., temperature sensor)
  • The data is processed by a node to determine if an action is needed
  • If the action is needed, it sends a signal to another node (e.g., a motor controller)

When I was searching about this I came across to these resources/articles Error While downloading Dependencies Salesforce admin tutorial Errors — XOD and based on them I tried the following.

I’ve checked my connections multiple times and can’t see any obvious loops.

What exactly does this error mean, and how can I resolve it? Has anyone else encountered this and found a solution?

Any advice or suggestions would be greatly appreciated! Thanks in advance!

Cheers,

We would need to see your code to offer specific help. Since it mentions “circular dependency”, I’m assuming you are looping back up in your code, creating a loop. XOD requires a ‘defer’ node in the wire whenever you do this. For example, if there is a pulse when you are done processing the temperature, and you want to run this back up the code to initiate another temperature reading, you need to run the pulse to a ‘defer’ node, then to the temperature-read node.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.