labview projects

2008-08-11 10:38:36.000 – Jeff Wehrwein,  Summit Intern

Pre-sunrise clouds over Wildcat.

This week, I have been working on a project that relates to the current summit conditions page on our web site. That page is actually just a screen shot of a program that pulls data from our databases every minute. The program is written using LabView, which is a programming environment designed for working with instruments and data. It runs in several locations, including our living room here on the summit. At some point, the one in the living room stopped working properly, and I have been tasked with fixing it. Unfortunately, the program was last updated several years ago when there was still somebody at the Observatory who knew how to use LabView. Nobody on the current staff knows much about LabView, so Steve and I have been trying to learn how it works.

LabView is not a typical programming language – programs are constructed using pictures rather than lines of code. Instead of words, it uses little icons (“instruments”) connected by lines (“wires”) to create a program. For example, to create a program that adds two numbers together, source code for an ordinary programming language would look something like this:

int A = 50;
int B = 23;
int sum = A + B;

In LabView, the source code for such a program would be a a diagram like this. This looks relatively simple, but more complicated programs quickly become cryptic to untrained eyes. For example, here is part of the source code for the current summit conditions page – the whole thing doesn’t even fit on my computer screen. I have been trying to decipher the code bit by bit, though it still looks like a garbled mess at this point.

LabView has many other uses up here on the summit. Many of our instruments are connected to a complex LabView program that processes the data and inserts it into our database. The “real wind” project, which Brian mentioned in a comment on March 28th, also requires an understanding of LabView. The goal of that project is to replace assumed values for temperature and pressure with the current values when calculating wind speeds measured by the pitot. Currently, when we have a large gust such as the one Brian discussed in March, we have to correct the measurement by hand, which is a time-consuming process. This and many other projects are on the list for when we figure out LabView.

 

Jeff Wehrwein,  Summit Intern

Wildfires in New England

November 4th, 2024|0 Comments

Wildfires in New England By Francis Tarasiewicz My last blog was about an extreme flash flood event in southwestern Connecticut and so you can probably understand my feelings of irony as I write a

Notes from the “Ameri-Corner”

October 24th, 2024|Comments Off on Notes from the “Ameri-Corner”

Notes from the “Ameri-Corner”  By Amelia Gross I was lucky to arrive at Mount Washington Observatory in late May just as the last bit of snow was melting and the Sherman Adams Summit Building

100+ mph, Rime and Snow on the Summit!

October 16th, 2024|Comments Off on 100+ mph, Rime and Snow on the Summit!

100+ mph, Rime and Snow on the Summit! By Alexis George Winter-like conditions have been in full swing at Mount Washington since I first arrived on the summit last week. Summit staff enjoyed high

Find Older Posts