08-09-2012 07:04 AM
Hi. I want to create a real-time control module that has a time varying set point. For each time step, I would like to read the value for the set point from an input file. I am currently using the module found here as a starting point but I am not sure what I need to change the constant set point value to in order to read from an input file. Any thoughts would be greatly appreciated.
08-10-2012 04:45 PM - edited 08-10-2012 04:45 PM
Afternoon Peckens,
Try starting with the following example to read in the data file (if it is a text file). Then you can use the iteration terminal of that loop to change the set point by indexing the array.