5  Program LIAN : Line Analysis Setup


5.1 Introduction

The program LIAN represents the platform of the software package. From here the individual application programs SIMO, FIPP, TRAP, TDEP and SHOW are activated and the parameters for monitoring and transmission are set 

The interfaces to be monitored are selected out of a pool of data transmission procedures and the necessary parameters are set. That happens individually for each channel. The name of the ProFile and the ArcFile however is  valid for all 4 channels, that means that one record takes place into the same file. 

All settings are saved automatically as default configuration under the name SIMO.KNF at the harddisk when quitting the program via the menu item <Quit>. Of course configurations can be saved at a data carrier under a name of free choice as overall configuration ( parameterization for all 4 channels ) or as single configuration ( parameterization of each individual channel ) and can be loaded again at any time.

For a better clarity it is advisible to use the determined file extensions *.GKF for a overall configuration and *.EKF for a single configuration.

 

5.2 Assignment of keys

[F1] Help on the current menu item.
[Alt]-[X] Save configuration and quit  Program LIAN. [Quit]

5.3 Menu commands

5.3.1 File

Under this menu item you can load and save overall and single configuration files as well as files to the definition of information types, view the contents of directories, quit temporarily and abort the program.

5.3.1.1  File - load

Allows loading of overall and single configuration files or files to the definition of information types or files to the description of the simulation.

5.3.1.1.1 File - Load - Configuration

Allows loading of an overall configuration file ( *.GKF ), that has been created previously with save. The overall configuration includes all defaults made under the menu item < Settings> as well as the channel-specific parameters

Additionally following files are loaded or copied :

name.GKF to SIMO.KNF   => overall configuration for COM 1-4
name.TYP to SIMO.TYP    =>
message description for COM 1-4
name.SIM to SIMO.SIM     =>
Simulation description for COM 1-4
name.VFL to SIMO.VFL     =>
pre-filter file for COM 1-4
name.NFL to SIMO.NFL     => postfilter file fo COM 1-4
name.FMT to SIMO.FMT    => Format filei for COM 1-4
name.TSB to SIMO.TSB     => Sequence buffer file
name.TDi  to xxxxxx.TDB  => message buffer for COM 1-4

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.GKF' ) instead of the file name, the GKF files of the current directory ( folder KNF ) are displayed. 

With the arrow keys you can select a particular file and load it with the Enter key.

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.1.1.2 File - Load - Single configuration

Allows loading of a single configuration file ( *.EKF ) that has been previously created with save. 

The single configuration includes all settings referring to the current channel, i.e. protocol type and data format. The current channel is set with the menu function <Comport>.

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.EKF' ) instead of the file name, the EKF files of the current directory are displayed.

With the arrow keys you can select a particular file and load it with the Enter key. 

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.1.1.3 File - Load - Information types

Allows loading of a protocol-specific information file ( TYP-file ) that has been created under menu item <Settings | Informationtypes> and saved under informationtyp file ( TYP file )

The TYP file includes all settings referring to the current channel. The current channel is set with the menu function <Comport>.

If you enter a DOS-wildcard ('*') in connection with a particular extension ( default: '.TYP' ) instead of the file name, the TYP files of the current directory are displayed.

With the arrow keys you can select a particular file and load it with the Enter key. 

5.3.1.1.4 File - Load - Simimulation list

Allows loading of a protocol-spezific simulation file ( SIM file ) that has been created previously under menu item <Settings | Simulation> and saved via menue item <File | Save | SimList>.

The SIM file includes all settings referring to the current channel which is defined under menu item <Comport>.

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.SIM' ) instead of the file name, the SIM files of the current directory are displayed. 

With the arrow keys you can select a particular file and load it with the Enter key. 

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.1.2 File - Save

Allows saving of the overall configuration, a single configuration or files to the definition of information types and files with the description of the simulation <SimList>.

5.3.1.2.1 File - Save - Configuration

This function allows the overall configuration to be saved. The overall configuration includes all defaults made under the menu item <Settings> and the channel-specific parameters.

Additionally following files are also loaded or copied. :

