10-16-2009 07:24 PM
Hi everyone,
I have a DAS-TC pci card from measurement computing which acquires data from a thermocouple and these data are displayed in a XY Graph in LabVIEW. I am using the Universal Library for LabVIEW from Measurement Computing to communicate LabVIEW with the DAS-TC card. The problem is that all the data that the thermocouple is acquiring are not being displayed in the XY Graph Waveform. Even if the data are displayed in an array they are not complete. For the acquisition I am using a While loop without any delay.
Thanks in advance and I really appreciate any help.
JC
10-16-2009 08:45 PM
An XY Graph is not designed to show historical data. Could that be your problem? A chart would seem to be much more appropriate to display data as it is acquired. A chart also has a history buffer to retain old data. Why don't you attach your code?
10-16-2009 09:21 PM
10-17-2009 09:41 AM
Hi Dennis and Ravens,
Thanks for reply, I attached my code in order to clarify my problem. Let's say that I run this VI for 5 seconds and after that I got eight hundred data in the XY Graph and in the array "Data out", but in the reality the real data were one thousand.
Thanks again and I hope you help me, by the way the subject was totally wrong, because the problem it is different, I am sorry.
JC
10-17-2009 10:22 AM
I have no experience with this PCI card from MCC but I have few devices from this company. When you said the real data were one thousand, how did you estimated that number?
Jean-Marc
10-17-2009 11:51 AM
10-17-2009 01:21 PM
10-17-2009 03:12 PM
For sure the other device is sampling in a high rate and I do not know if would it be possible to get the same in LabVIEW. I know that will depend of the DAS-TC board (where I have changed the number of samples/avg and think it is the sample rate I attached a figure) but I called to measurement Computing and told them about the problem and they said that their boards have never had that problem before and it could be the program (I've heard that many times and makes me upset becuase I consider LabVIEW is the best software)
Thanks for your support.
JC
10-17-2009 05:23 PM
10-17-2009 09:24 PM
I got more than two hundred data for 5 seconds with no delay in the while loop so this could mean that the dll and the building array are consuming time and that is why I have not been able to get all the data? Should I change the board or the software in order to get a higher sample rate and get all the data in the array?
JC