LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why can't I get output values if I don't have any error messages?

Also, I've been using the 2013 trial version. I just bought the 2012 student version, and apparently the files aren't compatible. How inconvenient.

0 Kudos
Message 11 of 20
(1,199 Views)

If the loop iteration count, wired to your constant of 8, is equal to N, and the smallest length array that is set to autoindex (tunnel on loop border has two brackets inside it rather than being a solid block of colour) is M long, the for loop will will run for a number of iterations equal to whichever is smaller of N or M.

---
CLA
Message 12 of 20
(1,197 Views)

Here is how I would do it. You can see that this way you don't have to match the size of R2 and Vout yourself, LabVIEW will build the array for you. Obviously this only works for R2 increasing as it does in your question, you could use 'index array' tied to the iteration number just as easily if you made the array R2.

Also, you should be able to 'save for previous version' if you still have LV13 there.

Message 13 of 20
(1,182 Views)

@Torii wrote:

Also, I've been using the 2013 trial version. I just bought the 2012 student version, and apparently the files aren't compatible. How inconvenient.


Open them in LabVIEW 2013 and "save for previous". Voila!

Message 14 of 20
(1,169 Views)

@eyeballxxx wrote:

Here is how I would do it.


Here's how I would do it! 😄

 

 

Download All
Message 15 of 20
(1,158 Views)

touche altenbach...  Smiley Sad

touche.jpg

Message 16 of 20
(1,147 Views)

Torii wrote:(I am so LabVIEW illiterate it's not even funny. Sorry!)

Then may I recommend you take some of the online tutorials.

LabVIEW Basics

LabVIEW 101


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 17 of 20
(1,137 Views)

Wow guys, thanks for the help. I saved all my 2013 for 2012 and it worked.

 

I did those tutorials years ago but you're probably right, I could use a refresher. Did my formula node give it away? Using the math function buttons is probably the more accepted way of doing it. There's  a lot of "shortcuts" that i'm not familiar with. 

 

To the tutorial...!

0 Kudos
Message 18 of 20
(1,134 Views)

As you probably noticed, the instructions are convoluted from the beginning, for example the statement:

 

"Use a for loop to calculate the value and build arrays for the voltage and R2 values."

 

... just forces you to create overly complicated and inefficient code. As you can see from my solution, neither a FOR loop nor "built array" primitives are needed here. Problems like that should not force you to do it in a certain way. Only the correct result counts! 😄

0 Kudos
Message 19 of 20
(1,128 Views)

Nice line altenbach,Only the correct result counts !!!

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 20 of 20
(1,108 Views)