Auto create EUT directory

From RadiWiki
Revision as of 09:07, 20 February 2006 by Joro (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Question[edit]

Can a new EUT file be stored in a specific directory that is automatically created?

Answer[edit]

Yes, it is possible to specify some 'hidden' parameters, that can be used to specify how and where the EUT file should be stored.

These settings are available in the TUNING.INI file that is located in the RadiMation configuration directory. All settings should be part of the '[EUTFileHandling]' section. The available parameters are:

  • EnforceUserToSaveEUTDuringCreate: This variable can then be set to '0' or 'False'. Which will turn off the automatic saving.
  • ProposedSaveEUTFilename: This variable can then be set to for example: '||CONFIGURATION|EUTDIRECTORY||\||EUT|ORDER NUMBER||.EUT'. This is the definition of the default save path and filename. Report generator codes are used for this, to make it possible to include all kind of information in the save name. All available report generator codes for the EUT file and the system configuration can be used. If a report generator code is empty, it is possible that ‘\\’ is include in the path. This is then changed to a single '\'. If the 'ProposedSaveEUTFilename' variable is empty. The '||CONFIGURATION|EUTDIRECTORY||' code will be used. This is similar to the old behaviour.
  • UserIsAllowedToChangeEUTFilename: If set to '1' or 'True', the user is allowed to change the filename of an already named EUT file.
  • EUTMustHaveNameBeforeTest: If an EUT filename is not yet determined, and a test is started, an error will be generated.
  • AlwaysSaveEUTBeforeTest: If set to '1' or 'True', will automatically save the EUT file at the begin of a test.
  • EUTPathVariablesCannotBeEmpty': This will prevent that one or more of the 'Codes' that are used for the EUT path will be empty.
  • PasswordIsNeededForSaveEUTAs: If set to '1' or 'True', the password should be entered, when the 'SaveAs' dialog is shown. If the password is not correctly specified, the proposed name will be used, or the data will not be saved. Depending on the configuration of the other settings.


With these parameters it is possible to configure RadiMation to use the following scenario:

  1. End-user creates a new EUT file
  2. No 'Save As' dialog is displayed. EUT file doesn't have a filename yet
  3. The End-user fills in the information in the EUT window. Like:
    • EUT name
    • Order number
    • Serial number
    • address info
    • Etc...
  4. The end-user selects 'File, Save As...'
  5. The RadiMation software suggest a name, using the 'ProposedSaveEUTFilename' variable. The 'Report generator codes' that are used in this variable, are replaced by the correct information.
  6. If the end-user is allowed to change the name of the EUT filename (see 'UserIsAllowedToChangeEUTFilename'), a 'Save As' dialog will be shown. Otherwise the proposed name is used directly, and the file is saved directly.
  7. If the 'Save As' dialog is shown, the end-user can just click 'Save' or he can change the proposed filename or location.
  8. Any directories that are not yet present will be created.
  9. If a filename is already set, the set filename will be used, and no proposal for a filename will be done.

The above scenario can be configured in the TUNING.INI file as:

[EUTFileHandling]
EnforceUserToSaveEUTDuringCreate=False
ProposedSaveEUTFilename=||CONFIGURATION|EUTDIRECTORY||\||EUT|NAME||\||EUT|SERIAL NUMBER||.EUT
UserIsAllowedToChangeEUTFilename=True
EUTMustHaveNameBeforeTest=True
AlwaysSaveEUTBeforeTest=True
EUTPathVariablesCanNotBeEmpty=False
PasswordIsNeededForSaveEUTAs=False

This functionality is available in RadiMation version 4.5 and higher.