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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Measured Voltage drops to zero for a few seconds periodically

Hello, I have an NI 9205 measuring the voltage drop across a resistor in a super-simple test circuit with a 12 VDC power supply. For some reason every 10-12 seconds, the measured voltage across the resistor drops to zero for a period of 3-4 seconds, and then comes back again. Screenshot attached (time in 1/10 sec).

 

I am monitoring the same voltage with a multimeter, and it shows a steady voltage. I have tried using different pairs of pins, same result. I am using the differential terminal configuration. I have an NI 9213 in same chassis measuring temperature with a thermocouple, and it gives steady continuous readings.

 

Many thanks for any suggestions, going a bit mad.

0 Kudos
Message 1 of 11
(4,733 Views)

Hard to say what the problem is without seeing the code.  You've shown excellent evidence that either the module is very broken or the code is bad.

0 Kudos
Message 2 of 11
(4,709 Views)

@BF72 wrote:

Hello, I have an NI 9205 measuring the voltage drop across a resistor in a super-simple test circuit with a 12 VDC power supply. For some reason every 10-12 seconds, the measured voltage across the resistor drops to zero for a period of 3-4 seconds, and then comes back again. Screenshot attached (time in 1/10 sec).

 

I am monitoring the same voltage with a multimeter, and it shows a steady voltage. I have tried using different pairs of pins, same result. I am using the differential terminal configuration. I have an NI 9213 in same chassis measuring temperature with a thermocouple, and it gives steady continuous readings.

 

Many thanks for any suggestions, going a bit mad.


Sounds to me like you are getting intermittent read errors resulting in a "read" of 0 volts.  A picture is worth a thousand words, but actual LabVIEW code is worth a thousand pictures.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 11
(4,685 Views)

Sorry new to this, here's the VI code. Thanks for your help.

- Ben

 

0 Kudos
Message 4 of 11
(4,636 Views)

You are setup for continuous samples, reading 1 sample at a time.  Since you are only sampling at 5Hz, I doubt there will be any timing issue.  But you are only reading 1 sample from 1 channel.  Why are you making the data type a 2D array?  It should just be a single double value.

 

Are you getting any errors?  Use the Simple Error Handler VI (in the Dialog and User Interface palette) with the error coming out of the DAQ Assitant.


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 5 of 11
(4,578 Views)

hello

we are experiencing the very same problem with the very same hardware ( NI 9205) and the  same single circuit. ( 15V DC through a 20k ( 10+10 resistor) divider.

(we could post the very same screen shot than the original poster)

 

we measure the voltage in differential mode across one of the 10k resistor.

To avoid possible multiplexing "ghosting issue" we have disconnected all other ports of the module in order to try to resolve this issue: Only One port is used on the 9205

 

acquisition is made  with signal express 2015 : one sample at a time every second ( we tried several sampling frequency and always observed the problem)

1 Hz is the application need though.

also we have 2 different 9205 modules. we reproduce the problem on both.

we have changed all the wires in searc of possible faulty contact and the problem persisted.

we doubled the measure witn an oscilloscope and we know that the voltage never drop to Zero.

 

Is it a known problem that we have missed?

What we will be a troubleshooting strategy?

is itpossible that 2 modules apparently fully functionnal can be wrong at the same time and shows the same pattern?

any suggestion?

Thanks in advance

any advice welcome!

Sam

0 Kudos
Message 6 of 11
(4,374 Views)

Hi Sam,

 

Thanks for posting. While it is possible that two modules may both be wrong, it is pretty unlikely. It's more likely something is configured wrong on the acquisition side of things. Have you tried setting up a task in NI MAX to read the voltage? Can you observe the behavior there? Also just make sure that you're wiring the differential inputs correctly, a great way to do this is to use the connection diagram in NI MAX (tab at the bottom once you've created a differential analog input task). If you're still seeing the same issues after doing this, let us know.

 

Thanks,

Selene v

Applications Engineer

National Instruments

Selene
0 Kudos
Message 7 of 11
(4,314 Views)

Hey BF72,

We are expiriencing the exact same issue. We've used a labratory power supply to ensure a steady voltage. Did you ever happen to resolve this issue? 

It is also driving us insane.

 

Thank you,

James

0 Kudos
Message 8 of 11
(4,204 Views)

If you are using LabVIEW to sample the Analog Inputs of your 9205 please post the code.  

 

Did you try monitoring the voltage level through NI-MAX's test panels?   [Open NI MAX > open My System > Devices and Interfaces.  Click your NI 9205 device then go to the Test Panels... tab in the main window.  Go to the Analog Input tab in the new pop-up window and set your channel, etc.]  

 

Now click Start and you should see the voltage being charted.  Watch it for a while and see if it still exhibits the dropout behavior.

 

If it is steady there, you know the problem is your code.  I would be VERY surprised if this is a real hardware issue but with three people having the exact same issues it has to be a possibility.  I've never used that particular module but every time I've ever had problems of this nature it ends up being my error in the code I wrote.  Smiley Embarassed

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019 - Unfortunately now moving back to C#, .NET, Python due to forced change to subscription model by NI. 8^{
0 Kudos
Message 9 of 11
(4,184 Views)

I'm having actually the same issue.

 

We are using a module NI 9205. As proposed by NIquist I tried to use the NI-Max's test panels to troubleshoot.

 

We have two modules NI 9205, with both module we are facing the same problems, voltage drop to zero really often. Depending of the sample rate, those periods seem more or less long. To avoid possible multiplexing "ghosting issue", only one port is used on the 9205.

 

Module informations and screenshots of the test panel :

2020-01-14 16_38_21-Measured Voltage drops to zero for a few seconds periodically - NI Community - N.png2020-01-14 16_39_05-Test Panels _ NI 9205_ _Mod4_.png2020-01-14 16_40_01-Test Panels _ NI 9205_ _Mod4_.png

0 Kudos
Message 10 of 11
(3,186 Views)