12-17-2009 08:43 AM
hi
I m acquiring data with DAQ data assistance and its while loop.
My problem is that I m not able to control while loop through Pulse timing like 200 ON time 800 OFF time or Continuous time duration like 100 second.Please give me some suggestion.How can i make such a system?
My second question is I want to convert voltage signal into some standard unit like BAR through fourth order equation.I m trying this thing with array.Is there is any other method that i can use and one more thing the constant of fourth order equation i have to made user define i.e on interface.
Please suggest me this is my first project .
Thanks and Regard
Saurabh Agrawal
Solved! Go to Solution.
12-17-2009 09:22 AM
Regarding your first question,
Are you wanting the DAQ's timers to control when the same DAQ acquires data based on your timer?
In my opinion, convert the assistant vi to LabView code (right click on it) and learn to work with it that way. I would keep the while loop running at all times (unless you really don't want it to even look at the counter). Have the counter's state feed a case statement.
This might not apply to your situation, as I might have misunderstood. There are dozens of ways to handle this. Perhaps you could post what you have so far?
For your second question, DAQmx drivers and MAX support Scales. You can create information for scaling data to convert it to real units. I don't recall how detailed it is, but I think you can do what you want with it. Data from that task that uses that scale is in real units as opposed to electrical data. Check in Measurement and Automation for that.
12-18-2009 07:01 AM
THANKS
I will try to send what i have done so far.and yes i want to control data acquisition according to timing what user will give.thanks for ur suggestion i will check case statement with counter.