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.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 800 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings