LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

In a case structure....

Solved!
Go to solution

In a case structure.....

If temp>800 celsius, then

     pressure=100*e^(10t)

where t is time varies at a rate of 100 ms.

else pressure=10 bar

 

but t should increase gradully by 100 ms or 0.1 sec

0 Kudos
Message 1 of 8
(2,627 Views)

This appears to be a continuation of your earlier thread: http://forums.ni.com/t5/LabVIEW/XY-graph-using-formula-node/td-p/1846609

 

Please stick to the original thread.

0 Kudos
Message 2 of 8
(2,608 Views)

Why do you have two separate case structures, with the same selection logic?

 

The input to your express formula node is not wired.

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
Message 3 of 8
(2,606 Views)

This may help.

case structure.png


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 4 of 8
(2,589 Views)

can you please explain what is the need of using date/time function and double penetration in the above problem

0 Kudos
Message 5 of 8
(2,565 Views)
Solution
Accepted by topic author Jathin

That is to calculate the the elapsed time. The first one takes the time when you start the vi, the one inside the loop takes the current time and the substract just determines the elapsed time from start. I assume thats what you wanted.

The double conversion (i assume) is just to avoid a coercion dot.


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 6 of 8
(2,560 Views)

um, eh, um, er, um, did anybody.. um, huh huh, eh, am I the only one that.... um, ehhhh....  Smiley Very Happy

Richard






Message 7 of 8
(2,555 Views)

@broken Arrow wrote:

um, eh, um, er, um, did anybody.. um, huh huh, eh, am I the only one that.... um, ehhhh....  Smiley Very Happy


after seeing the solution ace presented I was able to re-read the OP and find every element captured.  Some magic decoder ring you have there ace!

 

On the other hand- remove both convert to doubles and see if you get coersion dotsSmiley Surprised


"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 8
(2,512 Views)