Compact daq multiple power supplies into analog input

I'm trying to read several values from different sensors into a 9205 voltage input module using a compact DAQ.  My sensors use different power supplies, they all output voltage between 0-10Vdc.  I can read the value off of any one sensor fine, but once I hook up another both values start to shift and osscillate, however either one by themselves gives me a steady DC value.  I am taking differential measurements from the sensor's outputs... I'm not sure if it would be ok to tie the grounds of the two power supplies together and feed them to my ground reference input of the module, if I take a voltage measurement between the two power supply grounds I see about 1Volt difference.
Any ides/suggestions would be appreciated.
Thanks,
M. 

Hi,
I have been looking at the sensors you are using and the pins seem to be correct so I just want to make sure that we are on the same page with the connections you are making.  This is assuming you have a spring terminal on your daq card rather than a DSUB.
Humidity Sensor - Pin 3 or 4 (CHn+) to AI0 (Pin 1) and Pin 6 (SGND) to AI8 (19)
CO2 Sensor - V to AI1 (pin 2) and 0 to AI9 (Pin 20).
In your software you should then be taking a differential voltage reading on AI0 and AI1.
Assuming that is all correct then this is very strange.  The wiring diagrams suggest that the signals are ground referenced so this should be sufficient however the 1V difference in the ground lines is perculiar if they are plugged into the similar place.  although the differential reading will eliminate error due to this one consideration is that if they are floating you may need to add bias resistors.  You can find out more about this here.  As I said it doesn't appear that this should be required but is worth a go if you have the kit to try it.
Otherwise it might be useful if you can send me some screenshots of the behavior on the graphs and perhaps your code and we can see if that helps.  Also if you are able to verify the functioning of your sensors some other way would also be useful i.e. with a multimeter.
Regards,
James Mc
========
CLA and cRIO Fanatic
wiresmithtech.com/blog