name.GKF to SIMO.KNF   => Overall configuration for COM 1-4
name.TYP to SIMO.TYP    => Telegram description for COM 1-4
name.SIM to SIMO.SIM     => Simulation description for COM 1-4
name.VFL to SIMO.VFL    => Pre-filter file for COM 1-4
name.NFL to SIMO.NFL    => Postfilter file for COM 1-4
name.FMT to SIMO.FMT   => Format file for COM 1-4
name.TSB to SIMO.TSB    => Sequence buffer file
name.TDi  to xxxxx.TDB    => Telegram buffer for COM 1-4

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.GKF ') instead of the file name, the GKF files of the current directory ( folder KNF ) are displayed.

With the arrow keys you can select a particular file. After pressing the Enter key the content of the file is replaced by the current configuration. 

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.1.2.2 File - Save - Single configuration

Allows saving of channel configurations.

The single configuration includes all settings referring to the current channel, which is defined under menu item <Comport>

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.EKF' ) instead  of the file name, the EKF files of the current directory are displayed.

With the arrow keys you can select a particular file. After pressing the Enter key the content of the file is replaced by the current single ( channel ) configuration. 

If you want to view or select a different directory than the current one you can write a path in front of the file name.

5.3.1.2.3 File - Save - Informationtypes

Allows loading of a protocol-specific informationfile ( TYP file ) that has been created under menu item <Settings | Informationtypes>. 

The TYP file includes all settings referring to the current channel. The current channel is set with the menu function <ComPort>.

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.TYP' ) instead of the file name, the TYP files of the current directory are displayed. 

With the arrow keys you can select a particular file and load it with the Enter key. 

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.1.2.4 File - Save - Simulation list

Allows loading of protocol-spezific simulation file ( SIM file ) that has been created  previously under menu item <Settings | Simulation>.

The SIM file includes all settings referring to the current channel which is defined under menu item <ComPort>.

If you enter a DOS wildcard ('*') in connection with a particular extension ( default: '.SIM' ) instead of the file name, the SIM files of the current directory are displayed. 

With the arrow keys you can select a particular file and load it with the Enter key. 

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.1.3 File - Directory

Gives an overview of the available files in a directory. 

The display can be spezified with the usual DOS wildcards ('*'). If you want to view a different directory than the current one you can also include a path in front of the DOS wildcards.

5.3.1.4 File - OS shell

With this function you can quit LIAN temporarily. Enter EXIT in the command line in order to return to LIAN.

 

5.3.2 Show

Calls the program SHOW to view the current protocol file ( default ). Any other file name can be entered at this point if you wish. 

If you enter a DOS-wildcard ('*') in connection with a particular extension instead of the file name, the files of the current directory are displayed together with the selected extension.

With the arrow keys you can choose a particular file and load it with the Enter key.

If you want to view or select a different directory than the current one you can also write a path in front of the file name

 

5.3.3 Run

Under this menu item you can transmit and receive, analyse the data received by SIMO, define pre-filters and -triggers and edit message buffers and sequences.

5.3.3.1 Run - Recording  SIMO

Simultaneous receiving and transmitting of telegrams on four channels and  simoultaneous archiving of the transferred data.

5.3.3.2  Run - Analysis TRAP

Recording of the received data into plaintext format with optional selection by filter- and trigger conditions ( post-filter or -trigger ).

5.3.3.3  Run - Pre-filter FIPP

Setting of filters and triggers for limited recording ( pre-filter or -trigger ).

5.3.3.4  Run - Edit telegram TDEP

Editing and recording of send buffers and transmission sequences for use under the program SIMO.

 

5.3.4 Protocol

Here the interface parameters for the current channel selected under menu item <ComPort> are set. 

Above the various telegram types the slected channel can also be parameterized with special functions like Termina, Time measuring or PCM ( UART ).

5.3.4.1 Protocol - selected COM

Selection of the channel to be parameterized. The default is the current channel

5.3.4.2 Protocol - Terminal

Defines the current channel as keyboard interface, i.e. characters can be received/ transmitted from/ to a keyboard. 

5.3.4.3 Protocol - Time measuring and Tape recording

You can measure the received pulse length or slope independently of the protocol.

In the program SIMO you can also record the received telegrams in a so-called tape file, SIMO command  'rec' , and replay them later, SIMO command  'play' (  detailled  information  about  these  commands you can find in the on-line help in program SIMO, menu item <SendMessage> ).

5.3.4.4 Protocol - Pulse width measuring

The protocol-independent measuring of the signal times can be set for pulse duration modulation or pulse code modulation

