Establishment of a reenclenchees analog input on M-series DAQ in LabWindows

I am creating a task entry analog hardware triggering which will acquire N samples whenever I give a hardware trigger with an acquisition of data USB-6229. As far as I can tell from reading through previous posts, the Council does not natively takes in charge of responsibilities reset like that, I am supposed to create a counter that will be used for the internal clock for a second task (probably a task of acquiring continuous). My problem is that it is not at all clear how to do this. I tried to go to MAX and create output of meter, but all the options for the shutter button 'start' are grayed out. In addition, I don't know how to put the impulses in French - 1 pulse, continuous pulses, etc. Which of these counters will be hardware-redeclenchables? Documentation I've found so far for most of the offers with LabView and I can't really understand how tasks are configured based on the pictures that they show.

Hi Paul,.

Try the following DeveloperZone:

DAQmx - I redeclenchables using redeclenchables counter

I don't know why the files have names-ambiguous, in my opinion, the one you want is called 3018.zip.

Best regards

Tags: NI Hardware

Similar Questions

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


  • How to set the low-pass analog input (smoothing) on my DAQ configuration filter?

    I read the following of the PXI-6251 manaual:

    "On some devices, the cut-off is fixed. On other devices, this filter is programmable and can be switched to a lower frequency. For example, the hardware OR of the 628 x have a programmable filter with a cutoff frequency of 40 kHz that can be activated. »

    It does not explain how you know this value. So, I have the following questions:

    1. How will I know what the cutoff freq is on my device?

    2. How do I know if its programmable?

    3. how this program if it is programmable?

    I use the PXI-6251 in conjunction with the PXI-1031.

    Thank you very much.

    The PXI-6251 has no anti-aliasing/programmable filter. Bandwidth (-3 dB) small signal from the 6251 is 1.7 MHz.You will find these information in the specifications manual.

    If you need a filter, you must add the signal conditioning yourself.

    The 628 x M high precision tips are the only cards of the series M 'programmable' low pass filter. Check this KB for more details.

    I hope this helps.

    Luca

  • Frequency measurement of analog input using DAQmx C APIs on SMU-6341 map

    Hello

    I use Linux DAQmx and attempt to measure the frequency of analog input using the map DAQ SMU-6341.

    There is an ANSI-C frequency measurement example:

    / usr/local/natinst/nidaqmx/examples/ansi_c/Analog_In/Measure_Frequency/Cont_Freq-Int_Clk-SCXI1126

    However, the call to DAQmxCreateAIFreqVoltageChan results in the following error:

    DAQmx error: selected physical channel does not support the type of measure required by the virtual channel you create.

    Create a channel to a type of measure that is supported by the physical channel, or select a physical channel that supports the type of measure.
    Property: DAQmx_AI_MeasType
    Required value: DAQmx_Val_Freq_Voltage
    Possible values: DAQmx_Val_Current, DAQmx_Val_Resistance, DAQmx_Val_Strain_Gage, DAQmx_Val_Temp_BuiltInSensor, DAQmx_Val_Temp_RTD, DAQmx_Val_Temp_Thrmstr, DAQmx_Val_Temp_TC, DAQmx_Val_Voltage, DAQmx_Val_Voltage_CustomWithExcitation

    Task name: _unnamedTask<0>

    State code:-200431

    DAQmx does support the function of the frequency on the map 6341, or should we use examples of voltage and calculate the frequency manually?

    Frequency of HAVE it is a type of channel that has been supported only on the SCXI module name of the example.

    You will need to use a voltage input channel and calculate the frequency manually for your device.

  • Definition of series R Analog Input Mode programmatic

    Hello

    I understand that the mode setting of analog input for 7854R series card can be made through the project manager (RIO Device setup)

    I would like to know if there is anyway we can do programmatically (as in the case of some cRIO modules HAVE).

    Thanks in advance for the help!

    Hey,.

    No, you can not change programmatically. Right under the RIO device installation program.

    Christian

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

  • analog input quantified

    Hello

    The data entry in LabVIEW by my USB-1208LS is accurate, but the analog input voltage values are quantified (there are only a few repeating values: 0,691 0.696 0,701 0.696 0,701 0,691 0,691 0,691, etc..). I am able the tensions of four photocells, propelled by the + 5V of USB-1208LS. Each cell is measured in a different channel using the differential input mode. Is it possible to fix the quantification of data?

    I don't know if it's a problem of LabVIEW, but attached is my diagram, in the cases where I'm not seized the tension properly.

    Thank you in advance.

    On the input range, the resolution of this device is about 5 +/-10 V mV, which is exactly what you see. The resolution is established by calculating the length of the total voltage range (20 V) and dividing by the number of steps or bins the A/D converter on this beach (2 ^ 12 = 4096). Yes, resolution = 20/4096 = 4.883 mV.

    To get the best resolution, you will need to use a smaller range (if your signal wil fits into a smaller range) or get a DAQ hardware with a higher resolution, for example a 16-bit converter, or 24-bit.

    Lynn

  • Synchronization of two inputs frequency meter with several analog inputs

    Hi all

    I'm relatively new to LabVIEW and I'm trying to collect data from multiple sources with calendar sync on the acquisition, but I can't understand. My problem is that I have two inputs frequency meter, an optical tachometer reading one pulse per revolution and a max flow meter machines with a 12000 k coefficient. I can't find a way to synchronize the calendar with my multiple analog inputs. I tried to first get the speedometer to synchronize with the analog inputs following the example linked here. (https://decibel.ni.com/content/docs/DOC-10785) So far every time I run it I get an error on the DAQmx read timeout or an error "several sample clock pulses have been detected" (see image).  It seems if I slow the way to down to say 10 hz and make sampling rate ensure that the tachometer signal is more than 800-1000 rpm (13-17 Hz) before starting the VI then the program will run without error until the ROTATION speed is below this threshold, then the "sample Multiple clock pulses" error occurs.  The code is attached below.

    Does anyone know of a better way to synchronize the entries of frequency of the counter with analog inputs?  I would like to have a VI that can display 0 RPM (and possibly 0 flow as well, but I think I need to understand the timing of a meter before I have add another, because it seems that I can't have two counters to the same task). Any help on this would be greatly appreciated.

    LabVIEW version 13.0

    Chassis cDAQ-9178 with NI 9401 for both counter inputs and NI 9205 for the analog inputs.

    Thank you!

    Richard

    I know the error requires to restart the task at least (this particular error puts the material in a State that cannot be recovered from during execution of the task - I've been down this road before) but I'm surprised that you would have to delete and re-create the task altogether.  And then I had to do this to workaround other questions in the past.  It is awkward and should be considered a bug, if this is indeed the behavior.

    Honestly, regardless of this bug, the way the material dealing with the situation of several sample clock edges makes measures of sampling frequency clocked essentially unusable for purposes of synchronization (in my opinion anyway) If you encounter a more slow than your sample clock rate.  You are supposed to be "synchronization" of the measure, but it really no longer applies if you have to restart the task over and over again (if you must delete it or not).

    Workarounds can get kind of creation (which isn't really a good thing).  For example, you can configure a measure of implicit frequency to keep a buffer of frequencies and use a leader board task (source is the frequency signal, sample clock is the sample clock HAVE) to establish a correlation between the index of your buffer of frequency for singing HAVE sample clock.

    Best regards

  • iMac with Thunderbolt - how to get the old analog inputs

    I hang up my old Mac Pro in 2005.  I used it to record video cameras and mainly music best of my plate rotating and stereo system - vinyl and CD disks via s-video and RCA cables and Firewire for Mac Pro.

    The iMac 27 "new is primary Thunderbolt and I can't find a Thunderbolt conversion box so I can enter my analog input RCA and S-video signals.  No indication on the Thunderbolt converters 'both ways' I can't exit analog in the iMAC, then the iMac as well?

    They certainly run Final Cut Pro X on the iMAC, then how people get their old media and music in the machine?

    I'm about to talk to the local Apple store, but the chances of finding someone who knows what they are talking about with the iMac, Thunderbolt and analog input is going to be a stretch.

    Al Donn

    You can probably use a converter DV firewire as a Canopus ADVC 110 http://www.bhphotovideo.com/bnh/controller/home?O= & sku = 349146 & gclid = CLSF0_qUnswC FQ8vaQod9VkFFw & is = REG & ap = y & m = Y & c3api = 187... and then an adapter firewire-crush.

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

  • Analog input and output using 5640r

    Hello world

    I'm Christine, I'm implementing OFDM on fpga using 5640r.

    The code that I have, which is good in the simulation using labview and also using 'nor 5640r treatment only' but I want to implement in "analog input and exit vi" so that I can send and receive on the same card 5640r

    After so much attention in this regard, I am still unable to find the issue, then the soultion to this question. something that I am able to understand that maybe there would be some questions (ADC and DAC) clocks the clock setting

    I have attatched that vi. Please take a look at

    Concerning

    Aqib

    College of aeronautical engineering

    Risalpur

    Sorry

  • Input signal is set to +/-0 .5V when it is connected to an analog input

    Hello

    I have a difficulty connect an analog source to the analog inputs of my acquisition of data (USB-6215). The analog signal is output operational amplifier through a 10 k resistor. I wore the signal out of the amplifiers is 10V peak, I then move the probe across the 10 k (the analog input terminal) and the signal is clipped to +/-0 .5V. If I reduce the amplitude of the signals of source less than 0, 5V Ridge there is no clipping.

    Maybe the analog input range the value +/-0 .5V which is causing this as a form of protection? I don't have a LabView to try to change the input range as I do just the wiring.

    Analog source is connected to him HAVE 0 and the ground of the analog source is connected to the GND AI.

    Thanks in advance.

    J

    Joel-

    Have you tried to read the data through the data acquisition device?  If that's what you try to do, I'm curious about what we read.

    If you have measurement and Automation Explorer, go ahead and open a Panel to test for the unit and see what are your tensions.

    Let us know how it goes.

  • 6008 analog input - invalid values

    Hello

    Does anyone know how the analog input voltage 6008 invalid handles?  Specifically, what happens if the circumstantial channel is configured for a 0 - 10 range v and a voltage negaitve, (-19.0) volts is placed on the analog input?

    I use the library, C/C++, OR-DAQMx library.  The call that I use to set up the port of AtoD is:

    DAQmxErrChk (DAQmxCreateAIVoltageChan (taskHandle, AINPSTR, "", DAQmx_Val_Diff, 0,0, (float64) s_dMaxAnalogInputVoltage, DAQmx_Val_Volts, ""));

    where: s_dMaxAnalogInputVoltage = 10.0;

    and

    DAQmxReadAnalogF64 (taskHandle, 1, 1.0, DAQmx_Val_GroupByChannel, values, 5, & not read, NULL);

    to read the circumstantial.

    What will happen if any illegal input voltage is applied.  I know that everything is a wide range, so I don't talk about something like -60 to + 60 volts.

    Thank you

    -Neil shore

    These specifications are in the datasheet of the product - link to it in the product specifications of the page tab.

    And no, there is no error generated when the input is out of reach.  Scaling the proper entry so that this doesn't happen. or if this is the case, your software recognizes that is higher than expected.

  • read the multiple analog inputs at the same time

    Hi all

    I use USB-6001 and want to develop an application to multiple tasks in C++. I try to read several analog inputs at the same time, but got some errors. To put it simply, I copy one of the sample code to read in analog data in a channel, and then turn it into function. Then I call this function to thread with the names of different poles (for example Dev1/ai0, Dev1/ai1) and I come across this error:

    "The specified source is reserved. The operation can not be specified such complete"code of State-50103

    I have search the forums, this may be because I use the hardware timing in this function, and this material timing cannot be used simultaneously by multiple tasks. I may have to put all the lines, I want to read in a single task (such as Dev1 / ai0:1). This way I can read two lines at the same time. However, when I try this, I encounter another error:

    Status code "buffer is too small to contain the data read" - 200299

    So here is my question, what should I do if I don't want to read the multiple analog inputs at the same time? Is the thing that hard time cannot be used by several true task? If I have to read several lines to a single task, how to set the settings?


  • How to compare analog input signals?

    Hi all

    I use PCIe6363 DAQ to collect the analog input signals. Mode of input signal is continuous and single channel several example. The sampling frequency is 2 ms/s, number of sample 100KS or less. This means DAQ 100KS of collect and draw a line/curve. I want to compare the two curves. The problem is DAQ continuously collects data and plot also continuously. Would you please is it possible to compare the curves of this operation continuous operation. The main goal is to justify whether or not the signal of incomeing maintain consistency.

    Thank you very much

    Azim

    You can store a waveform in a shift register.  Then you have in memory compared to the new waveform.

Maybe you are looking for