Measuremax Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Measuremax Help

    https://www.pcdmisforum.com/image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==​​Hello- It was recommended to me that I reach out to members here for help with a simple question. My company uses a pair of older CMMs running measuremax+. currently the output of the measurement report is a .TXT file, but for data tracking purposes we would like to change that format to a .CSV file. the reference manual for Measuremax states the code needed to switch this output is MLString "NEWSCSV pl" however I have been unable to place this line of code in the correct place to properly output a CSV with all the relevant data. If a Measuremax wizard or two could lend a hand with an example code or advice that would be extremely helpful. I understand that this forum Is for PCDMIS, but It seems like some people on here still use the older softwares.

    Thank you in advance!


    csv on.png

    new csv.png
    Attached Files

  • #2
    Wow! it's been a long time since I used MeasureMax!
    Looking at your instructions you posted I believe it would be something like: MLString "C1 "C:\MyFolder\MyFile.csv""
    I believe the key is to add the .csv extension.
    Even if you have the .txt extension open the file and see if the values are separated by commas. if it is then you can still import the data into Excel and choose to "delimit" the data with a comma.
    You could also set your file name with a variable, with say a time/date stamp to give you a unique file name, otherwise it will keep appending the existing file.

    Comment


    • mazurhar
      mazurhar commented
      Editing a comment
      Thank you very much- I believe this is what we have been using. I should clarify that we are not sure where to put the line of code. Would it be in the beginning of the program, the end, or would I use the line to append the file after every measurement?

  • #3
    I believe you want to turn the csv on before the reporting begins then turn it off at the end of the program. if you are using a variable to name the file you would declare it in the header. If you haven't realized it yet MeasureMax is a module that runs inside of Microsoft VB6, if you can find a book on VB6 you would find that very helpful to you.

    Comment


    • mazurhar
      mazurhar commented
      Editing a comment
      Thank you so much, we are going to give this a shot today. I know it runs inside of VB, but the MLString format of commands was foreign to most VB information I found, so I figured it was a proprietary code line that MMax was calling every time it was used. I appreciate your help!

  • #4
    You're welcome Maz, I think you are correct that MLString is a Function built for MeasureMax, I think you can right click it and see it's definition. I used to have a laptop that had VB6 installed and I had some MM examples stored on there. I will try and find that this weekend and post for you next week if I still have that stuff.

    Comment

    Related Topics

    Collapse

    Working...
    X