VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Importing parameter values from csv?

Hello,

 

I am using the Stimulus Profile Editor with VeriStand. What I want to be able to do is to populate the values for my parameters by pulling numbers out of a spreadsheet. For example, in my real-time sequence, I have parameters: ParaA, ParaB. In my csv, I have ParaA, ParaB; 1, 2. When I run the real-time sequence, I want the sequence to check that in the spreadsheet, ParaA is 1, so it set ParaA=1. How do I make this happen? Thanks.

0 Kudos
Message 1 of 2
(5,392 Views)

Hello,

 

What version of VeriStand are you using and have you tried importing the .csv file itself yet to check for correct formatting? In the Stimulus Profile editor you can select File -> Import Data File. Currently, VeriStand 2011 allows for File Replay or importing .csv files to use as the stimulus profile itself, including executing channel operations which will force a parameter value. This Developer Zone Tutorial, examples 5 and 6, walks through an example project to draw in such .csv file values. How many parameters will you be updating?

 

Thank you,

Deborah Y.

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 2 of 2
(5,380 Views)