12-24-2018 03:21 PM
How do you configure a NI-9217 in LabVIEW FPGA. In LabVIEW and LabWindows you would use DAQmxCreateAIRTDChan to setup the RTD Type, Resistance Configuration and other parameters.
Thanks
Paul
12-24-2018 11:41 PM
You can find examples of NI-9217 in NI example finder.
12-26-2018 06:22 AM
Yes I know about the NI example finder. But they are all for LabVIEW or LabWindows. I am using LabVIEW FPGA. I didn't think you could use standard LabVIEW NI-DAQmx libraries with LabVIEW FPGA. Can you?
12-26-2018 10:39 AM
Hello Paul,
Have you take a look at the following documentation:
National Instruments Online Resource Title (0): Taking Your First Measurement in LabVIEW FPGA (Data Logging)
http://www.ni.com/tutorial/54219/en/
National Instruments Online Resource Title (1): Advanced Data Acquisition Techniques With NI R Series
http://www.ni.com/white-paper/2993/en/
The resource (0) is the exact application that you need and the (1) is in case you have other cards need an extra step to function.
I hope you have a good one!!!
12-26-2018 10:59 AM
JKarma,
Thanks. I have been doing FPGA programming for about two years using NI-9201, NI-9208, NI-9403 and NI-9485. This is the first project that I have a NI-9217 module. I have used them before in LabWindows and you usually have to configure them. Mainly the RTD Type, Resistance Configuration (2, 3 or 4 wire) and the Current Excitation Source (Internal or External).
I do not see any method or property where those settings can be configured.
Paul
12-26-2018 04:03 PM
12-26-2018 04:14 PM
Yes I did. All you get is the Name Type, Location, Calibration Mode, and Conversion Time.
Paul
12-27-2018 04:08 AM - edited 12-27-2018 04:09 AM
Hi Paul,
Oh, as I'm on vacation now you need to wait for two weeks before I get back to work to check that with a real cRIO.
I mainly use the 9217 with PT100, 4-wire, internal excitation. You can read the resistance value and apply any calculation you want...
12-27-2018 05:28 PM
I have solved my issue. I made the assumption that the tech wiring the 9217 knew how to read a schematic. He missed wired the cable on all 5 of the RTDs. Once I re-wired I get real values.
Thanks for the help.