11-24-2019 08:58 AM - edited 11-24-2019 08:59 AM
Hi Zohaib,
at ±10V measurement range and 12bit resolution the LSB is equivalent to ~5mV.
For measuring voltage across a PT100 it's a rather bad option, as 5mV relate to a dT of 12K…
@ZohaibRamzane wrote:
If it is,which resolution will be good for measuring +-10V including low voltage as +-50mV.
You can calculate this on your own - based on your accuracy requirements!
An easy (but dirty) fix would be to use a somewhat larger current of 2mA or 3mA, which would also double (or triple) the voltage across the Pt100 resistor…
Or use an amplifier with a simple OpAmp.
Or use a ready-to-use signal converter, converting your Pt100 signal into an induxtry standard signal of ±10V - perfectly suitable for your NI9201 module…
11-24-2019 09:04 AM
Thankyou for your reply.
I need as accurate measurement as possible.
As you said, 5mV resolution we can get with 12 bit. It means we can measure a change of 5 mV reliability. Why it is bad for pt100? Why it can not measure less voltage say 100mV accurately.
Since i have to buy either 16 or24 bit input module, i have to figure out is 16 bit will be good for measurement of voltage in my case or not?
11-24-2019 11:00 AM - edited 11-24-2019 11:04 AM
Hi Zohaib,
@ZohaibRamzane wrote:I need as accurate measurement as possible.
When you want to measure Pt100 sensors then you should use either NI9216 or NI9217…
@ZohaibRamzane wrote:
As you said, 5mV resolution we can get with 12 bit. It means we can measure a change of 5 mV reliability. Why it is bad for pt100? Why it can not measure less voltage say 100mV accurately.
The NI9201 gives measurement data according to its datasheet. Did you read the datasheet? There are numbers for accuracy, repeatability, and so on…
11-24-2019 11:05 AM
Dear GerdW,
I know about these modules. But i am specifically looking for reason why 12 bit module is not able to measure small voltage like 100 or 110mV as i have to tell my Professor before purchasing another one.
Can you give me that reason so that i can be sure.
11-24-2019 11:27 AM
Hi Zohaib,
your NI9201 can measure values of 100mV or 110mV. It can even measure 0mV or ~5mV…
The point is: even though it can measure those values it cannot measure values in between. And due to noise and other problems it might even not accurately measure those signal values - as is described in the datasheet.
@ZohaibRamzane wrote:
But i am specifically looking for reason why 12 bit module is not able to measure small voltage like 100 or 110mV as i have to tell my Professor before purchasing another one.
Can you give me that reason so that i can be sure.
Again I have to repeat: read the datasheet of the NI9201. Print it out for discussion with your professor, mark the most critical specifications and tell your professor about them (and why they prohibit more accurate measurements)!
11-24-2019 11:38 AM
Hi GerdW,
Thank you for answer. I somehow understood.
I need input module which should work for both pt100 and thermocouple and I think 16 bit resolution module will be good for both as it also offers to set input voltage range on different channels like +-500mV, +-1V, +-5V and +-10V etc channels which may even makes our resolution better.
11-24-2019 11:57 AM - edited 11-24-2019 11:59 AM
Hi Zohaib,
at ±500mV and 16bit resolution you get ~15µV/bit. This might be not accurate enough for thermocouples, especially those containing Pt. There are special modules for TC measurement (for a reason)!
And you forgot the CJC needed for thermocouples. I guess that was already mentioned in one of your long threads about temperature measurement. What kind of background knowledge do you have on electrical measurements? What kind of backgorund on measurements at all? What kind of student are you being not able to get the basics in all the time you are discussing this in the LabVIEW forum?
11-29-2019 05:32 AM
Hi GerdW,
I know sometimes i ask very stupid question just to make myself a bit clear. Please don't mind.
Right now i am measuring voltage across pt100. I am plotting this on waveform chart.
It is working perfectly. But since voltage measurement are very low say 0.11V or 0.12V if i set excitation current 1 mA. Similarly for 2mA, Voltage measured is 0.22 or 0.23V. When i plot this reading values, I got waveform like this as per pic attached.
I want waveform to be smooth. Should i do averaging over array values to avoid this or else is there another way to do so.
11-29-2019 06:37 AM - edited 11-29-2019 06:38 AM
Hi Zohaib,
@ZohaibRamzane wrote:
It is working perfectly. But since voltage measurement are very low say 0.11V or 0.12V if i set excitation current 1 mA. Similarly for 2mA, Voltage measured is 0.22 or 0.23V. When i plot this reading values, I got waveform like this as per pic attached.
Those voltages are just as expected. The only "very low" in this setup is the "very low specifications" of the DAQ module that you use! Use a better DAQ module when you want more accurate measurement values…
@ZohaibRamzane wrote:
I want waveform to be smooth. Should i do averaging over array values to avoid this or else is there another way to do so.
You might apply a filter. Averaging array values is just a low-pass filter. LabVIEW also provides other filter functions as well…
On the image of your VI:
Why do you need a SharedVariable to transfer data between loops?
Why do you create an array from that scalar "AI0" measurement value before writing into the SharedVariable?
Why do you need to Reshape that array in the consumer loop to a 2D array? You still only have exactly one (1) sampe in this array!
What's the point of that sequence structure?
Why don't you use AutoCleanup (before posting code images)?
Again:
Did you notice those "Training resources" in the header of the LabVIEW board? Did you take them? (You really should…)
12-04-2019 07:05 AM
I was using Buffer to to write first so that in writing part i only writes the data to buffer.But i think for my project, i need only real time visualization of voltage. I have changed my code a bit.
I am displaying day point by point to waveform chart. Since waveform chart does not include cursor or show value on mouse hover, i need to display data on waveform graph with time axis in seconds.
I know waveform graph takes array of values and display it.But i am unable to do this.
Kindly check my code.