KMotion_dotNet.KM_CoordMotion.ReadAndSyncCurPositions C# (CSharp) Method

ReadAndSyncCurPositions() public method

First Syncs the Coor Motion Library to the current axis destinations then sets the passed variables to the CoordMotion's Absolute positions
public ReadAndSyncCurPositions ( double &x, double &y, double &z, double &a, double &b, double &c ) : void
x double X axis value
y double Y axis value
z double Z axis value
a double A axis value
b double B axis value
c double C axis value
return void
        public void ReadAndSyncCurPositions(ref double x, ref double y, ref double z, ref double a, ref double b, ref double c)
        {
            try
            {
                var returnvalue = KM_dotnet_Interop_CoordMotion_ReadAndSyncCurPositions(_InstanceHandle, ref  x, ref  y, ref  z, ref  a, ref  b, ref  c);
            }
            catch (DllNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Dll Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                    this.ToString(), "ReadAndSyncCurPositions"));
            }
            catch (EntryPointNotFoundException e)
            {
                throw new DMException(this, e, String.Format("Entry Point Not Found Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                   this.ToString(), "ReadAndSyncCurPositions"));
            }
            catch (Exception e)
            {
                throw new DMException(this, e, String.Format("General Exception thrown :  Caller - [{0}] :: Member - [{1}]",
                  this.ToString(), "ReadAndSyncCurPositions"));
            }
        }
KM_CoordMotion