Similar Messages

  • What amplitude on power spectrum if analog input is 7.3V,sine,80hz?

    I have an analog input of 7.3V, sine wave at 80 Hz feeding thru PXI-4475 (I have a PXI-1042 Chasis and PXI-8176 Controller and I am programming my application in Lab Windows-CVI). I see a sine wave with an amplitude of 7.3V in the time domain but I see an amplitude of 13.3V at 80Hz in the power spectrum. Should I see 7.3V in power spectrum display? My HP FFT Analyzer showed 7.3V at 80 Hz in power spectrum display. Please help. My email: [email protected] or my phone: 215-897-8766/7370. Thanks in advance.

    There would appear to be a mathematical relationship between the 7.3 V sine wave and the 13.3 V amplitude as follows:
    a) rms value of a sine wave at 7.3 V = 5.1619 V
    b) square that result = 26.645
    c) half the result = 13.32
    The power spectrum should be expressed in terms of voltage squared. The power spectrum should produce a result that is a second order function of the initial amplitude. Are you sure the settings on the HP were for "power" when you read the output of 7.3V? The 13.3 V number appears to be the better of the two.

  • Scc analog input modules, e.g., ai07 or ai13

    On the SCC-AI series such as the AI-07, what is the relationship between physical channel inputs (ai0 and ai1) as seen in Measurement and Information Explorer (MAX) versus module pin numbers 1-2 and 3-4? Are pins 1-2 the same as ai0 and pins 3-4 the same as ai1 or is it the opposite? Neither the SCC Quick Start Guide nor the SCC AI Series User Guide nor the SCC Configuration Guide have this information. Thank you for any help!
    Solved!
    Go to Solution.

    Hi Louise,
    Page six of the User Guide and Specifications shows a block diagram.
    http://www.ni.com/pdf/manuals/371066d.pdf
    On the right-hand side of this block diagram, you can see the E/M series DAQ Device inputs are AI (X) or AI (X+8).  Since these modules are signal conditioning modules, they do not actually perform a measurement, they simply condition the signal so that a measurement by the DAQ device can be taken.
    AI (X) is going to be the channel you specify on the DAQ device (for instance, analog input channel zero).  If you are performing a differential measurement, the spacing must be eight apart, and AI (X+8) will be the other side of the signal that plugs into your DAQ device (in this example, analog input channel 0 + 8 = 8).
    Please let me know if this helps.
    National Instruments

  • SCC analog inputs

    From everything I've read, the SCC carriers are limited to 8 analog input channels. Why can't it be configured for 16 analog inputs? This would provide some very valuable flexibility. Or have I got it wrong?
    David Moerman
    TruVIEW Technology Integration Ltd.

    David,
    It is true that the SC carriers are limited to eight analog input SCC modules (not counting cascaded modules). However, the majority of these modules have two channels. Thus, the SC carriers do provide access to all 16 of the DAQ device's single-ended analog input channels. Below, I have included a link to the product pages for the analog input SCC modules:
    Analog Input SCC Modules
    Good luck with your application.
    Spencer S.

  • Usb 6009 multiple analog inputs

    I am currently attempting to sample two different analog inputs at different sampling rates using a USB 6009.  I keep getting the 'resource reserved' error and am wondering if this is not possible using this DAQ.  Questions:
    1.  Does creating two analog input channels on the device cause this error?
    2.  Is it possible to sample at different rates on channels created in the same task?  (i am trying to 'slow down' the second analog input to display switch points to a customer)
    3.  Running multiple analog inputs using independent timing would be better achieved by switching to a higher end DAQ?  If so which would you recommend?
    I have attached my vi.  Thank you in advance for your help. 
    I surf therefore I am....
    Attachments:
    demo_nolvl.vi ‏27 KB

    The DAQ boards only have 1 timing clock for the analog inputs/outputs.  So you can only have 1 sample rate on a given card.  I would recommend just sampling at the highest of the desired rates in a single task.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Will PFC power supplies work with SIMULATED sine wave inputs

    Will PFC power supplies work with a SIMULATED sine wave input from a UPS unit?

    Not sure whether you really meant "PPC" and have never heard of a PFC power supply, but if your question is whether a Mac PPC computer will run on a UPS, then the answer is definitely "yes" as my machine has shown twice in the past 12 months and several times in the past on the G5 tower and with a G3 B&W.
    I haven't dragged the old analog scope off the shelf to see what the UPS output really looks like, but I suspect it is no dirtier than the mains power in my neighborhood.

  • Multiple Analog input channels affecting each other (DAQ_mx)

    Hi, I use NI BNC-2110 / PCIe-6363 + Labview 2012 for my DAQ.
    In out task, we acquire two analog samples(these two samples are timed by on board clock, 1000000 rate) from each analog input (AI_0 and AI_4) whenever DAQ receives a digital trigger from PFI0 (rising edge and retriggerable). We will receive 200 triggers and our program will finish until we receive 400 samples on each channel.
    The interesting thing is that different analog inputs seem to affect each other. As shown in the figure below, the white curve is analog input AI_0 and the red curve is analog input AI_4.  AI_0 is connected to a triangle input and the curve
    below seems right. AI_4 is actually shorted (some result if open) but the acquired data is affected by AI_0.
    However, this problem does not occur when only one channel is used in vi (Only the "create channel" and the "read" vi's are changed to be multiple sample and we repeat the experiment with everything else unchanged). So I believe it is not an actual voltage problem before the BNC-2110 board receives the analog input.
    Any idea about how to solve this? Thanks in advance! Happy new Year.
    Yang
    Attachments:
    Two Analog Inputs.vi ‏23 KB

    I used a wire to connect the BNC core and BNC shell on AI_4 when I shorted it(it is set on floating source mode).
    The effect happens even if I have some other kind of input in AI_4(the input is like a stair case but it is always modulated by AI_1). AI_4 always appears modulated by AI_0.
    Actually it will not bother me at all if this only happens when AI_0 is open.
    I guess the sample clock (1000000) is too high to cause this(Yep, probably it is Ghosting...). When this rate is 1000, it does not happen as I have just tried.

  • Displaying multiple analog input channels using DAQmx READ commands.

    I am using a NI USB-6009 module in a hydraulic load test stand.  I want to read multiple analog voltage inputs and display them on my front panel.  Using DAQmx commands or DAQ assistant, LabVIEW will only let you have one READ command for the analog inputs.  Can someone point me to an example or give me some ideas on being able to display at least 3 analog inputs?  Thanks.

    With the DAQ Assistant, when you get a list of 'Supported Physical Channels', look at the bottom of the window. It says "<Ctrl> or <Shift> click to select multiple channels. When you use the DAQmx Create Channel and have a physcial channel control/constant, click the little arrow on the right side of the control/constant, select browse and use the same <Ctrl> or <Shift> click technique. If you want to enter the channels manually, the format is Dev1/ai0:2 for consecutive or Dev1/ai0,Dev1ai3 non-consecutive channels.

  • I am getting a -50101 error when trying to get analog input from a compact rio

    I am just doing the initial setup of my compactRIO system and have been able to successfully add the cRio in Max and then into a new project.  I created a very simple VI with analog input that I am trying to read into an indicator, following one of teh tutorials.  The module I am reading the input from is a cRio-9201.  The input is voltage.  I have already added the module to teh project under the FPGA, which is under the RIO in the project tree.  Any ideas what I may be missing would be greatly appreciated!
    Thanks

    The 9201 C Series module needs to be created under the FPGA Target
    (cRIO-910x) in the LabVIEW Project. You can either discover the module
    or create it by type. In case you haven't created the FPGA Target
    (cRIO-910x) under the cRIO Controller (cRIO-900x), you must do that
    first. You also have the option of discovering the cRIO-910x or to
    create it by type. I suggest you do it through discovery, so you don't
    need to manually configure the addresses.
    As how to create the items, that's done through right-click on the
    cRIO-900x and select New>>Targets and Devices.... It will pop up
    a dialog in which you expand FPGA Target and it will discover the FPGA
    Target. Similar steps are followed to create the 9201 module.
    If you don't see the FPGA Target and C Series module options, then you
    need to make sure NI-RIO 2.0 is installed in you computer.
    JMota

  • How do I acquire multiple signals in the NI cDAQ 9172 using 2 analog input modules?

    Hi everyone,
    Is anyone familiar with using the NI cDAQ 9172?  This is my first time using it and I am not sure what exactly I am doing wrong... Alone with a NI 9233 analog input module, it works great.  I can grab my 4 signals from each channel and go.  However, when I add another analog input module to the mix, it gets an error.  It looks like it is reading only one and not the other.  It bombs at one of the DAQ start task and read task.
    Basically, the block diagram is just a double of the one 9233 working alone.  Is there something needed for input to make the 9172 working?  Any ideas?
    Any help is much appreciated.  Thanks!!

    Hi Jud,
    Both threads are correct.  The cDAQ-9172 has a single analog input timing engine, so both of your analog input modules will need to be in a single task.  The other VI you referenced shows one analog input task (with channels added from two modules) as well as an analog output task.  Analog output has a separate timing engine from analog input, so both of those can run in parallel independent tasks.
    The beginning of this thread is a good example; a single DAQmx Create Task followed by a DAQmx Create Virtual Channel for channels from each module.  Also, Getting Started with NI-DAQmx will give you the fundamentals for data acquisition, though I don't know how many of their examples use CompactDAQ.
    Regards,
    Kyle

  • Synchroniz​ing two counter frequency inputs with multiple analog inputs

    Hello all,
    I'm fairly new to LabVIEW and I'm trying to collec​t data from multiple sources with synchronized tim​ing on the acquisition but I'm having trouble figu​ring it out. My problem is that I've got two count​er frequency inputs, one optical tachometer readin​g one pulse per revolution, and a max machinery fl​ow meter with a k factor of 12000. I can't seem to​ figure out how to sync the timing with my multiple analog inputs. I've be​en attempting to get the tachometer  to sync with ​the analog inputs first by following the example l​inked here. (https://decibel.ni.com/content/docs/DOC-10785) So far each time I run it I either get a timeout e​rror on the DAQmx read or a "Multiple sample clock​ pulses were detected" error (see attached image).  It seems if I slow the sampling rate way down to ​say 10 hz and ensure that the tachometer signal is​ over 800-1000 RPM (13-17 Hz) before starting the VI then the program will run without errors until ​the RPM drops below that threshold then the "Multi​ple sample clock pulses" error occurs.  The code is attached below.
    Does anyone know of a more effective way of syncin​g counter frequency inputs with analog inputs?  I'd like to have a VI that can show 0 RPM (and ev​entually 0 flow as well, but I think I need to fig​ure out the timing of one counter before I add ano​ther as it seems I can't have two counters in the ​same task). Any help on this would be greatly appr​eciated.
    LabVIEW version 13.0
    cDAQ-9178 Chassis with NI 9401 for the two counter inputs and NI 9205 for the analog inputs.
    Thanks!
    Richard
    Solved!
    Go to Solution.
    Attachments:
    SimpleDAQ.vi ‏44 KB
    LV_Error.JPG ‏31 KB

    Maybe third times the charm? 
    So I've finally got a good handle on why the VI is having problems at low RPM though I'm somewhat embarassed how long it took me to do that
    Because I have the counter time synced to my Analog input task if it doesn't see at least two pulses between the two clock pulses set by the analog input task I get the -201314 "Multiple sample clock pulses" error. This seems fine at first as it just sets a minimum RPM that I can measure and it's well below the area I'm interested in so no problems there.  I tried a simple error handler that would clear the error when it happend assuming the loop would keep iterating until the RPM went above that minimum at which point I would get a signal again. This is not the case, the read function just continues to spit out the -201314 error even after the RPM is back in the readable range. So then I tried adding two case structures so that when the error occured it would stop the task, clear the error, and then start the task again on the next loop iteration (Code Attached). This also doesn't work as the error shows up again on the stop task and then AGAIN on the start task on the next loop iteration. It seems this error is not actually being cleared and once it happens it stays with the task regardless of what the error cluster is carrying. 
    Anyone have any ideas?  The only solution I can think of is to just clear all tasks and recreate them each loop iteration until the RPM is readable again but that strikes me as a horribly clunky solution.
    Richard 
    Attachments:
    SimpleDAQ_1_Start Stop.vi ‏48 KB

  • Use PFI0 on Compact DAQ chasis 9178 as Input Event

    Hi,
    I have a Compact DAQ Chasis 9178, and I have connect a 5V Input signal to it.
    From a detector Sensor.
    I want do use the Signal in Labview. It possible to convert this signal to a Boolean true or False?
    I want to read this signal directly from my VI.
    Thank You
    Solved!
    Go to Solution.

    So you have assigned your counter indicator in the SubVI to the connector pane?
    If you do not know, what the connector pane is, then look for "connector panes, assigning terminals" in the LabVIEW help or look here.
    http://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/creating_subvis/
    If this is not your Problem - you have to be a little more specific. How do you expect the Main VI to "receive" the data, how did you programm it to do so?

  • NI daq 6008 simultaneously analog input

    Hello;
    For the NI 6008 card sampling frequency equal to 10 kS / s and it has 8 analog inputs, but if I will use the 8 analog inputs simultaneously, what is the value of the new sample rate for each input analog obtained during an acquisition in labview?
    best regards.

    Duplicate post - http://forums.ni.com/t5/Multifunction-DAQ/NI-Daq-6008-and-Labview/m-p/3095362

  • Simultaneous serial and analog input DAQ?

    Need to sample from the serial port and 4 channels
    of analog input at the same time. Figured I need
    to use an internal clock to sync the aquisition
    since the serial port response delays every so
    often. Does anyone know how to sample from an I/O
    port and a DAQ card at a consistent sampling
    frequency in LV? Any help would be greatly
    appreciated.
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    [email protected] wrote:
    >
    > Need to sample from the serial port and 4 channels
    > of analog input at the same time. Figured I need
    > to use an internal clock to sync the aquisition
    > since the serial port response delays every so
    > often. Does anyone know how to sample from an I/O
    > port and a DAQ card at a consistent sampling
    > frequency in LV? Any help would be greatly
    > appreciated.
    You don't mention what kind of data rates you are talking about. I have
    put together several systems that combine time-stamped serial and daq
    channels, but in all cases, the serial data was running at around 1 Hz.
    The daq channels were often running much faster (100Hz to 1KHz). If
    your channels fit this description, then it is possible to synchronize
    your data (more or less)
    . You can use software timing to set up the
    slow loop and acquire the serial data, and used buffered A/D to read in
    the appropriate daq channels. The synchronization isn't perfect, but
    may be "good enough".
    Best of luck,
    Dave Thomson
    David Thomson 303-499-1973 (voice and fax)
    Original Code Consulting [email protected]
    National Instruments Alliance Program Member
    Research Scientist 303-497-3470 (voice)
    NOAA Aeronomy Laboratory 303-497-5373 (fax)
    Boulder, Colorado [email protected]

  • How do I input multiple string constants into VISA Write

    I am trying to put in multiple string commands into VISA Write to control a motor arm. However, when I use "concatenate strings" to link together my multiple string constants, only the first command is executed, and neglects the other commands below it. Should I be using something other then "concatenate strings" or do I need to use a delay so that the next command executes when the one before it is finished? Help.

    Concatenate strings should work or just use one string constant with multiple lines. The problem you're having could be that the instrument requires some sort of delay but without details on the instrument, only you or the vendor can answer that. Some instruments will have a queue and others won't. The other possiblity is that you need some kind of termination character between commands. This might be a carriage return for a serial instrument or the ; character for a GPIB one. Check the instrument manual or provide the make and model and maybe someone here has some experience with it.

Maybe you are looking for

  • While Creating Trasnsaction not taking variant in 'Start With Variant'

    I am trying to create a transaction for report  with variant created through se38 (while creating report). but when I give variant name  in 'Start with Variant '. and try to save it, it gives message 'No System Variant chosen for nonlocal objects'. H

  • Consistent Issue for me

    So I started pulling together a video with a mix of 1080i HD 30fps and 720 HD 30fps recorded files. I edited them through PE9 and it is ready for export. The file itself is nearly 10 hours long so a long estimated time of completion, which is ok for

  • How to put PageItems like textbox as placeholders in an image in a region?

    I have this problem that I am facing in an application that I am building.i have read your article that you presented in the oracle users conference in November 2007 “Steal the Show with Apex” but the problem comes to this. a)     I have an image tha

  • Putting your number on its own plan

    i am on a family plan and want to know how i can put my phone on its own plan and not be part of the family plan anymore

  • Creating Mainframe (MVS) file from XI

    Brand New to XI and SAP. I'm trying to create a file on our mainframe from XI.   I have an id to connect to the mainframe (IBM, ZOS) but I'm not sure, and don't seem to be able to find, what I would need to supply in some parameters, such as target d