03-05-2022 04:11 AM
Hi, I'm a PhD student in energy mechanics field, I would like measure ambient temperature by using labview and NI-9213 DATA acquisition, everything is okay but when I hit run I alaways obtain weird results the amplitude statrs from 2200 over time instead of 23 or 24 °C
Who can help me please? I'm really lost
waiting for your answers
Solved! Go to Solution.
03-05-2022 10:42 AM
Please share the code you use to acquire the temperature data from NI 9213.
03-05-2022 10:58 AM - edited 03-05-2022 11:21 AM
How can you say that "everything is ok" if you get the wrong result??? 😮
(The value of indicators in edit mode is completely irrelevant.)
There are millions of ways to get the wrong reading and dozens of ways to do it right. To narrow it down you need to show us your code and also explain how things are physically wired up.
03-06-2022 03:35 AM
I meant that everything is well wired beacause i've already seen a video on youtube of how to measure a temperature using a k type thermocouple by a NI data acquisition
here is the code and the material that I use
Do you please have any idea on the source of the problem ?
03-06-2022 03:42 AM
Here is the main code because i've tried many orthers :
I am using a K type thermocouple look at the picture below
by the way the reference of the module is 9213 whereas the reference of the chasis is 9179 is that a problem ?
03-06-2022 12:02 PM - edited 03-06-2022 12:05 PM
03-06-2022 06:31 PM
No, it doesn't work correctly (as you can see the amplitude is up to 2000
tell me what do you need to know exactly?
what's a code ?
In my knowledge a VI is to build a project a kind of project using daqmax in the block diagram
(I didn't follow any type of course in labview it's all myself education)
03-06-2022 06:56 PM
@chakib77 wrote:tell me what do you need to know exactly?
We don't have nearly sufficient information to tell what you are doing wrong.
@chakib77 wrote:
what's a code ?
That would be your file named "203.vi". Please attach it! (Note that I don't have any drivers installed and thus cannot look at the configuration of your express VIs but others might be able to help).
03-07-2022 07:47 AM
@chakib77 wrote:
No, it doesn't work correctly (as you can see the amplitude is up to 2000
tell me what do you need to know exactly?
what's a code ?
In my knowledge a VI is to build a project a kind of project using daqmax in the block diagram
(I didn't follow any type of course in labview it's all myself education)
@altenbach did not ask you if your program worked correctly. He asked if the data acquisition worked correctly in the Test Panels (these are in NI-MAX, not LabVIEW). Furthermore I cannot see that the amplitude of any values is up to 2000 in anything that you sent. I see a picture of a blank waveform chart with amplitude from 150 to 2500, but that doesn't tell me anything. I would recommend that you at the very least take a look at https://www.ni.com/en-us/support/documentation/supplemental/06/learn-10-functions-in-ni-daqmx-and-ha.... It would be beneficial to also review some of the training material at the top of this forum.
As altenbach has said your code is your vi. If it's in a project then include the entire project. A picture of a vi is virtually useless in most cases (and especially in your case).
03-07-2022 05:54 PM
You're not helping me here .. anyway thanks for reading me