585,969 active members*
4,425 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2009
    Posts
    7

    Probing reports

    we currently make probing reports using headline[3] and writing a file with it

    _HEADLINE[3 ] = "F1 OUT OF TOLRANCE TO CMM VALUES +-.002 "<<R414
    WRITE(ERROR, "ERROR_RPT",_HEADLINE[3])

    my problem is getting the r value to print with a set amount dec place it will take it around ten places and i would like to control it at 4 places need to be able to round it.

    anyone done anything like this?

  2. #2
    Join Date
    Feb 2011
    Posts
    0
    multiply the r parameter by 10000. then convert it into an integer and then divide by 10000. This will give you what you need.

Similar Threads

  1. reports folder not migrating
    By coykiesaol in forum Mastercam
    Replies: 0
    Last Post: 12-07-2010, 07:30 AM
  2. Consumer Reports for EMC2
    By greeder88 in forum LinuxCNC (formerly EMC2)
    Replies: 7
    Last Post: 02-06-2010, 06:20 PM
  3. emc 2.2.2 bug reports ?
    By Gads in forum LinuxCNC (formerly EMC2)
    Replies: 13
    Last Post: 02-14-2008, 03:39 PM
  4. Inspection reports
    By 1947Hack in forum Calibration / Measurement
    Replies: 2
    Last Post: 01-16-2008, 01:59 PM
  5. SmartCam custom Job reports
    By Independent CNC in forum CNC (Mill / Lathe) Control Software (NC)
    Replies: 1
    Last Post: 11-10-2006, 03:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •