01-24-2009 05:02 PM
Hi there,
Here in this mail i have attached two files one "loading text file" which is the Vi that i have written to load the data file which i have given (The data file is "Sensor data " ).
The sensor data has 5 columns (1st Date , 2nd Computer time , 3rd Time in secs , 4th Sensor value 1, 5th Sensor value 2) . The data from 3rd column and the 4th should be taken as the X and Y axis respectively and then this data should be given as the input for a PID controller . I tried to do this with the General PID controller simulation.vi given along with the PID tool kit . Please try to link the data with the PID controller the data that i have attached shouls be given as a input to the PID controller. I have tried my best for the past few weeks.i am have submit the result coming tuesday.hope for this will work and you can help my problem.
01-26-2009 05:04 AM
Hi bala1234,
do you mean the General PID simulation.vi? would you please exlpain which input you want to use.
You can use the sensor data from the 4th column as Setpoint using the local variable to write this values to the control (SP) on the front panel of "General PID simulation.vi"
I hope this helps you out
Best regards,
Hsm
01-27-2009 03:07 AM
Thank very much for your reply .
I like to you the data generated by me as the input to the PID controller . I am also speaking of the same genaral PID simulation .vi
Problem:
If you see the Genaral PID simulation .Vi there in it there is a Sub Vi named " System " which takes in and generates the data .
Iike to make the system.vi to give out my data as the output so that it can fed back to the loop.
The X value - 3rd column and the Y value - 4th column to be used as the input for the PID controller. So if u plot taking this as X and Y we get a signal (The Vi that i have included do this job it takes in the file sensor data and show us the plot) . This signal to be produced by the simulated system that is present in the general PID Vi.
your help would be strongly appretiated..thank you