How can I excute PC SDK faster less than 1ms
 
            Use following code will cost about 40ms. How can I reduce to less than 1ms?
public bool SetPersAllRotTarget(RapidData data, string newValue,int index)
        {
            if (data != null)
            {
                try
                {
                    //RobTarget type = (RobTarget)data.Value;
                    RobTarget type = new RobTarget();
                    type.FillFromString2(newValue);
                    data.WriteItem(type, index);
                }
                catch (ThreadAbortException tae)
                {
                }
                catch (Exception ex)
                {
                    if (abb.LogShow != null)
                        abb.LogShow(ex.Message);
                    MessageBox.Show(ex.Message, "错误", MessageBoxButton.OK, MessageBoxImage.Error, MessageBoxResult.OK, MessageBoxOptions.DefaultDesktopOnly);
                    return false;
                }
                return true;
            }
            else
                return false;
        }
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 363 IRC5
- 80 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 853 RAPID Programming
- 31 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings