08-09-2012 07:26 AM
Hey AMP,
Thank you so much for the recommendations. I have the Agilent and Druck drivers all ready to go. The problem is I was stuck using the producer/consumer loop and I kept running into problems mainly where to put everything. The state machine design sounds much better.
Thanks everyone for your help. I'll stick with the state machine
08-09-2012 07:31 AM
Hi buickgn,
It will be good if you share the piece of code in labview that you have done.
08-09-2012 07:35 AM
Danil,
Unfortunately I've been trying and failing several times with the producer/consumer loop so I'm going to start fresh with the state machine design pattern. If I run into a problem that my newbie self can't find the answer to I'll post the code.
Thanks for your help, I truly appreciate it.
08-09-2012 07:54 PM
That's exactly what I was thinking. May be use a For Loop in the DAQ/Processing state for the different nominal set points but that's about as much complexity as I envision for this application. I've done this on other projects and it has worked fairly well. The greatest issue I've encountered in my previous projects has been timing using this technique, but it's doable using time "delays". I think the Producer/Consumer architecure might be better at handling syncronization and timing issues, but I'm not familar with it at this time. As you probably know our work in metrology/calibrations is very data oriented and we want to get to it quickly so that we turn around and report our results. That's where LabVIEW shines and hence has become sort of the defacto language for data acquisition systems. In closing advice for someone starting with LabVIEW as yourself; use the resources NI provides and in particular this forum which is very helpful overall in providing answers to questions/problems with your programs. People here are generally nice and willing to help you so don't hesitate to ask questions when you get stuck. Good luck with your project and I hope you succeed.
08-15-2012 08:51 AM
Thanks for the advice Otman, I truly appreciate it.