Plot difference between two axis positions

I’m new here. I picked programming over RMCTools because I’m guessing some programming will be needed to create the value I want to plot.

As the topic says, I want to plot the difference between two axes positions. The axes are being controlled by one program. I want to monitor how far apart they are. Is there a way to put this in the “Formula” field of the Plot Template? Or, will I need to define a continually running program in a separate task to do the calculation? Or, other suggestions?

Hi Charlie,

Thanks for posting on our forum.

You will need to the calculation in a user program. Our Plot Template formulas do not support differences. Below is an example of the user program that can calculate the difference. The ABS will ensure the difference is always positive.

image

I’d also recommend viewing this topic: Make a user program always run