From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

No Measurement from NI 9205

Solved!
Go to solution

Hello,

I am trying to measure a differential voltage with a NI9205. I created a very simple scan mode VI to measure AI5 10 times a second and display the measurements in a waveform chart. No matter what I hook up to the NI 9205 module, the measurement is always zero.

 

I have tested AI5 with a voltage divider that outputs 0 to 10 volts. The voltage is seen at the NI 9205 card because the voltage can be measured with a multimeter at the module header where the signal wires are attached. I have also tried another sensor outputting 26mV into AI1 and still have no measurement.

 

The module is set up in my project as measuring a differential +/- 10V signal yet I still see a zero measurement on my VI's front panel. What might I be doing wrong?

0 Kudos
Message 1 of 10
(3,831 Views)

What do you have connected to the negative side?  Did you connect the COM to your ground?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 10
(3,806 Views)

You might want to post your code. When you say zero, you mean 0.0000000000000 right? Make sure you're checking for errors.

0 Kudos
Message 3 of 10
(3,750 Views)

I have the negative side (channel) connected to my negative signal output from my sensor. I have not connected my COM terminal to ground. Does the 9205 need the COM connected to the voltage supply ground in order to produce a measurement?

 

Thank you for the help.

0 Kudos
Message 4 of 10
(3,746 Views)

I have always received 0 no matter the data type. I know the 9205 outputs values in fixed point when running an FPGA application and double in a scan mode application.

 

I am testing out two different voltage ranges when trying to collect a measurement: one at 26mV and another closer to 10V. Even with my +-10V range, there should be some non-zero measurement for 26mV.

0 Kudos
Message 5 of 10
(3,745 Views)

Could you try the one of the shipping examples for the NI 9205?


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 6 of 10
(3,742 Views)

You didn't answer my question about if it was 0.000000000000 or just something small. Also, you don't have an error indicator on your scan read node. Lastly, it might be nice to have a minimal project so that the nodes don't break when we open the code.

Message 7 of 10
(3,740 Views)

Hey again,

I received an error from the shared variable input (voltage measurement) stating that there is a shared variable in the VI and an error occurred when reading the shared variable. The error code is -65536 and I could not find any information about this code. 

 

I have created a new project and now the 9205 module works. I think I may ditch my current project, create a new project and transfer all the "good" VI's.

 

Thank you for all the help.

Message 8 of 10
(3,723 Views)
Solution
Accepted by topic author DillonWirth

I found your error:

http://digital.ni.com/public.nsf/allkb/9EDB3CD0FE9B5831862577770061FC94

 

It looks like maybe you are using hybrid mode in the "bad" project. If you don't need hybrid features, then I think you're good to go.

0 Kudos
Message 9 of 10
(3,721 Views)

Awesome, the article nanocyte has above is most likely my error. My project is a hybrid mode project. I will read up on initializing the FPGA code before the scan mode code. Thank you for the help!

0 Kudos
Message 10 of 10
(3,714 Views)