05-18-2006 06:19 PM
05-19-2006 05:17 PM
Hi Tim,
I wasn't able to run your code because I don't have a FieldPoint device set up, but I don't think the event structure is going to remedy the problem that you are trying to fix. The issue is that your main loop is timed to run only once every 10 seconds, and thus any code that you put inside of it (including event code) will only be executed once every 10 seconds. If you want to process other things at a different rate, then you need to build a second parallel loop that is timed to execute at a different rate. In order for both loops to run concurrently, they need to be entirely parallel, which means that there can not be any data dependencies between them. Any data that needs to be transferred between the two loops will need to be transferred by local variable or property node.
Kind Regards,