The Scripts provide a powerful
addition to flexibility and further sophistication in network analysis for both
Real-Time and Off-Line (unattended) scenarios.
Active Scripts take effect
after the message has been received and before they are populated into the
different analyzer views. A Script can define which messages are displayed in
Time View, generate alerts, stop data capture, divert selected messages to a
predefined communication port, change device icons in the Network View, create
user defined statistic charts, handle special security keys needs,
edit/change/transmit messages (valid only if a Traffic Generator Add-On license
is also active) and more.
Writing or modifying Scripts is
accomplished using the Peryton-Scripting Add-On.
Any Perytons™ Protocol Analyzer user can run previously written Scripts but without a Peryton-Scripting Add-On, he will not be able to modify them.
Scripts are written in C# (C sharp)
convention and no external development environment is needed (the environment
needed is included within the Peryton-Scripting Add-On license itself). The
Scripts code is kept as a text file with .CS extension under the My
Documents\Perytons\Scripts folder (default directories can be changed – see par.
IV.19.10).
The Perytons™
Scripting Add-On does not require installation of an external SW but just a
proper activation code which is received from Perytons when purchasing it.
Scripts can be used for the following sections:
Time View
•Choosing the messages that are displayed in Time View, set their color, set bookmarks in time related locations of interest, assign Notes to messages meeting a specific scenario
Message View
•On startup
o Choose the message fields that are visible to the user, change their color, text, tooltip and any other properties
•During Run-Time
o Choose which messages are added to the Message View automatically, set a name (i.e. type) to each message, change the message color, set Message User Defined Notes
•If the Traffic Generator Add-On is installed
o Change the content of messages' fields
o Initiate message/s over-the-air transmission
Network View
•Set the current visible icon for each device according to the device info (e.g. address, type) and current state (selected, active, etc.), set Devices User Defined Notes
Message Sequence View
•Define groups of messages to be included in specific transactions
Statistics
•Create charts based on data collected from received messages
Alarms
•Generate events and alarms on important scenarios. Send the alarms to a log file, event window, generate e-mail alerts or publish to Twitter
Security
•Special decryption handling of selected messages
Other
•Being based on C# (C sharp) code, the Scripts have full access to the PC resources. This allows Scripts to add a wide variety of features to the Perytons™ Protocol Analyzer. For example build specific fields of the received message into a predefined structure and send it to a predefined IP address (e.g. over UDP) and many more