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.
View all comments
Show parent comment
1
u/Similar-Priority-776 Apr 11 '26
Yeah its weird, I tried putting the existing JMPLs between the sections. Like channel 1 input impedance is start and end LABEL wrapped around the CALL sub. Then the JMPL to DCV Gain channel 1 is outside that section. Compiles without error and even the sectioned tree structure looks good in Runtime. Then I start it and its just a wash of those errors. If you want to see a sample let me know, I could send through tech support official channels if you like?