![]() |
Getting data from PCDMIS
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 |
回复: 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 |
回复: 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 |
回复: Getting data from PCDMIS
Unfortunately you would have to write an output for each DIM.
cmmguy |
回复: 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 |
回复: Getting data from PCDMIS
You could export the results as a generic txt file, but that will send everything in the report....
bw_bob |
所有的时间均为北京时间。 现在的时间是 06:46 PM. |