LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show C Series input module value on waveform.

Solved!
Go to solution

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…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 21
(1,570 Views)

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?

0 Kudos
Message 12 of 21
(1,566 Views)

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…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 21
(1,559 Views)

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.

0 Kudos
Message 14 of 21
(1,555 Views)

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)!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 15 of 21
(1,551 Views)

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.

0 Kudos
Message 16 of 21
(1,553 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 17 of 21
(1,548 Views)

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.

Download All
0 Kudos
Message 18 of 21
(1,508 Views)

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…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 19 of 21
(1,503 Views)

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.

Download All
0 Kudos
Message 20 of 21
(1,487 Views)