Next Steps - LabVIEW RIO Evaluation Kit

cancel
Showing results for 
Search instead for 
Did you mean: 

Connect thermocouple and I2C sensor

Good morning, i have a signal from a thermocouple K with milivolts changes, i need to amplify before the analog input or the analog input has sufficient accuracy to treat this type og signals?. Moreover, ihave a signal from a sensor in I2C protocol, what entry can i use?. Thanks and sorry for my English i speak Spanish.

0 Kudos
Message 1 of 5
(7,806 Views)

Hello RIHERSA,

Let me make sure I understand what you're asking.

1) Are the analog input channels on the Evaluation kit accurate enough to detect mV changes from a thermocouple or will you need to amplify the signal before inputting to the channel?

2) How to communicate with an I2C sensor?

1) The evaluation kit is built on a sbRIO-9636. Starting at page 26 of the operating instructions for the 9636, gives you information on the Analog Input for various voltage ranges.

2)Here are some specific resources for SPI and I2C communication on LabVIEW FPGA:


FPGA IP (IPNet): Digital Buses and Protocols (SPI, I2C, and Serial). This ties together a number of example VIs related to I2C on FPGA

http://sine.ni.com/nips/cds/view/p/lang/en/nid/209123


SPI and I2C Driver API - National Instruments

http://sine.ni.com/nips/cds/view/p/lang/en/nid/210637


Community Beta Example: I2C Implementation in LabVIEW FPGA

https://decibel.ni.com/content/docs/DOC-1151


Reference example-Simple I2C Communication to DAC IC using LabVIEW FPGA

http://zone.ni.com/devzone/cda/epd/p/id/3975

Hope this helps!

Deborah

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 2 of 5
(5,532 Views)

Thanks for you answer!

Know i try to read a GPS by Rs232, i imagine that exist one VI for this but i don found the input in the pin out.

0 Kudos
Message 3 of 5
(5,532 Views)

Hi RIHERSA,

You can use our basic VISA VIs to do RS-232 communication. I did a bit of searching on ni.com and found a case study for GPS where they also included a PDF with screenshots of their code. Here is also another customer-posted example.

Hope this helps!

Deborah

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 4 of 5
(5,532 Views)

Thanks very much!

0 Kudos
Message 5 of 5
(5,532 Views)