BreakPoint

cancel
Showing results for 
Search instead for 
Did you mean: 

With LabVIEW, I can do the impossible

Somebody asked in the LabVIEW forum "how to create 2D array with 3 rows and unlimited column?"

One answer that came to my mind was:



What else can you "do"?


Message Edited by Enrique on 11-14-2007 07:40 AM
www.vartortech.com
Message 1 of 18
(8,805 Views)
Infinity is a funny thing...

Divide a double with a value of say 10 by a double with a value of zero and you'll get Inf. Compare that to the +Inf constant and they will return true.

Initialize the array as you did with the output of my example (10 / zero) instread of a constant and you'll get a memory full error.
Message 2 of 18
(8,799 Views)

Good to see you on the forum, Enrique 🙂

LOL! Interesting example.  There are physical limits supported by the OS (I64?) = 18,446,744,073,709,551,615

which is probably 1/2 way to infinity 😄 , so the problem is beyond... !!

"To Infinity & Beyond!"

You should have posted the example in the thread.. 🙂  Unlimited columns...  is that close to infinity?  😄

Message 3 of 18
(8,785 Views)
Hi Joel! Yes, its been a while.

Infinity is indeed a funny thing. It can help solving a lot of questions. For example, this person asked "How do I get my application to go away when it stops running?"

What about this?



I don't think it help with the "running" part, but, man, it will "go away".


Message Edited by Enrique on 11-14-2007 02:33 PM
www.vartortech.com
Message 4 of 18
(8,758 Views)

LOL!!!  You're on a roll today.  😄

0 Kudos
Message 5 of 18
(8,751 Views)


Phillip Brooks wrote:
Initialize the array as you did with the output of my example (10 / zero) instread of a constant and you'll get a memory full error.


Hi Philip,
 
I did as you suggested, but didnt get any memory error. Smiley Happy
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 18
(8,146 Views)
I don't usually resurrect old threads, but someone at our office made a comment about eternally splitting infinitives and this was the result...



     Rob


Message Edited by Robert Cole on 06-17-2008 03:25 PM
Message 7 of 18
(7,921 Views)
Did you actually run it?  You got me curious..  LOL!  Infinite wait..  They must have that VI at Hospitals..
Message 8 of 18
(7,912 Views)
The infinity + 1 turns into a maximum i32 when fed into the case. It never comes out as the 2 parts being equal. I would assume that the wait is also coerced to a maximum integer. I didn't let it run long enough to see if it ever stopped.

Of course I ran it. 😛

     Rob
Message 9 of 18
(7,908 Views)

In theory it would take about 32 days to get the results. Now if Windows would say up that long....

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 10 of 18
(7,870 Views)