03-13-2009 10:33 AM - edited 03-13-2009 10:36 AM
PS: The code looks familiar. You obviously work in Photonics. Which country / state / province are you located? Just curious.
Sorry I haven't gotten back to you sooner, I have been home for a day or two. I actually am in college working in a physics lab which is doing some experiments for LSST. I'm trying to boost my Labview experience though, seeing as I got hired by a fairly large 🙂 company outside of Dallas to start work with Labview in June (is this too much information?) haha. Since I am somewhat behind now, and have spring break this week I probably wont be posting an updated code for a while, but thanks for you all your help and I'll get back to you ASAP.
Oh, one more question. If I decide I don't need the third while loop, then doesn't the queue become obsolete? I will just be enqueing data, only to dequeue it right away for the graph. Shouldn't I just feed it right to the graph instead?
03-13-2009 11:34 AM
I saw similar code written by someone at a former client in Ottawa. I thought maybe you were working at that place.
If you want to learn LabVIEW and learn to do things right, then maybe you can post your code and we can suggest improvements.
I will try - not to - make changes to the code (it's a bad habit of mine) and offer suggestions that you can implement.
It is possible to achieve the same result by having two loops. With some advanced techniques, it is also possble to do it with a single loop, but let's not got there 😉
Have a look at some of the Producer / Consumer architectures and examples on the forum. Also look at Event Structures with data. I think there may have been a "Nugget" posted on the topic.
R
03-23-2009 09:14 AM
03-31-2009 07:19 AM