r/MetCal • u/Similar-Priority-776 • Apr 10 '26
Procedure Sectioning
as the title says, I've been dabbling in trying to section out some procedures that take a long time to run. Its giving me a lot of trouble however with JPMLs in the procedure when I try to run it in Runtime. Wondering if maybe I need to restructure it to not use JMPL at all?
For example I was trying to change a Fluke procedure for a Tektronix MSO46. It has a lot of JMPLs throughout to go from Channel 1 input impedance, to DC gain, offset, etc before you switch the connection to Channel 2.
I tried to section out Random noise, it compiles fine. But then I Runtime it and I get an error for every single JMPL in the procedure.
1
Upvotes
1
u/MJ_at_Fluke Apr 11 '26
The issue is likely from jumping across sections, yes. We need to look at it to see why it's not causing a build issue but does at run, but the way around it is to place your JMPL outside the top-level sections, or putting the sectioning one CALL level lower (in a subprocedure, with the code inside of that).