RobotStudio event

Error sync to station



I get this exeption when trying to sync to station. and found out the problem.
 
**********************exeption*****************************************
RobotStudio .NET exception: Another RAPID symbol with the name 'T_EmneGriber' already exists
============================================
Base exception: ArgumentException
Another RAPID symbol with the name 'T_EmneGriber' already exists
   at RobotStudio.API.Internal.TaskHelper.CheckRapidNameInScope(RsTask task, String moduleName, Boolean local, String declarationName)
   at ABB.Robotics.RobotStudio.Stations.RsDataDeclarationCollection.Add(RsDataDeclaration dataDeclaration)
   at RobotStudio.Services.RapidSerializerRS.LgRasRsDataSeries.InsertSentence(LgRasSentence newSentence)
   at RobotStudio.Services.RapidSync.LgRasEngine.ReplaceSentences(ILgRasSeries targetSeries, LgRasSentenceCollection targetSentences, LgRasSentenceCollection masterSentences, Int32[] tar2mas)
   at RobotStudio.Services.RapidSync.LgRasEngine.SyncData(ILgRasDataSeries targetSeries, ILgRasDataSeries masterSeries)
   at RobotStudio.Services.RapidSync.LgRasEngine.SyncRoutine(LgRasRoutineClauseId routine, Boolean cmIsMaster, LgRasLogMessageCollection logMessages, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
   at ABB.Robotics.RobotStudio.Stations.RsTask.SyncPathProcedure(String pathProcedureId, SyncDirection direction, ArrayList logMessageList, ProgressNotification progressDelegate, Double progressStart, Double progressEnd)
   at ABBInternal.Controller.SynchHelper.DoSynch(ExtendedListView tree, ArrayList syncLogMessageList)
 
****************** exeption end ***********************************'
 
 
I have found out that if i have a TASK PERS tool in my station and i have changed it in my rapid code to be a PERS i get this exeption.
 
After change the tooldata in my station to be only a PERS i can sync my rutine to station with out exeption.
 
 
 
 

 
Best Regards

Klaus Soenderhegn
www.cadalysator.dk

Comments

  • What if you change it in the "Synchronization" dialog? Do you get the same message?

    What result would you expect? Would you expect the old tooldata to be overwritten without notification?

    If only the value of an identifier changes, then it is overwritten. I will investigate why this change is handled differently.


    Henrik Berlin
    ABB
  • Klaus
    Klaus ✭✭

    stranged. now i can not reproduce the problem.
     
    I have tried to change the decleration in the station to TASK PERS and my rapid is still just a PERS and now it will sync proberly.
     
     
    Best Regards

    Klaus Soenderhegn
    www.cadalysator.dk