Jump to content
Sign in to follow this  
VisSim Forum Archives

File Input Capability question

Recommended Posts

 

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?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...