hexagon logo

How to count those OoT's?

Hello everyone.

I know that many of You have or have had this wish, and many of You have found a solution.
None of them seems to work for me.

I'm running PC-DMIS 2012, and wonder if there might be some software "issues" with this version.

I have tried several of the proposals from the forum, to get the number of OoT out of the measurement, but none of your fine postings seems to work for me.
I have no problems running the script that refresh's the report before printing. So it can't be that.

I have managed to get the counting og the OoT's into the Report-header, and that works 100%, but no matter how I work around it, I can't get it into the program for working with it.

The reason for my frustration is : http://www.pcdmisforum.com/showthread.php?29932-Printing-reports-to-paper-pdf-and-SPC&highlight=paper
And for better understanding, my flow-chart is attached as 'Flowchart for PRINT, PDF & SPC'.

All of the 3 PRINT-functions are finally working just fine, thanks to:
http://www.pcdmisforum.com/showthread.php?29971-Report-Window-Print-Setup-Not-printing-to-correct-location
I get the Paper only, the PDF only and the combined Paper & PDF printed just as I have been looking for.

The above mentioned thread made me help setting up a guide, which is attached as 'Using the PRINT-command'.
Feel free to use and distribute.



Now back to my frustration.

I have tried using the script from AndersI, where he specific mentions that it works for him in PC-DMIS 4.3 MR1
His swedish setup, didn't gave me any trouble :-) , but it doesn't work.
Link: http://www.pcdmisforum.com/showthread.php?30251-Counting-OUTTOL-in-a-program&highlight=AndersI

--- o ---

The surgestions about reading from the ELOGO.DAT

ASSIGN/V1 = GETCOMMAND("File elogo", 1) my understanding - open file elogo, 1 to read in...
ASSIGN/PRINT = GETTEXT("# out of tol", 7,V1) my understanding - gettext or value of # out of tol on the 7th line from file V1 (elogo)

or from the footer

ASSIGN/V1 = GETCOMMAND(File footer", "TOP", 1)
ASSIGN/NC = GETTEXT("numouttol(), 1, V1)

or

ASSIGN/V1 = GETCOMMAND(File footer", "TOP", 1)
ASSIGN/NC = GETVALUE("numouttol(), 1, V1)

doesn't work for me ether.
Don't know if it's because I don't use the footer???

--- o ---

Does any of you have an idea of what's going on?

Isn't there a way to get the number of measures "Out of Tolerance" from my report-header after I have Refreshed it, and into the program, so I can make my flow-chart work, and save a lot of paper.

If anyone of You out there are able to guide me to a solution, I promise to upload my Master, so everyone can copy it, if they want to.


Thanks in advance, I know You have the solution, but maybe not my software-bugs..... Confused


Regards
Mykel
Parents
  • does it work both for legacy dimensions and FCF:s

    I have limited knowledge of FCF so all I can say is "maybe". Try a simple test with the OLDBASICSCRIPT.ZIP file attached? All it does is connect to the current part program and request the current number of oot. Its the same variable that is used by the edit window to display the number out for the footer.
Reply
  • does it work both for legacy dimensions and FCF:s

    I have limited knowledge of FCF so all I can say is "maybe". Try a simple test with the OLDBASICSCRIPT.ZIP file attached? All it does is connect to the current part program and request the current number of oot. Its the same variable that is used by the edit window to display the number out for the footer.
Children
No Data