Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When should a MCL Background Program be used versus a simple list of commands that is controlled by the Query Interval property?

0
Posted

When should a MCL Background Program be used versus a simple list of commands that is controlled by the Query Interval property?

0

In general, background programs should ONLY be used to perform LONG processes (perhaps controlling some very slow homing maneuver) which would otherwise completely halt the normal MC4 update cycle. When I use an MCL program to show a panel then all objects that use MCL query programs are disabled when the panel is shown. A MCL program cannot send any commands that will cause another MCL program to run. This is what is happening since the buttons that show the panels are using little MCL programs to decide whether to show or not. When the panel is shown then all its display objects execute their query commands to display current data. These MCL query commands fail because the button’s MCL program is still running. Change these buttons to simple show commands or rewrite this function in JScript and your problem will go away. Back to Top PMAC Device Questions If I give the % command I get no response from PMAC. The ‘%’ character signals the start of format codes in MC4 commands. However,

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.