LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

chart not displaying anything

Solved!
Go to solution

Hi guys, I am not sure why the chart is not displaying anything..the file is attached below 

plssendhelp1506_1-1720427033151.png

 

0 Kudos
Message 1 of 13
(656 Views)

plssendhelp1506_0-1720427284504.png

to add on, this is what i have done to the plant system in an attempt to linearize it 

0 Kudos
Message 2 of 13
(651 Views)

plssendhelp1506_0-1720427379414.png

 

0 Kudos
Message 3 of 13
(645 Views)
Solution
Accepted by topic author plssendhelp1506

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???

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 13
(612 Views)
Solution
Accepted by topic author plssendhelp1506

@plssendhelp1506 wrote:

Hi guys, I am not sure why the chart is not displaying anything..the file is attached below 

plssendhelp1506_1-1720427033151.png

 


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.

Message 5 of 13
(581 Views)

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 

0 Kudos
Message 6 of 13
(561 Views)

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 

0 Kudos
Message 7 of 13
(554 Views)

plssendhelp1506_0-1720497598462.png

 

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.

 

plssendhelp1506_0-1720498113176.png

I removed the multimeter and chart here as it does not seem relevant to me. 

 

Regards,

Emma ​

Download All
0 Kudos
Message 8 of 13
(543 Views)

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 ....

plssendhelp1506_0-1720587328968.png

 

plssendhelp1506_1-1720587387603.png

 

the file is attached below. 

 

0 Kudos
Message 9 of 13
(540 Views)

the logic for the whole system should be something similar to this 

plssendhelp1506_2-1720587717615.png

 

0 Kudos
Message 10 of 13
(538 Views)