Applies To:
  • CitectSCADA 3.00 4.00 5.00

Summary:
My operating system supports the long file names (LFN) yet the trend files are created with DOS-style short names. Is there a way to create long trend file names?  

Solution:
If the operating system supports the long file names then Citect version 4.xx trend system will create LFN trend files if the user explicitly enters the trend file name in the File Name field of the Trend Tags form. If the user leaves the File Name field then the trend files will have DOS-style short names.

Examples :

Trend Name NOTTOBECHOPPED
File Name C:\CITECT\DATA\NOTTOBECHOPPED

will create C:\CITECT\DATA\NOTTOBECHOPPED.HST
            C:\CITECT\DATA\NOTTOBECHOPPED.000
            .
            .

Trend Name NOTTOBECHOPPED
File Name <BLANK>

will create C:\CITECT\DATA\TOBECHOP.HST
            C:\CITECT\DATA\TOBECHOP.000

In version 5.xx we support LFN trend file names regardless of whether or not the user enters the file name in the File Name field. For compatibility reasons we have introduced the following parameter :

[Trend]
FileNameType = 0 (Default) Compatible file name
             = 1 Long file name only
             = 2 Short file name only

If the Compatible file name type (default) is used then all new trend files will be LFN provided that the OS supports LFN. The existing files (from previous versions of Citect) with short file names will be left intact. When this option is selected the trend system will check the existence of short file name files and therefore Citect startup time may be considerably longer.

If the Long file name only type is used then LFN trend files will be created for all (new and existing) trends. The existing files (the ones created by previous versions of Citect ) will not be deleted but the trend system will not be able to use them. The users should set this option for faster trend start-up if they wish to use LFN and backward support for the existing trend files is not required.

If the Short file name only type is used then all trend files will be created with the short file names. This option is particularly useful if the users do not want to change their trend files to long file name files. The users should set this option for faster trend start-up if they wish to use short file names.

 

Keywords:
 

Attachments