LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

case strucute with infinity and else as two cases

Dear Guys,

I would like you to help me making a case strucutre with two cases ... Infinity and Else how is it possible to make such a case strucutre and thank you in advance..

Message 1 of 5
(3,775 Views)

There is no value assigned in integer which represents "Infinity".

So i understand that you deal with floating point numbers. A simple "Equal" compare of your number to "Inf" will result in data you can use with a case structure....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(3,765 Views)

You'll have to use a Equal to Inf and have True and False cases. You can't wire a double directly to a case structure for this.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 5
(3,762 Views)

Pictures paint a thousand words!

 

2015-10-20_15-17-45.png


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 5
(3,758 Views)

@Sam_Sharp wrote:

Pictures paint a thousand words!

 

2015-10-20_15-17-45.png


But VIs are worth a thousand pictures.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(3,707 Views)