5.3.4.4.1 Protocol - Pulse width - Pulse-Duration-Modulation

The channel parameterized with this function measures the length of signals in the mode "duration of pulse modulation", independently of a particular telegram format. ( see transmission protocols Pulse Width )

5.3.4.4.2 Protocol - Pulse width - Pulse Code Modulation

The channel parameterized with this function measures the length of signals  in the mode "pulse code modulation", independently of a particular telegram format. ( see transmission protocols Pulse Width )

5.3.4.4.3 Protocol - Pulse width - SlopeTime

If a channel is parameterized by means of this function, only the received times of the signals and the physical level are recorded. 

(see transmission protocols Pulse Width)

5.3.4.5 Protocol - PCM ( UART )

The channel parameterized with PCM ( UART ) records the data received by UART independently of the protocol. Blocking is either done after a timeout or after 255 characters. ( see transmission protocols asynchron PCM )

 

5.3.5 Settings

Here the name of the protocol file, the name of the archive file and their size are set. In order to avoid recording errors caused by a low computer performance you can use a Ram Drive.

For the current channel you can determine if a recording is to be carried out in the archive file or in the protocol file and if the received data are to be displayed on screen.  If one of the serial interfaces should not be occupied by SIMO, it can be disabled under Channel Enable.

The  channel-specific settings can also be set in the  program SIMO when receiving.

5.3.5.1 ProtocolFileName

Determines the name of the protocol file

If you enter a DOS-wildcard ('*') in connection with a particular extension ( default: '.PRO ') instead of the file name, the files of the current directory are displayed together with this extension.

With the arrow keys you can select a particular file and confirm it with the Enter key.

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.5.2 ArchiveFileName

Determines  the name of the archive file in which the recording of the received data is to be carried out. 

If you enter a DOS-wildcard ('*') in connection with a particular extension ( default: '.ARC ') instead of the file name, the files of the current directory are displayed together with this extension.

With the arrow keys you can select a particular file and confirm it with the Enter key.

If you want to view or select a different directory than the current one you can also write a path in front of the file name.

5.3.5.3 ArchiveSize

Indicates the maximum size the archive file may reach. It may be between 1 and 32 MB. If the amount of the received data exceeds this size, recording is continued at the eginning of the file.

5.3.5.4 TDB directory

 

5.3.5.5 Tape directory

Here you can specify a directory in which the telegrams recorded with the tape function are saved ( see program SIMO: menu item <SendMessage> - commands 'rec' and 'play ' ). The directory must exist already

5.3.5.6 RAM Drive

If you find that SIMO frequently reports tolerance errors when writing to hard disk ( PDM or pulse width measuring ) you should use a RAM drive for recording thus allowing extension memory to be addressed like a hard disk.

The RAMDRIVE.SYS driver must be included in the CONFIG.SYS for this purpose. A typical call could look like this:

DEVICEHIGH=C:\WINDOWS\RAMDRIVE.SYS 2200 /e

A 40 MByte RAM drive is installed in the extension memory. DOS allocates an available drive letter to it ( e.g. 'E' ) under which one can address the disk. The new drive letter can then be entered in LIAN in the menu item <Settings | RAM- Drive

SIMO now automatically uses the specified virtual drive in the main memory while recording the protocol and archive. Only on exiting the program will the two files be copied to their directories on the hard disk.

Before installing the RAM drive, one should consider the structure of the main memory. Let us take a computer with 8 Mbyte main memory as an example:

  • 1 Mbyte is reserved for DOS and the adapter area.

  • 1 Mbyte extension memory should be kept free for the SIMO window routines.

  • The disk cache is given 2 MBytes.

=> This means that 4 Mbytes are left for the RAM drive.

If the RAM drive becomes full during recording, the archive automatically switches over to circulating mode, i.e. the oldest messages are overwritten while the error log is closed.

5.3.5.7 Comport

Selection of the channel to be parameterized. Default for all programs is the channel set in the program LIAN.

5.3.5.8 Channel Enable

Determines whether the current channel is to be addressed by the program SIMO. For instance, if you have installed a mouse on COM 1, you can disable this interface here for SIMO ( "Channel enable no" ).

The YES/ NO switch is operated by means of the Enter key.

Is a black recording window displayed, all four channels are disabed.

5.3.5.9 UART FIFO

