07-08-2024 03:25 AM
Hi guys, I am not sure why the chart is not displaying anything..the file is attached below
Solved! Go to Solution.
07-08-2024 03:28 AM
to add on, this is what i have done to the plant system in an attempt to linearize it
07-08-2024 03:29 AM
07-08-2024 06:12 AM - edited 07-08-2024 06:15 AM
Hi pls,
@plssendhelp1506 wrote:
to add on, this is what i have done to the plant system in an attempt to linearize it
So you added (just) a VI description to "linearize the 'plant system' subVI"???
@plssendhelp1506 wrote:
Hi guys, I am not sure why the chart is not displaying anything.
As can be seen in your 3rd message the answer is: you forgot to "THINK DATAFLOW!"
Additionally you forgot to debug your own VI using highlight execution…
You placed a while loop in your subVI: when does this loop stop and when does your subVI finish it's execution???
07-08-2024 09:50 AM - edited 07-08-2024 09:51 AM
@plssendhelp1506 wrote:
Hi guys, I am not sure why the chart is not displaying anything..the file is attached below
What you did so far is mutilate the "plant" subVI from one of the shipping example (PID with noise plant). If you modify a shipping VI, you need to give it a new name and also attach it here. It is a really bad idea to keep the name as is. What is the reason that you wire the chart, PV and multimeter to the old value instead of the current?
And please (please!) don't maximize the front panel to the screen!
I recommend a few basic tutorials.
07-08-2024 08:25 PM - edited 07-08-2024 08:28 PM
I am so sorry, here is the file for the plant system vi. The multimeter I intend to use it for measuring current which will be our process variable here
07-08-2024 08:58 PM - edited 07-08-2024 09:00 PM
the while loop will stop after the false condition has been activated. e.g. if in_volt hits more 15.4V or the in_volt is at 0V, it will stop
07-08-2024 11:06 PM - edited 07-08-2024 11:20 PM
I figured out that the condition in an attempt to linearize the plant system, the case structure should be placed inside the while loop for it to run. Now, i am wondering how is it possible for me to include a transfer function like H(s)=3s+2 / s2+4s+5if i have the latest version of labview instead of the older version which have the control design and simulation palette. lets say the plant system here is to simulate a cooler.
I removed the multimeter and chart here as it does not seem relevant to me.
Regards,
Emma
07-10-2024 12:00 AM
Hello guys, I have implemented a transfer function inside the the block diagram ( at the bottom ) and attempt to linearize the system. But i am not sure why is my plant output chart not displaying anything despite all the connection ....
the file is attached below.
07-10-2024 12:02 AM
the logic for the whole system should be something similar to this