Graphics.DspSimdata - lordmundi/wikidoctest GitHub Wiki
Sim Data plugin
« | EDGE User’s Guide | »
This is the older Simdata documentation for versions of EDGE 2.0 and below. For newer versions, see this page.
Sim data visualization interface
How to Use:
To generate the data:
- Turn comm off in your sim graphics.data.comm.active = False;
- Make sure you are recording all of the variables out of the graphics object that you need
- Optional: turn off realtime so that the sim runs faster
- Run the sim and record the data. Use the output .header and .trk file in the next steps
To visualize the recorded data:
- Select Options→Sim-data Dlg
- Click the icon in the "Header File" field. Select the header file output from TRICK that goes with your recorded data. This is no longer required! —FG
- Click the icon in the "API File" field. Select the API file you wish to use. See the API File Reference page for more info.
- Click the icon in the "Data File" field. Select your recorded TRICK data.
Look at the output from the terminal where DOUG was started. You should see print output saying which TRICK variable is getting mapped to which node. Check for any errors.
Use the VCR controls as normal. Use the "User Defined" scale to set the playback scale as low or high as you want.
To override the default sim_data directory location:
There is an environment variable called "SIM_DATA_DIR" that is used to provide the default. In EDGE 1.0, this is being defined in the cev.cfg unfortunately. Please see this issue for more details and a workaround.
« | EDGE User’s Guide | »