Jump to content

Curve-Evaluation-Extend-naming of ASCII file.....


---
 Share

Recommended Posts

Our main purpose to use Curve here at our shop is to scan an internal shape that closely resembles a "cam" shape, like a smoothed out triangle. We have many different sizes of this shape in many different parts. The shape is evaluated with "curve form" and the operators just see that profile number, and I also give them form plots and a graphic element so they can see what the shape looks like compared to nominal. Our engineers dig deeper on this scan. I export the text data (ASCII) the gives XYZ and IJK actuals of 360 points around this cam shaped form.  They take this text data/raw data file and convert this into excel and it creates the shape in a customized excel file.  

What I'd like to know is, is there a way to add something to the naming of the ASCII text file/raw data that will keep the files from getting overwritten.  When using "Resources>>Name for output files>>...for this Measurement Plan...you can add fields or header info so that each pdf. is named differently with PCM Syntax. I tried doing something like this to the text "ASCII" file, but it didn't work. I copied and pasted what I have circled in green on the attached excel file, but it didnt get the "incremental part number" it just added what I pasted in the points in file. I don't know if there is another way to get the individual actuals of the 360 or so points that the curve scans.  I know I can get the point to the pdf instead of the form plot, but that's not helpful if the engineer's goal is to convert the ASCII-text file from Notepad to excel and plot it in their evaluation excel file. Parts spin at high speeds inside this cam shaped from so they want to see wear patterns. 

 

 

Curve raw data-ASCII actuals.xlsx

Link to comment
Share on other sites

  • 1 month later...

Hello

Please sign in to view this username.

,

If I understood you correctly you should try this:

1. Enabling exporting

- go to Resources -> Results to File...  

- set Export Points to "On"

- next to it you can see "Configuration" button where you can specify what should be in the text file (actuals/nominals, vectors etc., alignment)

 

2. Enabling exporting of feature

- go to Resources -> Features Settings Editor...

- select Geometry (evaluation settings) -> Export Points

- turn option "ON" to curves you want to export

 

3. Setting up a path

- go to Resources -> Name for Output Files -> ...For This Measurement Plan...

- from Output File select Export Points

- tick the box next to "Name of output file variable"

- specify dynamic path (Calypso will create a folder and put all .txt files into it)

 

Link to comment
Share on other sites

Thanks for replying.  We found a way to do this. Our goal was to add naming in the txt file that would change every time and not cause them to be overwritten.  With help from a third party, a batch file was created to add time and date to the text file. 

We were already getting text files but they were always being overwritten. Windows will not allow 2 files with the same name in a folder.  This batch file worked out great.

Link to comment
Share on other sites

 Share

×
×
  • Create New...