Test the analog inputs in a PCI-6013

Hello. I m using a PCI-6013 OR DAQmx 9.1.1 with Labview 8.2 (sued) WinXP. The jury has undergone an immersion in water during a flood but was cleaned, recognized by WinXP and NIDAQmx.

I have run the Measurement & Automation explore and use the test under option OR-6013 'Dev1' panels 'devices and Interfaces. Here, I can see that the digital and clock output work perfectly (I can change the State of the digital channels and duty cycle and frequency of the clock). The problem arises when you try to measure an analog voltage. I tried on several cases not all analog channels using NRSE and differential modes (switch accordingly connections).

The signal comes from a (4 Hz, squares and sines, 5Vpp) signal generator via a CB-68LPR connector.

I only see something comparable to the entrance of singal when you use differential inputs (signal connected by J57 and J23) AI7, but the signal I see comes with 100 mVpp instead of 5 Vpp (I can see changes in the shape, every time that I have spend of a sine, square, ramp...). I also tried connecting J23 AISENSE (J62) and AIGND (J67), to avoid the problems of floating source. The same thing happens when enter and set up the acquisition by the vicinity of data in the Explorer of Measurement & Automation. I m using the reach of the signal in the different ranges, tried with 04:55, -1 to + 1, 09:50... When you configure tasks NIDAQmx I choose to read different samples (100, 1000, 10000) rate (100 Hz, 1 kHz,...) and combinations. Anyway, the input signal is always 4 Hz. I checked the signal with an osciloscope and I see it perfectly.

Is it possible to have the broken while the digital and general-purpose analog input clock outputs are OK? Y at - it a tip for the connections I should know about? Thanks in advance for any guidance!

Thank you both, KateB and MarisolM for your answers.

I made several the tests con señales DC y con señales senoidales, instalando placa en back different computers, y no obtengo resultados positivos, is spite of what el self-test selling well. Seems that the Plaça realmente esta fallando.

I did several tests with DC signals and senoidal, installing the card in two different computers, without positive results, even if the self-test is OK. It seems that the Council really works hard.

Are concentration cotización por su reparación. Gracias!

Tags: NI Hardware

