LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Thermocouple measurement using cRIO

Hello,

 

Can anyone help out with this. I am working with a cRIO 9075 device and I want to perform a simple temperature measurement using a thermocouple. The thermocouple is connected to an NI 9211 Analogue Input module.

I have written a bit of code that can be found on this link: http://www.ni.com/white-paper/11198/en/ but it still does not work. Can someone please help out with this. Thanks.

0 Kudos
Message 1 of 14
(5,681 Views)

Could you be a little more specific about what "doesn't work"? Are you not reading any data?  Is it reading fine but not logging to disk properly?  Etc.

 

Are you seeing any error codes?  If so, please upload a picture or at least give us the error code number.

 

Are you not able to run due to errors (i.e. broken wires, subVIs that won't run, etc?)  If so, please upload your code or at least a picture of the segment that is not working.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
If someone helped you out, please select their post as the solution and/or give them Kudos!
0 Kudos
Message 2 of 14
(5,666 Views)

Are you running the RIO code directly or trying to deploy through RT/Host? Show us what you have done so far.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 14
(5,661 Views)

Hi MrHappyAsthma 

 

No, I am not reading any data. I have also connected an indicator to confirm this. A snapshot of the front panel and block diagram VI is attached . At the momemt there are no errors.

front panel.jpg

block diag.jpg

0 Kudos
Message 4 of 14
(5,651 Views)

Hi P@Anand 

 

This is a screen shot of my project.

 

proj.jpg

0 Kudos
Message 5 of 14
(5,646 Views)

Please show the RIO code. Do not use build array, instead try Replace array subset.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 14
(5,645 Views)

Hi P@Anand 

 

A screen shot of the RIO code is shown in my earlier post. Thanks.

 

 

0 Kudos
Message 7 of 14
(5,634 Views)

I should have been more specific, Please show the FPGA code where you acquire data from the C series module.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 8 of 14
(5,630 Views)

Hi P@Anand

 

Here's the code.

0 Kudos
Message 9 of 14
(5,624 Views)

What do you read from the Shared variable? Just 0? did you check the error node of the shared variable?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 10 of 14
(5,620 Views)