Analog input problems using PXI-6232

I tried to solve this problem for a while now without a bit of luck. Solution suggestions are welcome.

I use a PXI-6232 with LabView 8.5.1 to accept signals analog several of my sensors. Based on the signals as a PWM signal is generated and the output using PXI-6713.

Some of the analog input signals have spikes in them, which occur at all times during the tests. I watched the same signals on an oscilloscope - without crampons. I change my hardware configuration, and the spikes still occur in the same places. It seems that the program makes some resets resulting in measurement errors.

I have attached the VI and a JPEG of measured inputs.

Thanks in advance

Concerning

Vadim

I was first confused of your time scale but it seems that these spices occur every 20ms (not s) what to a line 50 Hz noise due to switching power converters (or a diode without compensation bridges )

Another clue was the measure of the scope. While using the application scope, you opened a groundloop so the spikes because of the dI/DT through the groundloop are another way to get around.

So I'm pretty sure this isn't data acquisition (in this case) this is your configuration.

Provide a cleaning (low R AND L low) path of power (keep them close and twist slightly if possible), add a filter to down the dI/dt, identify the ground loops.  (Use your scope with a little as a sensor at the entrance to reel and catch magnetic fields can open eyes)

THEN to clean the last ears (on the acquisition of data) to get the last ppm use selfs

Tags: NI Hardware

