From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Using differential signals with 9205 ADC module

I have some differential signals going to an NI 9205 ADC, connected to a CompactRIO, and I am programing the FPGA VI.

 

In the FPGA VI, there are nodes representing the signals at the 32 pins of the ADC. My question is do I have to program myself the subtraction of the differential pin pairs? For example, I wire Pin 0 and Pin 8 to a subtract function, and wire Pin 1 and Pin 9 to a subtract, and so on?

 

If not, then for example can I use only Pin 0 and not even have Pin 8 in the block diagram altogether? Then how do I make the ADC know it is being used in differential mode?

0 Kudos
Message 1 of 4
(824 Views)

Start the NI example finder and search for keyword 9205. The Example NI 9205 Basic IO.lvproj should answer your question.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 4
(822 Views)

Hi Jens,

 

Thanks for your suggestion! I really appreciate it. I took a look, and can I confirm with you what I see?

 

From what I can tell, they created a cluster of settings that include whether the channels are SE or Diff, and made it into a control that can be passed to an FPGA I/O Method Node. Then there's an FPGA I/O node without any logic after it that would subtract signal pairs.

 

I suppose this means that as long as I pass the info that its differential to an I/O Method node, the FPGA will know, and I won't have to worry about programming any signal-pair differences myself. Is that right?

0 Kudos
Message 3 of 4
(811 Views)

Did you look at the FPGA-implementation in that example?

 

In this the Terminal mode for a specific AI channel is set:

https://zone.ni.com/reference/en-XX/help/370984T-01/criodevicehelp/crio-9205/

 

Keep in mind that you can only set AI0-AI7 and AI16-AI23 to differential:

https://zone.ni.com/reference/en-XX/help/370984T-01/criodevicehelp/set_terminal_mode_method/

 

After this configuration the node for that specific channel will hand back the differential value, no need for you to calculate an differences.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 4 of 4
(778 Views)