LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read data in control desing and simulation loop

Hi and thanks in advance:


A few days ago, and using the DAQ assistant I store data into a text file, this data correspond to the time, inlet flow, water level and a valve state from a hydraulic system i'm working on. Now I'm trying to take the inlet flow data and use it as an input in a simulation of the same system This simulation is done using the control design and simulation module, however I'm not able to do it. I guess i need to do some sort of indexing but i'm not sure how to do it, another preoccupation is the timing the data is taken every 10 ms and the data needs to be send in such a way that the stimulation have the same behavior than the real data.

 

Any information on how to do this would be really helpful.

 

In the picture is my try to do this for this message i use the integrator as the system i'm trying to simulate.

 

Sin título.png

 

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

The attached screenshot seems fine. What do you exactly mean when you say you are not able to do it? Do you get an error message when you try to run the program or just a wrong output?

Camilo V.
National Instruments
0 Kudos
Message 2 of 2
(2,414 Views)