Similar Questions

  • I use an analog input on a PCI-6224 and are having problems with the clock source

    I use an analog input on a PCI-6224 and are having problems with the clock source. I'm trying samples of 16 different analog inputs very quickly. I have the sample mode: Timed Single Point material. The rate, that I am running is the maximum (250 kHz (15625Hz per channel)). I left the default clock source and trying to taste several times. The analogue input works for a short time (2-3 seconds) and then everything stops. I'm doing something wrong or is there something I'm missing? Any advice would be great.

    That's how you samples using the sample clock clock. If you see a delay then something is wrong with how you track/data visualization.

    Single point NI the hardware is for PID control with a real-time operating system.

  • What is the analog input of the NI PCI-6229 impedance?

    I am trying to determine the effect of a 12 K resistor that is in series with an analog input of an NI PCI-6229 data acquisition card.  Resistance of 12K seems to be part of a RC filter.  I have a 0-10 VDC source this supply circuit.  What is the impedance of the analog input of the NI PCI-6229 data acquisition card?  If it makes any difference, the analog input is connected in differential mode with a 180K resistor to Gnd AI.

    Thank you


    Hi, RWB,.

    The input impedance is classified in the specifications 10 GOhm.  So, the effect of your k 12 resistance should be relatively low.  Take care!

  • How do I get the analog input signal and send it to output analog (real time)

    Hello world

    I do a simple task in Visual C++ and I use PCI-6221(37 pin).

    Basically, I want to send the same signal of "analog input" to the "analog output".

    at the same time (or almost), to make real-time application.

    Can someone provide me with sample program please.

    I would be grateful if you could provide me with the great tutorial that explains

    step by step everything about NOR-DAQmx for C/C++ programming.

    Best regards


    This is my code in C++, you can optimize it if that seems too messy. This code reads the analog input signals and exports it through the analog outputs.

    To make this code additional work of the directories include and library directories must be added to OR.

    I hope it helps someone.

    #include "NIDAQmx.h".

    #define DAQmxErrChk (functionCall) {if (DAQmxFailed (error = (functionCall))) {goto error ;}}

    int main (int argc, char * argv [])
    Int32 error = 0;
    TaskHandle taskHandleRead = 0, taskHandleWrite = 0;
    Read Int32 = 0;
    float64 context [1000];
    char errBuffRead [2048] = {'\0'};
    char errBuffWrite [2048] = {'\0'};
    bool32 done = 0;
    Int32 wrote;

    DAQmxErrChk (DAQmxCreateTask("",&taskHandleRead));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandleRead,"Dev1/ai0","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleRead,"",100.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,0));
    DAQmxErrChk (DAQmxCreateTask("",&taskHandleWrite));
    DAQmxErrChk (DAQmxCreateAOVoltageChan(taskHandleWrite,"Dev1/ao0","",-10.0,10.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandleWrite,"ai/SampleClock",100.0,DAQmx_Val_Rising,DAQmx_Val_ContSamps,1000));

    DAQmxErrChk (DAQmxStartTask (taskHandleRead));
    DAQmxErrChk (DAQmxStartTask (taskHandleWrite));

    While (! fact &! _kbhit())


    DAQmxErrChk (DAQmxReadAnalogF64(taskHandleRead,1,10,DAQmx_Val_GroupByScanNumber,dataRead,1000,&read,));

    DAQmxErrChk (DAQmxWriteAnalogF64(taskHandleWrite,read,0,10.0,DAQmx_Val_GroupByChannel,dataRead,&written,));


    If (DAQmxFailed (error))

    DAQmxGetExtendedErrorInfo (errBuffRead, 2048);
    DAQmxGetExtendedErrorInfo (errBuffWrite, 2048);
    If (taskHandleRead! = 0)


    DAQmxStopTask (taskHandleRead);
    DAQmxClearTask (taskHandleRead);
    If (taskHandleWrite! = 0)


    DAQmxStopTask (taskHandleWrite);
    DAQmxClearTask (taskHandleWrite);
    If {(DAQmxFailed (error))
    printf ("error DAQmx: %s\n",errBuffRead); ")
    printf ("error DAQmx: %s\n",errBuffWrite); ")
    printf ("end of the program, press the Enter key to quit\n");
    GetChar ();
    return 0;

  • Open a synchronized session of the analog inputs and position

    I want to read 8 analog inputs (only three IA in the capture of code) with a PCI-6221 card at a rate of 100 samples/s, reading 10 samples/iteration. At the same time, I want to read the position synchronized with the analog inputs. Is this possible? If I just merge the position with the analog signal I get 10 readings of position for each 100 analog input readings (see chart - Red's position). For the control of the movement, I use the pci-7342 with UMI-7764 interfaces. Could someone help me out here please?

    Not necessarily. As said, speeds of up to 200 Hz should work fine with a 7342. If this is not enough, of course a 7350 could be used, but there is also a completely different approach that should work with your current hardware:

    7342, you may also route the phases of encoder to the pins of the RTSI. You can use a counter on the 6221 to measure the position of your axis based on the singlas you have routed the RTSI pins. Now you can use "Measure of Position buffered" (see DAQ examples) to measure the position with the same source of synchronization than your analog signals.

    I hope this helps,


  • Registration of the analog inputs in continuous (Clipping)


    (1) USB NI CDaq-9174 chassis

    (2) NEITHER 9234 Analog Input Modules

    (1) digital input module 9402 OR


    To read the analog inputs continuous only in digital input is "high".


    Timestamp in log file prooves that logging is not continuous. It seems that the first seconds of 0.6 of every second is recording, I guess the other 0.4 is used to write custom? I can't use VI SignalExpress for this application because logging must be triggered by a high digital input.

    File is attached. Thank you all!

    To detect changes in the digital input, you need to compare the current value to the previous. The easiest way to do this is to plug the output of digital playback on a shift register. The Boolean function involves will tell you when a transition has taken place.  See the central part of the image below. If you exchange the true and the false case of case structures, you not the inversion function.  Look at the help file for more information on what the function actually implies.

    You must also change the wiring of the name of input for writing custom file FIle.vi so that the name is automaticlly changed.  Depending on what you want the naming system to be, that it can be simple or rather complicated.


  • How to read the analog inputs of one Board of R for (PXI-7851R) series

    You can guide me please with the steps for reading of the analog inputs of a series a. card I use as the target fpga PXI-7851R.

    Have you looked at the examples provided with LabVIEW? There are examples showing how to read the analog inputs.

  • Reading of the analog inputs

    Good day to all,

    I use NEITHER-7350, LAbview 8.5 and try to measure the voltage from a power source.

    Is there a screw that read the analog inputs. I can't open the examples.

    Thank you

    Have you watched the DAQmx? Create a virtual channel, start the task and read the value.


  • I can't watch the analog inputs in hearing CC 2014

    I have a M-Audio M-Track more USB audio interface. Digital interface output is connected via coaxial RCA to my receiver. The analog inputs normally receive a signal from a phono preamp line, since I transfer a lot of vinyl to the computer to listen to in my car and my phone.

    The thing that I'm trying to understand is why the hearing does not allow me to monitor the analog inputs. I can monitor them very well when I use Studio producer One of the Presonus. But the hearing does not allow me to follow, although it does not record the signal and then I can read.

    The audio device at the hearing, I've chosen is the ASIO of M-Audio driver. Under audio mapping I can't select anything other than the analog inputs and outputs. It is not an available digital output, which could be part of the problem, perhaps hearing does not allow the signal to convert analog inputs to the digital output. However, as I said a producer Studio control perfectly well, so the analog/digital real-time monitoring is allowed by the device.

    My hardware is PC with Windows 8.1 Pro 64 bit, i7 3930 k, 32 GB RAM, card mother Asus P9X79 Pro, and some other stuff that wouldn't really make a difference in this problem.

    Any ideas?

    Thank you


    Try recording in multitrack view and by clicking on the little 'I' (Input) button at the left end of the track.  It should route the signal from input to output for monitoring.

    I have the background track M, no more, so I can't try it but I think it should work but with a bit of latency (which shouldn't be a problem since you're not dubbing.

  • 6225 PCI residual voltage in the analog input channel

    Hello, I'm new to the Forum and just start working hands with NI hardware/software/etc.

    I use MAX (differential setting) to monitor an input channel analog (ai71) through a PCI-6225 card with an SCB-68. The voltage displayed in this MAX sometimes regular 10.6 volts and sometimes intermittent noise 0 to 10.6 volts or vague angular. I watched the disintegration of noise and waves to zero. The voltage displayed in MAX is (seemingly at random) changes when a voltmeter is used to measure the voltage between pins 1 and 35 (with no wire signal)

    When an external square wave (2.7 volts DC) is applied to the pins 1 and 35 in the SCB - 68 the value in MAX is dominated by the 0 - 10.6V 'noise', while a voltmeter between pins 1 and 35 simultaneously shows the square wave.

    Any suggestions? Thank you in advance.

    If you dig into the data acquisition specifications, input voltages must be referenced to the mass of AI or you may damage the Board.  Have a good read of this article: wiring field and considerations of noise for analog signals.  Since you're probably dealing with a differential signal with no mass, what you want to do is to add resistance on each side of the signal to ground.  This article recommends until 100kOhm 10kOhm resistors.

  • PXI-6071e offset drift on the analog inputs

    Hi, I have three cards PXI-6071E, sitting in a PXI-1042 chassis that is controlled by a computer with windows XP.  The 6071Es are connected to the SCB-100 break out boxes that are wired to a pannel of BNC female Panel Mount on twisted pair.

    I noticed that all of my analog inputs will drift around-10 V to + 10 V if they are not connected to what whether forcing them to a certain tension.  This has always happened.  We also see a bit of crosstalk between channels.  For example if I open a panel of test in the measurement and automation Explorer I can watch the voltage read on the drift tickets through their full range, and alteration of the signals on nearby channels will appear on the channel, I am able.

    Is this just standard behavior and to predict?  Is there something more I could do to minimize this drift and crosstalk?  I am trying to reduce noise in my system so I figure optimize my DAQ could not hurt.

    Thank you

    With nothing plugged into the catch to high impedance, drifting you see is quite normal. The front end of the circuitry builds up a charge, crosstalk is proabably due to the multiplexer input (did not check but I think that the 6071 has a) transferring the load to the other channels when they are analyzed.

    Search the Forum of ghosting, you will find related discussions.


  • Toggle the analog inputs and tasks of output on the same card in LabView


    I'm relatively new to LabView and am trying to find the best way to switch between reading and writing tasks on my PCI-6024E. It seems this would be a common thing to do, but I found no good documentation or any relatable example program. Basically, I would like to be able to monitor certain analog inputs and then write that some outputs if an entry is in accordance with certain specific conditions (say > 4 Volts voltage). It is my understanding that you can only signal (input and output) types associated within a single task in DAQmx. I also understand that you cannot have multiple tasks running at the same time on the same material/map, otherwise you get a: 50103 error 'The specified resource is reserved. Calendar is not really all that matters to me, but quite synchronous and effective would be nice.

    I have attached a sample program that shows more or less what I'm trying to do. I want to follow several analog input lines (AI0 AI1, AI2 and AI3 and) effectively at the same time. If certain conditions are met, AI3 > 4 Volts, then write 5 Volts for analog AO0 and AO1 outings. I also want to maintain output at 5 Volts up to AI3 falls below 4 Volts. Is there a better way to pass the task to read and write than what I've done here? In a sense, all I really do is toggle of a state machine if the required conditions are met and if start/stop tasks of reading/writing necessary.

    One last question, is there a way to display the four channels in the waveform graph using the 1 d NChan 1Samp mode so I can have a time chart and indicators?

    P.S. I'm under LabView 2011 on Windows 7. Your ideas and suggestions are appreciated.

    Thank you


    I also understand that you cannot have multiple tasks running at the same time on the same material/map, otherwise you get a: 50103 error 'The specified resource is reserved.

    This is incorrect.  You can't have two tasks of the same type running on a single card.  You can have an analog input and analog output task running simultaneously on the same hardware.

    You are right that each task can have only one type of task (entry or exit).  Discover DAQmx examples in the example Finder to get examples of synchronized input and output.

    PRO TIP: In the Finder of the example, go to the drop-down list in the lower left corner.  Pull down and select Add Hardware.  In the pop-up window, add your PCI-6024E to the right pane.  Click OK in this window.  Then in the main window of Finder example select your hardware from the drop-down list and check the filter results by the hardware.  The example Finder then only you will show examples that are out-of-the-box compatible with your hardware.  I am sure you can find something to fit your needs here.

  • improve the precision of the analog input channel


    I use a PXI-6259 to read several analog voltages and I can't seem to get the same precision when playing of multiple channels over a single channel using the MAX test Panel. How can I add delays to the digitization of the MUX to improve accuracy? Or are other ways to improve accuracy?

    Thank you!

    In addition to what the other posters minimizing the frequency clock source impedance and conversion, there are a couple of other things you can do to minimize the error:

    1. If you can not reduce the clock rate conversion due to a high sampling rate, you could try adding "dummy" additional channels, where you have large jumps in the measured voltage.  For example, if you need to measure three channels to about 5 V and three channels to about 2.5 V, you can read the string of first 5 V and the first 2.5 V additional time (and throw away the measure).  This has the same effect by reducing the clock frequency conversion, but only for the channels of problem.

    2. reorganize your channels by the expected voltage level.  Using the above example, all the 5 V channels, then all channels V 2.5 read.  Don't alternate between 5 V and 2.5 V channels.

    3. Add the ability to the input terminals.  The capacitor is still in all of your input signal, it provides a reservoir for fast charge/discharge of the ADC input capacitance.  If your input signal changes fast, well, make sure that the additional capacity will not filter the signal that you are interested in.

    Mark Moss

    Electrical Validation engineer


  • reading of the analog inputs with RPC


    Because LabVIEW can not handle this (in VI; the value that you have saved the excel file has not been the same, that I saw during the measurement...) This confused me for a long time ), I want to write a C++ program (IDE: Dev - C++) which can read & record 2 analog inputs of the NI USB-6009 box. For this, I looked for an example of National Instruments and I found a little. But my problem is that I can't even use any example, because it has always held a mistake, after that I have compiled and started.

    The error once the task has been created and has the :-200220 error number with the description "device identifier is invalid. But I do think that its invalid, because it's the xP example

    I must say that I am new in programming C++, which means I could have a rookie mistake. And I couldn't find documentation or something for the NOR-DAQmx library.

    Someone has similar problems with DAQmx and C++ and know how to fix? I don't really know what I can do now without a working example or documentations...

    Hi Mario

    It's the same thing. You didn't just save all of the data:

    Please take a look at my comments in the attached VI.


  • can you have set for the analog inputs points

    If you install an analog input can you get set points that trigger an alarm or an engine that allows you to enable or disable

    In SignalExpress you can use alarms to trigger recording on and outside:

    Alarms Page - help of LabVIEW SignalExpress

    Regarding disabling engines, SignalExpress is not intended to control applications.  For controls, you should use LabVIEW or entirely a VI in LabVIEW, SignalExpress.  To do the latter, you use a LabVIEW VI step in SignalExpress that will run a LabVIEW VI that performs control of treatment and the output you want.  This way you could work in the SignalExpress environment for all the acquisition of data, and you should only use LabVIEW to program control VI (or screws).

Maybe you are looking for

  • Merge two e-mail accounts

    I have a few email addresses Yahoo and SBC Global, I'm able to check in a single mailbox on yahoo.com, while being able to select in each address when you compose an email. However, I'm unable to understand how to configure my Apple Mail account to r

  • ReminderFox does not synchronize and then disappeared

    I created Sync to transfer all my data from FireFox on my new computer and it implemented Reminderfox to my new computer, but without any data.I guess I hit then sync on the new computer and it seems to have deleted Reminderfox completely on the orig

  • How can I change the appearance of background for the top tool bar, the one with "file", "edit", etc. ?

    Yesterday, I changed the appearance of the toolbar that I question, however, I don't like it and want to come back to what I had before. However, I forgot how I did it. Help, please. Thank you.

  • HP 255 g1: hp 255 g1 Wifi (W7x86) problem

    Hello I have a small problem... short long storry. I tried many drivers, after reinstallation of windows, for my wireless card, most of them installed without problem. But after hours, I can't do my wifi working, finding networks. Trubelshoter Window

  • switch control

    How can I optimize control of some switches through the use of the card NI 6218 and labview? Can I use the digital I/o and how? Is this the right way that I make a virtual switch in labview and connect them with the OR digital CHANNEL. Then the real