hexagon logo

GETPROGRAMINFO("NUMOOT") not working in 2018

Good Morning,

I have a assignment that counts the OOT that works in my other versions. But for some reason, the exact code will not work in my new CMM running 2018. Currently working offline to get the kinks out. Works in 2016 but doesn't work in 2018.

when I change the nominal on the dimension to simulate an OOT, it still says PASSED.

ASSIGN/V1=GETPORGRAMINFO("NUMOOT")
            IF/V1==0
              COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
              passed
            END_IF/
            ELSE_IF/V1>0
              COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
              failed
            END_ELSEIF/

Parents
  • lol, yes it was misspelled offline though.

    At the machine, I copied and pasted it from a program that worked. I deleted it and typed it out as a new variable and it worked. I guess 2018 does like copying and pasting from other programs on the same CMM. Weird. I've run into this before when trying to save to my network. I had to type everything in. It would'nt copy over.
Reply
  • lol, yes it was misspelled offline though.

    At the machine, I copied and pasted it from a program that worked. I deleted it and typed it out as a new variable and it worked. I guess 2018 does like copying and pasting from other programs on the same CMM. Weird. I've run into this before when trying to save to my network. I had to type everything in. It would'nt copy over.
Children