LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Variable set point with real-time controller

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.

0 Kudos
Message 1 of 2
(2,594 Views)

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. 

 

Read file

Kyle Hartley
Senior Embedded Software Engineer

0 Kudos
Message 2 of 2
(2,561 Views)