12-08-2011 02:32 PM
HELLO
I am trying to cotinously record thermocouple and pressure data. I am only able to capture the final data upon clicking the stop botton. How can I continously collect every data point?
BTW, I am using LabVIEW6 with XP
Thank you
12-08-2011 05:36 PM
Did you try to take a look at the DAQ examples (Help>Find Examples...>>Hardware Input and Output>>DaQmx>>Analog Measurements>>Temperature)? I am pretty sure there is one that is doing exactly what you are looking for.
12-08-2011 05:41 PM
YES! I did.
But the example didn't record the data.
12-08-2011 05:55 PM
Sorry, I can't look at your VI (too early a version for me). Which example did you try? What hardware are you using? Do you get an error and if yes, which? Did you try to test your hardware from within MAX first?
12-08-2011 06:10 PM
I use the "continous thermocouple mesurement", but I think because of the version, your might different.
I am using 6023E with SCXI devices. They're recognized by MAX.
I didn't get any error, just couldn't record each of data point, only the point when I click the stop.
12-08-2011 06:41 PM - edited 12-08-2011 06:42 PM
Please see my program which is attched. Thank you
And I have a loop for overall as well.
12-08-2011 06:43 PM
Here is what I can see of your code, so it is in part guess work:
12-08-2011 06:55 PM
So in essence, your code should do what you are describing it does. It is a wonderful example of beginner's code (we have all made some similar stuff at the beginning of our wiring attempts!).
Unless you really want to look for a loooong while at each bunch of thermocoupe data before moving on to the following, your code should look something like that (in your beginner's style, no offense intended, but there are a few new concepts in the newer versions of LV that would call for an entirely different structure):
This is obviously oversimplified, but that should give you an idea.
12-08-2011 06:55 PM - edited 12-08-2011 07:03 PM
Wow! That's fantastic! Thank you so much!
I will try to re-build my program.
If I have more problems, can I ask you again?
12-09-2011 09:57 AM
Dear X,
I got the data continuously! Thanks a lot!
But I have another question is the data is repeatedly record on 1 second.
EX: 12/9/11 10:55:01, 27E+030E-150E-3, 27E+030E-150E-3, 27E+030E-150E-3, 27E+030E-150E-3, 27E+030E-150E-3
Should I set anything for only record a set of data for a second?