File Input Capability question
Submitted by HarryWeatherford on Wed, 06/01/2011 - 21:47
I am new to VisSim. I wish to read data from a csv file into the simulator. The data will be time based and will be used as feedback against the simulator's solution. UDP works easily, but I would like to use files of actual recorded data. What is the easiest way to read csv data files into VisSim to compare with the simulation results?
Answers
-
Submitted by Anders89 on Thu, 06/02/2011 - 04:28.
Hi Harry, You want the Blocks > Signal Producers > Import block. Right click to to give the file path to your .csv file. If the file contains data points spaced equally in time, you can provide the time interval or, if it is asynchronous data, you can give the time data column and VisSim will automatically interpolate the data for inclusion into the simulation.
You can also leave the column header labels in place and activate the 'Use First Row as Pin Labels' option to have the column headers annotate the output pins of the block. For large column counts this can be quite helpful.0 -
Submitted by HarryWeatherford on Thu, 06/02/2011 - 15:59.
Thank you! That was very useful feedback.
0