Customer Service Center
Home
Knowledge Base
Contact Support
License Activation
|
Contact Support
|
License Activation
|
Spirent KB Article
Doc ID: FAQ13827
Printer Friendly
Email Article Link
Positioning Application: Can remote commands be saved to file and replayed directly in the scenario?
Environment/Versions
PosApp (SimGEN / SimREPLAYplus / SimREPLAY)
Answer
Yes, this is possible.
Please follow these steps to capture the incoming remote commands to file and then associate that file back in the scenario
Go to menu [Options-->Remote Command Settings]
Enable the 'Output file' to capture commands being sent over TCP/IP, GPIB, RS232 or SCRAMNet.
Run the scenario and send remote commands as normal.
Once the scenario is complete (ended and rewound), locate the 'Output file' that was created
Remove or modify unnecessary commands such as
- NULL: delete these, they may be used by the remote system to monitor the scenario 'state', but are unnecessary when reading from file
- 'Immediate' timestamped commands: modify these, particularly motion commands
must
be timestamped when reading from file
Ensure AR and/or RU and EN commands appear in the correct places in the file
- This should be the case as the remote system will have issued these commands, so it is really just as a 'confidence' check
Save the modified file
Go back to menu [Options-->Remote Command Settings]
Untick the 'Output file' and "Enable binary logging of received UDP data" selections
To reuse the 'Output file', enable the 'Data file / user actions'
Browse to the 'Output file' that was created
Choose to "Manually" read the file
- "Automatically" means the file is read once you click 'OK' and whenever PosApp is launched(!), which can often be undesirable
Ensure the scenario has the 'Remote' vehicle type selected
Start the scenario using the 'Start remote input' toolbar button
NOTES
For commands being sent over UDP/IP, tick "Enable binary logging of received UDP data"
- However this binary file cannot be reused directly
- The file must be converted to ascii and then the format of the content made suitable as a .ucd file
- Please contact Spirent Global Services for assistance with this
Instead of the above technique you can extract particular commands for use elsewhere in the scenario
- Extract only motion commands (MOT or MOTB) and create a .umt 'User Motion File'
- The commands must have a valid timestamp,
not
an 'immediate' timestamp
- Choose an appropriate vehicle type and then enable the new .umt file as a 'User Motion File' for the vehicle
- Start the scenario normally, using the toolbar button or with a remote RU command
- Extract other command types, e.g. POW_LEV, SWITCH_SAT, and create a .act 'User Actions File'
- The commands must have a valid timestamp,
not
an 'immediate' timestamp
- Enable the new .act file in the scenario tree [Options-->User actions file]
- Start the scenario normally, using the toolbar button or with a remote RU command
Version
2.0
Publish Date
2014-07-29
Categories
Product : SimREMOTE,SimREPLAYplus,SimREPLAY,SimGEN,PosApp
Related Articles