Is there a script or way to export the data to a text file inside the program with out using export to generic after the program is completed. My company wants all programs ran to have the data exported to a text or xyz file to use the data later. I would like to have this done when the program is run and not have to remember to do it after every part is ran
output data as text auto end of prog
Collapse
X
-
what I need is all the data of all the features I do a print at the end of the program but that is not the same as doing a export to generic and outputing all the dimensions and features data that can be imported later to use the data2013 MRI
B&S DEA Ghibli & Global
Comment
-
What kind of data do you need to capture and how does it need to be formated? You can write to a text file using the file open and file write commands but depending on what you need to do it could be laborious. I use these quite a bit for data collection as two of my machines do not have SPC software on them (I gave up on Datapage).
Craig<internet bumper sticker goes here>
Comment
-
ALL is a broad term. Do you want the dimension data or the FEAT ID, POLAR or RECT, XYZIJK, NOM, MEAS, number of hits HIT locations, etc? I would call this ALL of the data. I guess if we knew what you were doing with the data that would help us zero in for you. It might be sounding like a .txt writeline is not the solution here but I am not sure what you mean by ALL data. I guess I am not getting the "import for later use" part as well. Let us know what your goal is and there may very well be someone here that can hook you up. There are guys here that are pretty slick with Datapage that may have a solution for you, but if you are thinking along the lines of saving as a .txt and uploading that as a prg like you might do with M & G coding for machine tools then I am afraid you might be disapointed.<internet bumper sticker goes here>
Comment
-
what I need is the same data as I get when I use the file /export / generic function and check the dimensions and feature boxes and out put that gives me a file with all the point data for each feature measured
example of data in file
DATUMA, 0.000000, 0.000097, 0.000000, 0.000000, 1.000000, 0.000000, 9.641918
DATUMA HITS, -4.819767, 0.001200, 0.004759, -1.000000, 0.000000, 0.000987
DATUMA HITS, -4.172292, 0.000004, 2.413408, -0.865618, 0.000000, 0.500705
DATUMA HITS, -2.407725, -0.000282, 4.176731, -0.499422, 0.000000, 0.866359
DATUMA HITS, 0.002094, -0.000244, 4.821383, 0.000434, 0.000000, 1.000000
DATUMA HITS, 2.414414, -0.000172, 4.173715, 0.500734, 0.000000, 0.865601
DATUMA HITS, 4.175824, -0.000091, 2.410710, 0.866044, 0.000000, 0.499968
DATUMA HITS, 4.820477, 0.000003, 0.004802, 1.000000, 0.000000, 0.000996
DATUMA HITS, 4.176594, 0.000198, -2.404710, 0.866622, 0.000000, -0.498965
DATUMA HITS, 2.414264, 0.000198, -4.172292, 0.500838, 0.000000, -0.865541
DATUMA HITS, 0.001983, 0.000185, -4.821983, 0.000411, 0.000000, -1.000000
DATUMA HITS, -2.416234, 0.000099, -4.173205, -0.501062, 0.000000, -0.865411
DATUMA HITS, -4.178785, 0.000069, -2.404761, -0.866731, 0.000000, -0.498777
DATUM B, -0.017619, -97.399934, 0.028335, 0.000000, 1.000000, 0.000000, 9.6456762013 MRI
B&S DEA Ghibli & Global
Comment
-
I have been asking wilcox for years (since they removed it) to have the .xyz export function
CALL and complain/request/suggest it be added again
It is a very usefull function they removed several versions back...i don't remember how far or why they would have a good reason to do sosigpiccall me "Plum Crazy"....but you only go around once!
Comment
-
Yes, Yes, Yes.
Some genius in your company wants to graph or play QCE eh? Use the Pc-Dmis to Excel marco .bat and write a script to pull every single hit point xyz, ijk out to .txt. Also use the Features to points macro tto. You are in for quite a haul but once you develope something it will be good.
I usually spend one to two weeks working on vba's, .bat scripts in between runs on projects like this. Also look at some of the other fine posts in the forum for help.
-Gabrielsigpic
Comment
-
Hammer, I'm trying to do the same thing, and I haven't found any good answers yet. I also save my reports as a txt. file and use that data to automatically delimit it in excel and move it to a report required by one of our customers. PC-DMIS offers automatic exporting in other formats, but not the txt. format. I wanted to know if you could embed a macro at the end of the program to do the clicking for you when you export to generic, but no one has had an answer yet. If you find an answer to your question, we'll both be happy!
Comment
Related Topics
Collapse
-
by QC RickI 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...-
Channel: PC-DMIS Code Samples
09-06-2007, 11:26 AM -
-
I want to export touch point data & scanning data to a text file.
For example:
If I have a feature measured with 100 points,then I want...-
Channel: PC-DMIS for CMMs
12-09-2013, 04:51 AM -
-
by TopherMorning guys,
Updated to PC Dmis 2017.R1 and upon exporting my data to a text file for use in my formulated spreadsheets i am encountering...-
Channel: PC-DMIS for CMMs
06-22-2018, 02:53 AM -
-
by cjtronettiI see that I can EXPORT to a Generic File (TXT), and that works file, but how do I automate the export?
-
Channel: PC-DMIS for CMMs
05-19-2017, 04:58 PM -
-
by rsegriggyI see a lot of questions about how to export data to a text file. I have a program that checks a golden part. I want to export certain measurments to...
-
Channel: Tips & Tricks
06-24-2010, 08:15 AM -
Comment