922-20007052/1.2
49
Delay
The
Delay
function is a “control” statement simply used to add a delay between
API commands. The
Delay
function is only used in the M3 Sonar API Testing
software. However, you can code a delay between API commands into your
custom application. Click the
Add
button to add this command to your script.
Open Custom Command
This feature is useful in the event that new API commands are supported in the M3
Sonar API, but you are still running an old version of the M3 Sonar API Testing
software. Adding the new command to an XML file will allow you to test it. The
“Commands” folder contains XML files of all supported API commands — this
folder is a good place to add your custom command. Click the
Add
button to
browse for an XML file that you can add to the
Command Script
pane.
Save Command Script
Click the
Save
button to create an XML commands file that you can run later.
Open Command Script
Click the
Open
button to open an XML commands file. Opening a file will add the
commands to the
Command Script
pane, but will not remove commands already
listed in the pane.
Display Sonar Image
Check the
Display Sonar Image
box, then click the
Connect
button to open the
Sonar Image
window.
Related topics
Testing the M3 Sonar API, page 23
M3 Sonar API Testing software dialog box - Configuration
page
Use the
Configuration
page to set the IP address of the computer running the M3
Sonar API and to configure which ports the M3 Sonar API Testing software uses to
communicate with the M3 Sonar API.
How to open
Click the
Configuration
tab in the M3 Sonar API Testing software.