Default TRX filename

Contents  Previous  Next

Options Menu > File Saving Options > Default TRX Filename

Default TRX filename

The default TRX filename determines the form of the initial filename TRW chooses when the data from a logger is saved to a TRX file.  It is important to note that what is specified here is a template for the filename, and the actual filename will not usually be the same as what you enter here (though it can be if you want).  When TRW chooses  the filename, it uses the default filename template, but treats several characters as having special meaning.  For example, the character L means "the logger serial number", and the characters yyyy mean "the current year".

 

For a detailed discussion and examples of the way file and folder formatting characters work, see the topic Using the File and Folder Templates.

 

If you want to have characters in the filename but don’t want them to be interpreted by the above rules, they must be enclosed in double-quotes ("..."), thus to use a filename of My Logger.tr, you must enclose the filename in quotes, thus: “My Logger.tr".

 

You do not need to specify the file extension (.TRX for Temprecord data files).  If you want a different extension you can enter it.  Note also that you cannot use the characters “:” (colon), “/” (slash) and “\” (backslash) in your filename.  If TRW finds any characters that are not valid in a filename, it will replace them with underscores ("_").  If you want to specify a path as well as a filename, use the Folder for TRX files option (see below).  If TRW finds a path component specified in the default filename, it will be ignored.

 

The panel below the Default TRX filename field shows you what filename would be used for the given file name format specifier.  As you type your filename format specifier the filename sample is updated.

 

The installation default specifier for the default TRX filename is L YYYY-MM-DD hh-nn-ss.  This means that the default filename for a datafile read from logger S1234567 at 12:34:56 on the 1st of June, 2009 would be S1234567 2009-06-01 12-34-56.tr.  Note that the .tr extension is added automatically.  If you want a different extension, you should enter it as part of the format specifier.  For example a specifier of L YYYY-MM-DD hh-nn-ss".dat" would result in a filename with the extension .dat.  Note that the extension characters are surrounded by double quote characters ("...") to prevent them being interpreted as formatting instructions.  See the topic When are default filename and folders used? for more information.

 

Take care with formatted filenames and folders.  If careful attention is not paid to how they are used, one can unintentionally create a myriad of strangely-named files and folders!

 

See also:

Folder for .TRX files

Default PDF Filename

Folder for .PDF Files

Using the File and Folder Templates

When are default filename and folders used?


(C) 1992-2019 Temprecord International Ltd
26/06/2013 7:35:32 AM
Temprecord Web Help