Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

CompactRIO, NI 9205 shows the same input for different analog input signals

I am using a CompactRIO 9012 with a 9101 chassis, and an NI 9205 analog input module to measure voltages on two different input channels. Initially I wrote my own code for the target FPGA to acquire the input signals, in differential mode, AI0 and AI1. Even when the inputs I was giving were different, both channels were showing the same data which was on channel AI0. So I thought I was doing something wrong, than I used the code in the Examples for basic analog input for 9205, and modified it by adding waveform charts to the input channels. even then I was getting the same result. I am measuring in differential mode,  and using AI0 and AI8 for one channel, and AI1 and AI9 for the second channel.
 
Please let me know if there is something I have to do to acquire signals properly. Thank you.
0 Kudos
Message 1 of 3
(3,638 Views)
Hi Kumar1,

The best and fastest way to get your hardware and program working is to check into the shipping examples that came with LabVIEW FPGA, which has a lot of already made and verified VI's and projects you can use off the shelf.

Open LabVIEW>>Find Example>>Search "9205">>Double click: "NI 9205 Basic IO.lvproj"

This example is written specifically for the 9205.

It will get you up and running in no time.

Study the code then modify it it afterwards.

Note: you should also save it seperately so you don't modify the good code
Van L
NI Applications Engineer
0 Kudos
Message 2 of 3
(3,618 Views)
wo have the some problem first,i solve it now,you may check that your input have the some com,if you are using "9205" in NSE mode,and connect your input positve to AI0 and negetive to Com,
0 Kudos
Message 3 of 3
(3,510 Views)