Having an issue where I'm trying to improve syntax in Met/Cal procedures to make instrument naming conventions consistent across the board in our lab. When I change the name of an instrument in the header and then change all references to it to match I'm getting this error code whenever I try to publish the procedure: E1702: FSC JMPT: LINE XX: Illegal Statement.
This is with every single line that I've changed. For reference this is an example of what I've changed:
Original:
INSTRUMENT: Fluke 21-2: (1 year) CAL VER /5100,5220..
3.002 JMPT 3.008 Fluke 21-2: (1 year) CAL VER /5100,5220..
Revised:
INSTRUMENT: Fluke 21 II: (1 year) CAL VER /5100,5220..
3.002 JMPT 3.008 Fluke 21 II: (1 year) CAL VER /5100,5220..
Any ideas on what I'm doing wrong here?
You are messing with Fluke and they don't like it.
Literally illegal, SWAT is on it's way.
I had a problem like that once when I screwed up the name of the instrument. If the name is slightly off, such as an extra space or missing space, it won't work. Check spelling. Also, which version of Met/CAL are you using?
Just a tip also, try posting this same question on Fluke's community site, https://community.flukecal.com/home (https://community.flukecal.com/home). I've gone there and asked lots of questions and had them answered pretty quickly. Fluke has software engineers answering questions there all the time too. Try your luck there if you are still having trouble.
I'm using version 8. I'm fairly certain it isn't the name since I copied and pasted it and made sure there weren't any extra spaces behind or following. Besides, when you compile the line MetCal automatically formats it.
I think your error may be somewhere else in the procedure. Can you copy and paste the entire section?
or atleast the JMPT destination and any other relevant parts
Could it be that it is treating the - like a mathematical operation? Try removing the "-" and seeing if it works.....
I know, sounds silly, but, well, you know metcal.....
Here's the resistance section as an example. The error is on every line with a JMPT FSC and the error is the same in every section of the procedure. It isn't the "-" because that was in the original procedure. Plus, I believe that anything that is in the Instrument line is devoid of any math functionality, it just functions the same way as calling a....function or subroutine during a conditional statement in visual basic albeit with different syntax.
2.019 HEAD {RESISTANCE TESTS}
2.020 DISP Select the Ohms Function.
2.021 HEAD RESISTANCE TESTS: {320 Ohm Range}
2.022 DISP Short the UUT Volt Ohm Diode and COM terminals together.
2.023 ACC 0.0Z TOL
2.024 MEMI Enter UUT reading in ohms:
2.025 MEME
2.026 MEMC 320 Z +0.2U
3.001 DISP Remove the short.
3.002 JMPT 3.008 Fluke 21 II: (1 year) CAL VER /5100,5220..
3.003 JMPT 3.008 Fluke 23 II: (1 year) CAL VER /5100,5220..
3.004 JMPT 3.010 Fluke 70 II: (1 year) CAL VER /5100,5220..
3.005 JMPT 3.012 Fluke 73 II: (1 year) CAL VER /5100,5220..
3.006 PIC 51_7x-2V
3.007 JMP 3.013
3.008 PIC 51_2x-2V
3.009 JMP 3.013
3.010 PIC 51_70-2V
3.011 JMP 3.013
3.012 PIC 51_73-2V
3.013 RESF 100.0Z S 2W
3.014 ASK+ N U
3.015 MATH MEM = M[1]