几何尺寸与公差论坛

 找回密码
 注册
查看: 3283|回复: 5

Getting data from PCDMIS

[复制链接]
发表于 2007-11-26 11:32:59 | 显示全部楼层 |阅读模式
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!
QC Rick
 楼主| 发表于 2007-11-26 11:33:16 | 显示全部楼层

回复: Getting data from PCDMIS

I write my data to text files a lot, small example of comma delimited (delimit as you choose):
  
       Code:
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.
craiger_ny
 楼主| 发表于 2007-11-26 11:34:27 | 显示全部楼层

回复: Getting data from PCDMIS

Is the file write required for each segment (line?) of data?  Or can the entire report be sent to  a file?
QC Rick
 楼主| 发表于 2007-11-26 11:35:18 | 显示全部楼层

回复: Getting data from PCDMIS

Unfortunately you would have to write an output for each DIM.
cmmguy
 楼主| 发表于 2007-11-26 11:35:39 | 显示全部楼层

回复: Getting data from PCDMIS

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.
craiger_ny
 楼主| 发表于 2007-11-26 11:36:07 | 显示全部楼层

回复: Getting data from PCDMIS

You could export the results as a generic txt file, but that will send everything in the report....
bw_bob
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-22 11:02 , Processed in 0.041055 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表