Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

If SystemBuild Crashes Can I Recover Changes Made to a SystemBuild Model?

Primary Software: MATRIXx
Primary Software Version: 6.2
Primary Software Fixed Version: N/A
Secondary Software:

Problem: Is there a way that I can recover any unsaved changes that I have made to a SystemBuild model if SystemBuild crashes?

Solution:
Unsaved changes can not be recovered, but SystemBuild has an automatic save feature that can be activated via the SETSBDEFAULT command. The command SETSBDEFAULT is used to set SystemBuild defaults. You set two parameters to enable AutoSave, autosavefile and autosavetime. Autosavetime specifies the number of seconds between saves. Autosavefile specifies the filename to save the Catalog data to. You can enable AutoSave at startup by adding the SETSBDEFAULT command to your startup.ms file. Please note that AutoSave saves catalog data only. Xmath data and UserDataTypes will not be stored.

For Example:
  • The following Xmath command will start AutoSave:

    SETSBDEFAULT {autosavefile="autosave.cat",autosavetime=3600}

  • To check the current AutoSave settings type the following:

    SHOWSBDEFAULT {autosavefile,autosavetime}

  • To turn off AutoSave, set autosavetime to 0 and refresh the Catalog Browser.

    SETSBDEFAULT {autosavetime=0}


Related Links:

Attachments:





Report Date: 01/13/2003
Last Updated: 02/07/2003
Document ID: 2TCG61OH

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit