I want to load the number of out-of-tolerances into a PCDMIS assigned variable. Something along the lines of:
I tried to put these in but none seem to work. I also tried to get to this number through a SCRIPT, but no luck either.
You can do this through the REPORT and add to a label, but that is not what I want. I want to get this number in my program and then do some "what-if" scenarios like:
I also tried something listed below, because I know that 191 is the PART_NAME. But it only seems to get a number out of the FILEHEDR. How do I get to the FOOTER??
Any help would be appreciated!
Thanks, Jan.
Code:
ASSIGN/V1 = [COLOR="Red"]NOUT[/COLOR] ASSIGN/V1 = [COLOR="red"]NUMOUTTOL()[/COLOR]
You can do this through the REPORT and add to a label, but that is not what I want. I want to get this number in my program and then do some "what-if" scenarios like:
Code:
IF V1<>0 COMMENT, SEE QUALITY BEFORE PROCEEDING END_IF
I also tried something listed below, because I know that 191 is the PART_NAME. But it only seems to get a number out of the FILEHEDR. How do I get to the FOOTER??
Code:
ASSIGN/NUMBER_OUTTOL = STR(GETTEXT(195,1,{FILEHEDR}))
Thanks, Jan.
Comment