Similar Questions

  • How can I display an analog input for the PXI-5105 on LabVIEW?

    Hi all

    I am very very new to LabVIEW and I started to tinker with it. I use the version of LabVIEW 2010 SP1 on Windows 7 OS. I also have the chassis NI SMU-1073 with SMU-6361 and PXI-5105 modules and the chassis is connected to my PC via PCI. I became familiar with the devices and trying to see some analog signals to one of the channels on the PXI-5105 module in a graph in LabVIEW.

    I would appreciate your help.

    Hello Henokview!

    I would like to read through these tutorials to understand the steps of programming of the NOR-SCOPE, NOR-DAQmx. After reading these links below, you will be able to understand how to connect the output of a readfunction to a chart or table.

    DAQmx

    http://www.NI.com/white-paper/5434/en

    OR-SCOPE

    http://www.NI.com/white-paper/3382/en

    Best regards

    Jonas

  • How to create different types of analog inputs without using the DAQ assistant?

    Hi all

    I would like to create multiple entries multiple analog channels of type... I mean I want to have the voltage of 5 and 2 channels of temperature...

    However, I am not using the DAQ assistant. I use "create channel" vi.

    Can anyone suggest me please how to do / I submit my VI for reference... I have 5 tensions, and 2 temperature characterized as showing these 2 two separate graphics...


  • Continually acquire analog input, internal clock, break, Multiple device

    I have a PXI chassis with 6 cards SMU-6363.  I want to acquire data on the channels of each SMU-6363 map continuous AI, using the internal clock for timing.  I need to use a trigger to pause reading of a DI on one of the cards SMU-6363 for a break and to reactivate the acquisition.  I came across this example: https://decibel.ni.com/content/docs/DOC-12256/ , but keep getting error-201019 DAQmx start task "trigger break is not supported in a task to more devices.  To configure the start of break in a multi-device configuration, you must use no more than one device per task and route manually clock in demand signals. »

    The problem is that the configuration of I is made during execution by the operator.  Sometimes they want to acquire data on one HERE through all 6 cards SMU-6363, sometimes they want to acquire data on each channel of AI through all 6 cards SMU-6363.  What makes the task definition until manually route clock signals between devices for each rather difficult task.

    Is there a simpler way to solve this problem?

    Set a task to output counter - something like this:

    Next, configure your task of analog input to use the sample clock output of the meter:

    Best regards

  • 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.

  • PXI-7831R configuration as analog inputs

    Hello

    I'm new on NI PXI, thought that I've worked on Labview. My PXI chassis has two modules analog output (PXI-6713 and 6733), a PXI-2501 FET multiplexer, a PXI-4070 DMM, PXI - 8464, an IEEE host module adaptation and the module a PXI-7831R reconfigurable i/o () .

    I was able to properly configure my components using MAX.

    The problem that I do exactly face 'takes analog input' using my PXI chassis.

    With the modules above, I suppose that I can use the 7831R as analog I/o module.

    But the problem is the 7831R is a FPGA module and it is not displayed in DAQmx.

    So, where can I exactly find the analog 7831R pin (in the labview GUI) and how to use them in my block VI?

    The next version of labview provides an interface to data acquisition even for 7831R? (my version of labview is 8.2.1).

    Kindly help me to solve my problem.

    You need the- module FPGA.

  • Problem using analog feedback on pix7340

    Hello

    I try to use analog ForceFeedback on one of my lines on pxi 7340. The problem is that MAX always use encode as your comments even though I have set up as analog. MAX I disabled the encoder and activated the ADC suitable for axis and set the position to a few hundred charges so that the controller stops the axis when force is superior to a low value (around 1 v). If I start the movement, she spends the same as if the response has been to encoder (for a few hundred charges). I don't know what is happening. I red the manual of the motion and if I understand it the axis should pass at the speed configured until the force is larger as the value, I put in the position field.

    Thank you

    OK, that explains the behavior. To use analog feedback properly, you should configure the axes as axes servo with analog output. Mode step closed-loop the jury does not run a loop of PID, but it checks at the end of the move, if the position of the target has been reached. If not, he made a gesture of pull-in.

    It works very well for the positioning of the stepper motors, but it does not at all with analog feedback.

    Please configure your player in current with the analog input control if possible.

    Kind regards

    Jochen

  • Problem with analog inputs on sbrio 9627

    Hey guys!

    I have a problem in my Single Board RIO 9627.
    I use 4 differential analog inputs (AI0, AI1, AI2 and AI3).
    What happens is that when I place a sensor or even a button on one of the entries and nothing on the other inputs, it affects all other inputs, increase in the level of each input voltage.
    Can someone tell me how to solve this problem in the hardware or software?

    Thank you!

    Multiplexed inputs must have a low impedance! If you have pictures of ghosts.

    Attach entries open to GND (or do not read )

    If you want to read switches or buttons use a pull upwards or downwards the resistance.

  • PXI-6070E, how can I configure which are two analog input pins?

    Hello

    I'm reading 3 analog signals using PXI or 6070E simultaneously. I'm looking for on what axes correspond to what analog inputs? It's the same thing all the time, or should I set up?

    For example, currently, the pines 68 and 34 are the + and - of the AI0 channel. But I can't find the rest.

    Thank you.

    How you are looking for the list of the pins? Look in the manual or in MAX, right-click on the device and select 'device pinouts. Ai0 is 68, ai1 is 33, ai2 is 65. The pins do not change. What changes is ending the pins to use if differential or single acquisition. For example, if you purchase a differential signal with ai0, you use pins 68 (ai0) and 34 (ai8).

  • Problem with a digital output in the information of an analog input

    Hello

    I use a SCXI-1000DC module with a module of the SCXI-1600, SCXI-1531 module and SCXI-1163 module to receive an analog of an accelerometer signal and a digital signal.
    I claim that the accelerometer is constantly monitored, and the output is on when I want to, by an impulse that I comand in labview.
    I use a rate 25 k and a 12, 5K samples per channel on DAQmx Timing.

    I notice in DAQmx read, if I put a sample of hight by channel, the output is not there when I want to, and if I put a few samples per channel, I exit when I want to, but the program seems to be slow with the passage of time. I don't know how I can solve this problem!

    I'm sorry for my English, and I hope you can help me.

    Thank you

    Silvia

    Hello Silvia,.

    If you ask a larger number of samples, the labview diagram will stay longer in the DAQmx Read function, so the while loop runs slowly, and the digital output is updated less often.

    I suggest that you use 2 separate while loops: one for the analog input and the other for digital output, so that each loop might run at a different speed.

    Best regards

  • USB-6212: software problem timed task of analog input

    Hi all

    I have unexpected behavior using a USB-6212.

    The code example shows that when I run in sequence two analog DAQmx to task, material entry first a timed, the second software timed, it happens that the first readings of data are all wrong and have the same value for all channels.

    The labour code is the following:

       GetCtrlVal(panelHandle, PANEL_HW, &Switch); 
    
        if (Switch) {
    //
    // First Task: read 10 rows of values with hardware timing
    //
            DAQmxCreateTask("", &htAI);
            DAQmxCreateAIVoltageChan (htAI, MX_DEV_AI, "", DAQmx_Val_NRSE, -10.0, 10.0, DAQmx_Val_Volts, "");
            DAQmxCfgSampClkTiming(htAI,"", SAMPLE_RATE, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 1000);
            DAQmxRegisterEveryNSamplesEvent (htAI, DAQmx_Val_Acquired_Into_Buffer, SAMPLE_RATE, 0, RefreshCB, NULL);
            DAQmxStartTask(htAI);
                Delay(1.0);
    
            DAQmxStopTask(htAI);
            DAQmxClearTask(htAI);
        }
    //
    // Second Task:read 10 rows of values with software timing
    //
        DAQmxCreateTask("", &htAI);
            DAQmxCreateAIVoltageChan(htAI, MX_DEV_AI, "", DAQmx_Val_NRSE, -10.0, 10.0, DAQmx_Val_Volts, "");
            DAQmxStartTask(htAI);
    
        for (i=1; i<=10; i++) {
            DAQmxReadAnalogF64(htAI, 1.0, 10.0, DAQmx_Val_GroupByChannel, AcqVoltRow, HW_AI_CHANNELS, &read, 0);
            SetTableCellRangeVals (panelHandle,PANEL_SOFT, MakeRect(i, 1, 1, HW_AI_CHANNELS), AcqVoltRow, VAL_ROW_MAJOR);
            Delay(0.1);
        }
        DAQmxStopTask(htAI);
        DAQmxClearTask(htAI);
    

    A picture is worth a thousand words: analog inputs have been connected to a network of resistance have known values.

    The upper table contains timed material acquisitions, the lower the software timed readings... as you can see it the first line is the set of values of 0.13, totally wrong

    If the task of timed acquisition of software runs without the earlier (in my demo, that this can be achieved by the switch at the top right), the readings are correct!

    Y at - it something I am doing wrong?

    I also tried to run the program on USB-6009, but it seems to work properly.

    [LabWindows/CVI 2010 SP1 - driver OR-DAQmx 9.4 - Windows 7 x 64]

    This problem was corrected by NOR-DAQmx 9.5

    324044 NOR USB-621 x task HAVE request returns incorrect data after erasing a task HAVE stamped

  • Using the DAQ USB-6009 meter and an analog input voltage at the same time.

    Hello

    Currently, I'm reading the two channels of voltage with the USB-6009. It happens that one of the channels is the output of a digital coder, and it would be much easier to use it directly to the PFIO entry that is defined as a counter. The problem I am facing right now, it's that I can't use the DAQ Assistant to use the analog voltage to a channel and the digital channel counter at the same time. Once I put the DAQ Assistant to read the input from analogue voltage, I won't be able to add analog inputs. And as I put the DAQ Assistant to use the PFIO as a counter, I can add more entries to read analog voltage is.

    I wonder if it is possible to solve this problem using the lower level data blocks? Another solution would be to read two channels in analog input voltage and that the use of Matlab to process data resulting from it, since I was not able to do the counting to work simultaneously with the acquisition in Labview to impulses.

    Hope you guys can help out me.

    Thanks in advance.

    Using a simple wizard of DAQ is incorrect. You need one to acquire analog inputs and one for the meter.

  • How to use 1-channel analog input for start/stop aquire sample second channel input analog?

    I have a little problem. I've just been programming in labview for 2 weeks.

    I'm trying to figure out how to use my channel of analog input on the USB-6009 case for start/stop (reference trigger and start) presented to the second analog input channel samples.

    I need the first analog input string to operate continuously and control sampling on the second.  When the second channel will start sampling program brings a new graph each time and saves it (I have all this that figure out).

    How can I configure the trigger so the lance program presented in for the second channel when the 1 channel reached above 2V (e.g.) and stop when it falls below 2V.

    I use a pressure force sensor on the first channel that gives me straight (up to) 5 V when it is pressed and nothing when it is not...

    Thank you.

    Grand... Thanks for the information!

    But can't I then make a 1 channel instead and wait until that meat of the max element value?

  • Need to read a 30, 1.5 a analog input using a NOR-9205

    Problem: I need to read two analog inputs with good resolution using a C-Series card. The two beaches of signal are 0-30 V @ 1.5 and 0-5 V (not sure of the current). I need to be able to read the signal 5V with a precision of mV (or 16-bit resolution).

    I looked at the module-9221, which works very well with the 30V, signal, but does not have enough resolution for the 5V signal. The 9221 is 12 bits on the beach of 60V.

    I looked at the NOR-9205, which works very well with the 5V signal, but it cannot process the higher V 60 signal.

    If a voltage divider circuit comes to mind, but has anyone found a good solution to this (other than to get both modules)?

    Well, the current should not question.  The entrance of the analog device (ideally) should draw no current and everything running on the source will cross the UUT.

    A 4:1 voltage divider should evolve the signal to 9205 AI as long as you do not violate the absolute maximum voltage between a pin of the device and the Earth.

  • Full scale PXI - 6254 DAQmx Analog Input

    Hello

    I use PXI - 6254 Board to read the analog inputs. Configured channels using DAQmx create Channel.vi with sub parameters.

    In the configuration: CSR

    Min: 0

    Max: 10

    Units: Volt

    I read the channel using DAQmx Read U16 2D with the sample of 1. I expected below the values.

    data of 0 v = 0

    10 volts = 65535 data

    but it gives 10 volts = 31544 data. Please let me know why.

    If I set up the channels with the settings below:

    In the configuration: CSR

    Min:-10

    Max: 10

    Units: Volt

    He always reads the same values (data 0 v = 0, 10 volts = 31544).

    Please let me know, how I can get 10 volts = 65535

    Thank you

    Hi LVTestek,

    The PXI-6254 is not an interval 0 to 10 V input V. The specification of 625 x OR lists the available input ranges:

    Entry level of ± 10 V, ± 5 V, ±2 V, ± 1 V, ±0, 5 V, ±0, 2 V, ±0, 1 V...

    When you set Min = Max 0 = 10, DAQmx chooses the smaller input range that allows to measure signals between 0 V and 10 V without clipping. On the PXI-6254, the smaller input range that meets this criterion is the range of ± 10 V, where - 10 V corresponds to-32768 0 V corresponds to 0 and 10 V corresponds to 32767.

    However, there is an additional complication: ranges entry on M Series devices are slightly wider to accommodate the software calibration. Otherwise, gain of a device could reduce the scope of actual entry, and offset error would move the ends of the effective input range. If the [-10 V...] 10 v] range on your PXI-6254 could be more like [-10.3 V...] 10.4 V]. 10 V is actually to 31544, rather than 32767. On another PXI-6254, 10 V could correspond to a different value of gross / scaleless and 31539 31552.

    Another side effect of calibration of the software, is that the data returned by the flavours 'raw' and 'no' to the VI DAQmx Read are benchmarked. The KB explains further: is raw data DAQmx calibrated or chipped?

    If you can modify your application to use one of the flavors "on the scale" (F64) VI DAQmx read, which should save a lot of effort. If not, could you explain why your program requires readings without scales/bullies? The right approach depends on the requirements. For example, if you want to save the data in a file and you need to reduce the file size by using raw data / scaleless, configuration DAQmx to save data directly a TDMS file can meet your needs. If you update an older application to work with DAQmx and M Series, a different approach may be more appropriate.

    Brad

Maybe you are looking for