RobotStudio event

RS 5.60 - FAILED TO SAVE VIEWER

When I try 'Record to Viewer', then simulation goes well, but when it ends I get following message, without viewer getting saved.

RobotStudio .NET exception: The given path's format is not supported.
============================================
Base exception: NotSupportedException
The given path's format is not supported.
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at RobotStudio.API.Persistence.PimDocument.SaveAs(String fileName, Boolean copy)
   at ABB.Robotics.RobotStudio.Project.SaveCopyAs(String fileName)
   at ABBInternal.StationManagement.StationViewer.StationViewerBuilder.SaveLibs(IHasGraphicComponents ihg, String dir, Dictionary`2 saved)
   at ABBInternal.StationManagement.StationViewer.StationViewerBuilder.SaveLibs(IHasGraphicComponents ihg, String dir, Dictionary`2 saved)
   at ABBInternal.StationManagement.StationViewer.StationViewerBuilder.CreateViewer(Station stn, Boolean as64bit, String exeFileName)
   at ABBInternal.StationManagement.StationViewer.StationViewerBuilderUI.btn_ExecuteCommand(Object sender, ExecuteCommandEventArgs e)

Please help ASAP.

Best regards,

blinder
Benteler Maschinenbau CZ

Comments

  • The error messages complains about the path or filename. It seems that the problem is related to one of your libraries. Do you use very long filenames? Or are there letters in the path/filename that causes problems for the viewer?

    Try the following (for the purpose of debugging):

    * Save the viewer to C:\temp or another folder with a short name and use a short standard with only a-z characters in the name.

    * Check the names of your libraries of your station. Simplify library naming (short names, a-z) and try again. (Disconnect library -> Rename -> Save As Library)

    * Disconnect the libraries to make them saved with the station instead of as separate files and try again.

    * Don't save to a network disk.

    The items above should normally not cause any problems, but it seems as if there is a bug hiding somewhere.

    We are really interested in following the progress of your issue.

    Kind regards,

    Henrik

     

    Henrik Berlin
    ABB
  • Thank you very much Henrik.

    Problem was probably with libraries, because short saving path I have already tried before posting.
    Benteler Maschinenbau CZ