Determines whether the UARTs FIFO is used during receiving and  transmission.

The YES/ NO switch is operated by means of the Enter key.

5.3.5.10 DisplayOnScreen

The output of the received data during transmission can be suppressed in order to avoid disturbances at high transmission rates or low computer performance. The output can be interrupted also during the record in the program SIMO.

The YES/ NO switch is operated by means of the Enter key.

5.3.5.11 OutputToPROFile

Determines whether an entry is to be made into the protocol file during the transmission ( see <DisplayOnScreen> ).

Recording can also be interrupted in the programm SIMO.

The YES/ NO switch is operated by means of the Enter key.

5.3.5.12 OutputToARCFile

Determines whether an entry is to be made into the archive file during the transmission ( see <DisplayOnScreen> ). At high transmission rates an interruption of recording can be useful in order to avoid errors caused by a too low computer performance.

Recording can also be interrupted in the programm SIMO.

The YES/ NO switch is operated by means of the Enter key.

5.3.5.13 BackScrollWindow

Determines whether an entry should be made into the BackScrollBuffer parallel to the screen­output. Allows a backscrolling in the recording data. The BackScrollBuffer entry for the current channel can be switched on or off.

Offers the user the possibility to view the received data of all channels parallel to the record. The data are sorted after time independently of the channel. The record runs without restriction in the background. 

The BackScrollBuffer is organized as circulation buffer. All entries take place up to a size of 200 screen pages ( 3800 lines ) sequentially. If the buffer is full the oldest information is over­written

Recording can also be interrupted in th programm SIMO.

The YES/ NO switch is operated by means of the Enter key.

5.3.5.14 ProtocolPrinter

Allows a simultaneous printout on the printer parallel to the screenouput, presupposed a printer is connected and operative. In order not to overburden the printer, this function should be activated only at reduced operation ( e.g. with a selection of specific data records by setting corresponding filters ).

With printerproblems the <ProtocolPrinter> is switched off by the  program automatically.  

In order to guarantee an undisturbed operation, it is necessary, to alter AUTOEXEC.BAT as follows:

              MODE  LPT1:  ,  , E    

The YES/ NO switch is operated by means of the Enter key.

5.3.5.15 InformationTypes

With certain protocols, it is not possible to distinguish the various  message-types. Therefore a protocol-specific list is introduced to the type identification. This list describes the allocation of the message-address to the message-type.

A created list can be saved over <File | Save | INFTYP> and can be loaded again over <File | Load | INFTYP> when required. If the <Configuration window> displays in the line Information type '????' the list is faulty or not created.

The determination for the type identification you will find in the relevant protocols.

5.3.5.16 Simulation

Some protocols require allocated telegram-buffers for the simulation ( command RTU or RTI in the programm SIMO ) for particular reactions. Therefore a protocol-specific list is introduced for the required informations. This list ( simo.sim ) describes among others station number and location of telegrams for automatic reactions.

A created list can be saved over <File | Save | SimList> and can  be loaded over <File | Load | SimList> if necessary. If the configuration window displays in the line Simulationlist '?????' the list is  faulty or not created.

In the following you can view the protocols which require a list :

ABB - Indactic 21

 

5.3.6 Options

5.3.6.1 Options - Configuration

This function displays the current overall configuration. Since the configuration window is larger than the sreen you can scroll the content with the arrow keys [down] and [up]. To activate the keyboard for to the general operation, the window must be left with [ESC].

5.3.6.2 Options - Notebook

The notebook is a small editor with which you can make notes of the current session. The file size is fixed at 200 lines and 76 columns. Lines cannot be added or removed. With [F10] you exit the editor and store your input on hard disk in an ASCII file with extension ‘.pin’. The notebook can be called in all program parts ( in SIMO, in the main menu, elsewhere under menu item <Options | Notebook> ).

 

5.3.7 Quit

Save configuration and quit program.

The current settings are saved as default configuration on the data carrier and they are available with the next start of the program ( Files: SIMO.KNF, SIMO.TYP and SIMO.SIM )

 


MAYR Software

Wuerzburger Ring 39,  D 91056 Erlangen

Manual LIAN DOS


LIAN DOS Protocol Simulator and Analyzer
© Copyright 1991, 1996, 2001, 2006-2010 by Werner Mayr. All Rights reserved.