GETPROGRAMINFO("NUMOOT") not working in 2018

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

    Code:
    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/

  • #2
    Tested on 2018 R2 and it worked.
    PcDmis 2015.1 SP10 CAD++
    Global 7-10-7 DC800S

    Comment


    • #3
      Originally posted by acgarcia View Post
      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.

      Code:
      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/
      if that is a direct copy from your program...........check your spelling

      ASSIGN/V1=GETPROGRAMINFO("NUMOOT")
      Last edited by dph51; 08-31-2018, 01:02 PM.

      B&S CHAMELEON/PCDMIS CAD++ V2011

      There are no bugs, only "UNDOCUMENTED ENHANCEMENTS!"

      sigpic

      Comment


      • #4
        I have probably type Porgam instead of Program about 70,000 times so far, with more to come. I had to concentrate to type this!

        Comment


        • #5
          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.
          Last edited by acgarcia; 09-04-2018, 10:42 AM. Reason: Andersl proofreading!!!

          Comment


          • AndersI
            AndersI commented
            Editing a comment
            It feels like there are a number of 'nt missing in your post. I've never had a problem copy&paste between two programs in PC-DMIS. I've seen problems though, when copying from an email or internet into PC-DMIS, even though it looks *exactly* the same as when I type it in...
        Working...
        X