User Guide: DSim Cloud CLI view wave command
Synopsis
mdc view wave [/remote/work/path/to/file/][wavefilename].mxd
DSim Cloud allows you to view a waveform file that is generated after a simulation is complete, in the Metrics Waveform Viewer in your default internet browser. However, you have to specify that you want to output a wave file in your simulation command.
Current Working Directory Example
The following example from the Walkthrough Tutorial will run a simulation from the current working directory and output the wave file to the current working directory.
mdc dsim -a '-F filelist.txt +acc+b -waves waves.mxd'
In the above command, DSim Cloud will generate a wave file named waves.mxd.
You can then open the waves.mxd file like so:
mdc view wave waves.mxd
This will open the waves.mxd file with the Metrics Waveform Viewer in a new tab of your internet browser. If waves.mxd is modified on the remote, eg. by another DSim simulation, subsequent calls to mdc view wave waves.mxd
will open new tabs.
Specifying an Output Path and File Name
The following example will output a file to a directory in the remote workspace directory /remote/work/
mdc dsim -a '-F filelist.txt +acc+b -waves /remote/work/waves.mxd'
In the above command, DSim Cloud will generate a wave file named waves.mxd in the remote workspace /remote/work/
You can then open the waves.mxd file like so:
mdc view wave /remote/work/waves.mxd
This will open the waves.mxd file with the Metrics Waveform Viewer.
For more information on generating a wave file with DSim, please refer to this article.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article