LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sun position VI

Hi,
I attached a llb including a vi for daily sunposition calculation after the SUNAE algorithm [Authors: Dr. Joe Michalsky (joe@asrc.albany.edu), Dr. Lee Harrison (lee@asrc.albany.edu)]. I simply transferred the FORTRAN code into a formula node, the way that it can be used with LabVIEW for driving suntrackers very precisely. please take a look at the notes and feel free to use it.
O.K. the viewer still needs work...any comments for improvement of layout and code are welcome!
Then I have another question, of course 😉 Does anybody have a °C to F conversion VI or algorithm?
Thanks and a nice weekend
Olli

Message 1 of 16
(5,827 Views)
If you look at the examples you will find a temperature VI. Inside that VI is a subvi that will convert from C to F.



Joe.
"NOTHING IS EVER EASY"
Message 2 of 16
(5,800 Views)
Hi Joe,
yes, I found the subVI Digital Thermometer.vi in the examples...just a small modification and it fits to my needs!
Thank you
Olli
0 Kudos
Message 3 of 16
(5,759 Views)

Hi Olli

I wanted to have a look at what you made, but your code is in LV8.2. Could you post it as LV8.0?

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 16
(5,752 Views)
Hi becktho,
I just converted it into LV8.0. Let me know, if you still have problems open it.
Ciao,
Olli
Message 5 of 16
(5,747 Views)

Now it works - well done ;).

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 6 of 16
(5,744 Views)

Hi,

Perhaps I can hang-on to this thread since I am having the same problem of not finding any more the NI Labview Digital Thermometer.vi (simulated) but the answer is not specific enough for me.

"If you look at the examples ......"

 

I used this in a prevíous .vi but now when I try to open it in 8.2 I get an error message because it is not found.

Is it now somewhere in NI Example Finder? Or VI from template?

 

Thanks for any more precise hint of where to look,

Tord K

 

0 Kudos
Message 7 of 16
(5,387 Views)

Great program, I've been looking for something like this for quite some time so I was glad to find this one. The only thing is that running it in LV2010 works with errors in the sun position. Do you have an updated version of the program?

Thanks!

0 Kudos
Message 8 of 16
(4,801 Views)
Hello, unfortunately I only have a version 8.5. But the core VI, that makes the calcultaions should work in LV10. Probably the graphic functions are not compatible....but this you can easily modify according to your needs. Please pay attention with the sun position especially in low elevation angles! There is currently no refraction considered. But the original SUNAE algorithm allows to enter a fraction....for my first approach it is accurate enough without refraction. Here you can find another online tool which is using NREL's SOLPOS algorithm...if I can find some time and get access to the algorithm, I'd like to use it as well in LV: http://www.nrel.gov/midc/solpos/spa.html and the links to the algorithms: http://www.nrel.gov/midc/spa/#register Greetings! Olli
Message 9 of 16
(4,785 Views)
Hello again, here you can find the original SUNAE algorithm: http://r-oce.googlecode.com/svn-history/r1152/trunk/src/sunae.f The author was Dr. Warren Wiscombe (author was wrongly mentioned in my first post). But he referred to the work of Dr. Joe Michalsky and Dr. Lee Harrison. Greetings! Olli
Message 10 of 16
(4,780 Views)