FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
RECORD [/] REPLAY [INTERFACE] [:] [:] <symbol> RECORD [/] REPLAY [INTERFACE] [:] [:] <symbol> \ <symbol> RECORD [/] REPLAY [INTERFACE] [:] [:] / <symbol> / <symbol> RECORD [/] REPLAY [INTERFACE] [:] [:] / <symbol> / |
Function:
Specifies
that the named symbol is to be treated as a record / replay interface. The symbol may be:
a sub-program name. Calls to the sub-program are then surrounded by the code to capture the values of the arguments and to replay them when the
appropriate command flags are set at run-time a variable name. This is specified as the name, which must be unique, as <sub-program> \ <variable> or
as / <common> / <variable> . Read accesses to the symbol are surrounded by code to capture or replay its value. a common block name. This is specified as the name, which must be unique, or as / <common> / .
Read accesses to all variables in the COMMON block are surrounded by code to capture or replay their values.
Please see INSERT RECORD / REPLAY for a description of the record/replay mechanism.
Where to use this command:
Operating system command line |
Yes |
|
Configuration file, config.fsp |
No |
|
Specification (FSP) files, *.fsp |
Yes |
|
Interactively, to FPT> prompt: |
Yes |
|
Interactive command files |
Yes |
|
Embedded in the Fortran code |
Yes |
|
Default:
No interfaces are specified by default.
Example:
! helisim1_rr.fsp 14-Apr-12 John Collins
helisim1_files.fsp
% record / replay interface get_pal
% record / replay interface get_cyclic
% record / replay interface get_collective
% record / replay interface get_rudder
% record / replay interface /switches/
% insert record / replay
! End of helisim1_rr.fsp
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.