PDA

View Full Version : Getting data from PCDMIS


QC Rick
09-06-2007, 12:26 PM
I am looking for a breakdown of how PCDMIS handles data output from a part (probed data).
From the many posts in this forum that I have read; I get the impression one must retrieve data from PCDMIS via macros or VB/VBA code!?

Is there any method to get a "text delimited" or "csv" file output of reported data?
Or can the "printed" report be saved as a "text delimited" file or as a text file as WYSIWYG?

All help is appreciated!

craiger_ny
09-06-2007, 01:06 PM
I write my data to text files a lot, small example of comma delimited (delimit as you choose):


FPTR =FILE/OPEN,C:\DATA COLLECTION\6203-13-341 MAZAK (1).TXT,APPEND
FILE/WRITELINE,FPTR,CIR1.D + "," + CIR2.D
FILE/CLOSE,FPTR


This found in file I/O.

QC Rick
09-07-2007, 05:04 PM
Is the file write required for each segment (line?) of data? Or can the entire report be sent to a file?

cmmguy
09-07-2007, 05:06 PM
Unfortunately you would have to write an output for each DIM.

craiger_ny
09-07-2007, 05:09 PM
Write line will write a line of data, you specify what is in the line. It adds a carriage return and line feed at the end. You must pecify (hard code) what gets sent it does not send a report, just what you tell it to. In my example I am sending the diameter of circle 1 (we'll say it is 1.125) and a comma and the diameter of circle 2 (we'll say is 1.312) so your text file will have:

1.125,1.312

Make sure you use append of it will overwrite.

bw_bob
09-07-2007, 05:14 PM
You could export the results as a generic txt file, but that will send everything in the report....

Robert Masters
11-30-2007, 07:18 AM
Can you loop a routine and dump the contents of a variable array ?
I used to do that all the time years ago into a format ready for a spreadsheet, and I'd love to do it with PC-DMIS.

This must be a silly question. With the right code, nearly anything must be possible.

Jan d.
12-04-2007, 09:35 AM
You can also capture the XSTATS11.TMP file. It automatically includes EVERY dimension that you send to stats. That is a readable txt file. Unfortunately, this will also gives you everything, except some of the XactMeasure GD&T (like second line FCF stuff).

Jan.

cmmguy
12-04-2007, 09:47 AM
You can also capture the XSTATS11.TMP file. It automatically includes EVERY dimension that you send to stats. That is a readable txt file. Unfortunately, this will also gives you everything, except some of the XactMeasure GD&T (like second line FCF stuff).

Jan.

You can only do that if you have STATS output, I think if you have the CAD or ++ versions that is included but other lessor versions dont have STATS output and it has to be purchased separately.

Mordekai
10-01-2008, 10:43 AM
I'm trying to get PC-DMIS to output an xstats11.tmp file without Datapage. I'm using V3.7 MR1 CAD++. I can output the file WITH Datapage. I can't seem to get one created WITHOUT Datapage. How do I need to set up the STATS?