acquisition of data and processes in FPGA

Hello!

In FPGA, I am trying to acquire analog data (0 ~ 10V) with a specific time clock rising edge of each digital pulse encoder.

I went to get the data on the front, but I don't know how I'd keep th and i + 1 th data.

(Frequency of data is less than 250 kHz)

I have the cRIO-9074, NI 9411 (encode), NOR 9205 (module I),

data

1st, 2nd data, data 3rd 4th 5th 6th 7th... I-1 th, I e, i + 1-th...  1200 e (approx.)

I need every sum of two consecutive data data 1st + 2nd, 2nd + 3rd, 3rd + 4th, l - 1 e + i Thess,... th + (i + 1-th)... 1199 th + 1200 e (about)

On the process of two consecutive sum.

[i - 1 e + i th] / [a value] + [the other i e amount of different data acquisition] = 1199 set of data (up to 1200 th data)

and then

all data across data (data from 1199) will be worth.

Thank you very much!

All tips are welcome!

Sincerely,

Hyo

Looks like a simple feedback node will do the trick.

Tags: NI Software

Similar Questions

  • Acquisition of data and filtering on FPGA

    Hi all

    I have trouble to design a FPGA program for acquisition of data and filtering.

    I have two NOR 9205 modules configured to work in terminal mode of DIFF, i.e. There are 32 entries this program must read every Ts seconds. (Ts is the time discretization, i.e. during the period of loop)

    With respect to the digital filter, I implemented a possible simple filter with transfer function G (s) = 1 /(1+sT), which is part of the field of discrete-time equal to y (k) = a * u (k - 1) + b * y (k-1), where u is the original signal, and there is filtered signal. The coefficients a and b are equal to: a = 1-exp(-Ts/T), b = exp(-Ts/T), and T is the time constant of the filter (usually T > 5 * Ts).

    The implementation of main program for the acquisition of data and filtering are:

    This application is for the digital filter:

    However, the problem is that this program cannot take the FPGA resources on cRIO-9114, and Yes, I tried to define the criteria of compilation for the area. I also tried to implement the multipliers in digital filter as lut and DSP, unfortunately without a bit of luck.

    Because I don't have that much experience in programming of FPGA, someone has any suggestions how to improve this code to adapt existing FPGA resources?

    Best regards

    Marko.

    Hey Norbert_B,

    I managed to solve the problem. First, I changed the reentrancy of Preallocated incoming execution clone to not reentrant execution. As no reentrant VIs have States, I had to use the node of the feedback to the main VI to get u(k-1) and y(k-1). Another important thing is to choose Ignore FPGA reset method in the node of the properties of FPGA implementationfeedback, since in this case, the feedback node uses less resources.

    Here is the new main program VI:

    And here's the 'filter' VI:

    Thanks for the help!

    Best regards

    Marko.

  • request to help build a vi to acquire a signal of pc6251 for the acquisition of data and perform fft it can u people please help me? Thanks in advance

    Hi all... I learn LabVIEW since few days.i want to acquire a signal of pc6251 of acquisition of data and perform fft it can u people please help me? Thanks in advance

    If you do only use LabVIEW for a few days, you should get familiar with it first by looking at some of the resources available here. After that, you can watch heredata acquisition.

    After reviewing these documents, you can post back with any specific questions.

  • acquisition of data and put it in a table in regular order

    Hello, experts OR

    I would like to get some tips on how to put the data in a table in a regular sequence in FPGA

    In FPGA, analog data of the sensor data.

    1 data => allocate on index 1

    2 data => allocate on index 2

    ...

    I have given th => return to index i

    Any advice is welcome.

    Thank you.

    Hyo

    Hatef.Fouladi wrote:
    use insert into table
    and use the empty table to start

    You should read more carefully.  We're talking FPGA.  FPGA has to deal with arrays of fixed size.  If you need to initialize the array and use then replace table subset or simply use a loop FOR.

    Of course, it really depends on what the OP is really trying to do here.  Maybe a little more context would help us to give you a better answer for your situation.

  • How to connect dwyer SERIES 629 differential pressure transmitter to the acquisition of data 9219 and read the signal?

    Here is my sensor
    Pressure sensor

    Here's the DAQ data sheet:

    ACQUISITION OF DATA NOR 9219

    Here are my issues:

    First of all I don't know what is LO and HI exactly in the DAQ 9219 material.

    Second, I don't know what pin code I should connect the DAQ sensor signal wire. PIN 4 or 5 pin? The sensor has three pins, and I guess I should connect the other two wires to the power supply.
    Thirdly how to calibrate the sensor. In labview choose voltage in the wizard?

    I'm pretty new in this acquisition of data and I need your help.

    Thank you

    Hi SilasIII,

    Hmm well 3 sons are probably on the ground, the power and the return signal. The datasheet for the sensor says:

    First of all, you need to know which model you have (4-20mA, 0 - 5V or 0-10VDC). HI refers to the return signal, LO essentially means the land of the food that feeds the sensor. Then, you must get the 13-30 VDC supply. I don't think this should be too complicated and can be a simple wall DC power. You can learn how to create a custom in DAQmx scale. I hope that this is a starting point.

    Kind regards

    Eric

  • Acquisition of analog and video synchronized

    Hello experts tiara,.

    I am curious about this example Diadem DAC:

    http://zone.NI.com/reference/en-XX/help/370858M-01/explonl/explonl/explonl_dac_video/

    He claims to be able to acquire analog and video synchronized.  Anyone can determine how to properly synchronize these two data flows are?  Because it is a desk, probably Windows machine and no trigger material between video and analog devices, I'm guessing that the two are, at best, on +-1 second.

    Can anyone solve this problem?  I see in the manual use tiara (here) that NEITHER has done some work in order to study how the clocks are accurate in Diadem.  And they even mention a few points of 100 msec.  But I don't really trust this number when it comes to acquiring analog and video data simultaneously.

    Thank you, John

    Hi John,.

    You ask an interesting question, and I had contact with the developer of R & D responsible for this service and received an explanation on his part on the works of this feature.

    The target application for this specific feature is not for use cases where the exact synchronization between the measurement and data acquisition are required (i.e. a crash test of vehicles with more than 1000 frames / second video recording). This feature is implemented for users who wish to have the possibility to use webcams to get insight into what their machine or test do any recoding data at the same time. We should ask this 'parallel acquisition data and video' and not 'synchronous acquisition' - which suggests that it is a way to ensure that the data and the video are actually synchronized during the acquisition process. The original entered German aid system speaks 'parallel' instead of 'synchronous' acquisition, the English translation incorrectly uses the word 'synchronous' instead of 'parallel '. I contacted our documentation team to clarify this part of the help system.

    Accurate synchronization to achieve, especially between multiple streams of data acquisition and a camera, the application must use frame grabber hardware - hardware specifically designed to support the capture video or image.

    This is how DIAdem DAC addresses this type of application, I hope this information is helpful to you and others to this feature:

    Tiara DAC is a top priority on the acquisition and the release of the data to and from data acquisition equipment. The video recording feature is less of a priority and is not controlled by tiara constantly. The video recording process is triggered as closely as possible to the data acquisition process. The current local time stamps of two triggers (data and video) is registered allows us to determine the exact time for the two signals of reading according to DIAdem, i.e. If there is a delay in the start of video recording, is considered for reading in MODE of DIAdem.

    Our tests with made with a camera (not multiple, which is supported by MODE of DIAdem) and data acquisition equipment NOR (not several devices, which is also supported by DIAdem). In these tests, that we have seen the video and data were generally synchronous within some frameworks (no real 100% synchronicity) - which was quite thin which this solution based on USB low-cost camera technology was designed for. It is generally better than +/-1 second depending on the application, but also synchronized to the millisecond like material systems would be able to achieve.

    There are several factors that influence the results of the tests carried out in this area of application: PC hardware (CPU, RAM, disk system), the tasks of measures, other software running on the computer chassis, the camera and the framework, software drivers, etc.. There are too many variables beyond the control of tiara that can influence the synchronicity of the acquisition of data and images based on the software only, so true synchronicity can be achieved using equipment designed for this purpose.

    I hope that clarifies the DIAdem DAC functionality a little better. Thank your for having pointed out the misuse of the book 'synchronous' in the help system, going as fixed for the next release of DIAdem. Please let us know if you have any other questions.

    Best regards

    Otmar

  • When I send a 5v of data acquisition, the voltmeter indicates 5V, but when I connect a "normally open" valve Parker for the acquisition of data, the voltage decreases automatically a.14 V. It seems to be grounded. Why is this happening?

    We send 5v data acquisition using a voltage generator. Hook us it up to a voltmeter and see 5V. When connect us the generator voltage to a valve "normally open" parker, the voltmeter indicates .14V. It seems that when we connect the two sons of the valve for the voltage generator, the son act as pattern. We want to control the voltage flowing to tap through Labview. We checked the wires to the valve and they work very well, because if we send a constant 5V since the acquisition of data and put ashore, she, the voltmeter indicates 5V. Someone knows why the son act as pattern and low blood to .14V?

    nsatpute wrote:

    Our data acquisition is NI USB-6259. The valve requires only a 5V max and our DAQ provides up to 5V. However, after connecting the valve to the acquisition of data, the grave tension to almost 0. We start from the principle that the son somehow act as the reason, but we are not sure if this is the case.

    The question here is not how much voltage the valve wants, it's the current needs of the valve.  The 6259 can put only 5mA via an analog output.  Your very likely tap needs much more than that.  If you need to add in an amplifier circuit that can supply more current to operate your faucet.

  • Acquisition of data reading zero intermittently

    I use 3 analog inputs of an acquisition of data USB-6009 to monitor and record the temperatures of my system.  This running VI constantly perform 1 read per second and periodically saving the values drop.  Everything works very well for a few weeks or even months, until that data acquisition shows suddenly have a value of zero.  unpluging the acquisition of data and by him plugging back in solves the problem.  Therefore, I assume that this is due to the DAQ or maybe the USB communication being refreshed power cycle that I get the correct values again.  Any ideas on how to test for the cause of this problem or preventive measures, can I take?

    I was the closing of thought and could help restore communication at the end of each day.

    Oh, and I'm using LabVIEW 2010 on Windows 7.

    Disable the 'power save feature' Windows 7 where it randomly disables your USB hub.  Go to Device Manager and go to USB hubs then the power settings.

  • HP EliteBook 840 G3: Impossible to find acquisition of ICP data and Signal Processing controller, memory controller, PCI and SM...

    Hello

    I can't find acquisition of ICP data and Signal Processing controller, memory controller PCI bus controller SM for HP EliteBook 840 G3 running Microsoft Windows 7 Enterprise (64-bit).

    Any help is greatly appreciated!

    Hello:

    See if this driver works...

    FTP://ftp.HP.com/pub/SoftPaq/sp74001-74500/sp74152.exe

  • HP 15-r212nv (Energy Star): acquisition of ICP data and Signal Processing controller

    There is a device in the device manager that recognizes my phone and I can't find drivers! Acquisition of ICP data and Signal Processing controller.  I searched the web, but nothing.  My laptop is HP 15-r212nv model and I'm under 64-bit Windows 10.

    Thanks in advance

    Hello:

    See if this driver works...

    This package contains the driver which allows Intel platform dynamic and thermal firmware setting. Intel platform dynamic and thermal environment information system temperature and power use for the thermal protection of the system to work properly. This package is provided for the laptop models running a supported operating system.

    File name: sp71262.exe

  • Acquisition of data using C++ and cRIO-9066

    Hello!

    I want to write a C++ application that would make the acquisition of data from modules installed in the cRIO-9066 chassis and this application should work without LabView. How can I do? This chassis connect to my PC using NI-DAQmx? Is this possible?

    Hi aanodin,

    When you use a device that uses our architecture of RIO, it is usually best to use LabVIEW to develop your application. In this way, you can also program the FPGA with LabVIEW FPGA module and makes programming much easier real-time processor. In fact, your model of cRIO is officially supported by our LabVIEW programming language, as seen on page 4 of the Manual: (http://www.ni.com/pdf/manuals/376186a.pdf).

    Due to the FPGA interface, you cannot use DAQmx with cRIO. I hope this helps.

  • Edge counting and Source of Timing for timed loop on the request for Acquisition of data - not acquiring data on specified rising edge

    Operating system: Windows XP

    Hardware: PCI 6259

    Terminals used: PFI0 and PFI2

    Counters used: Ctr0 and Ctr1

    IM developing an application for the acquisition of data where timed loop synchronization source comes from my PFI2 (using the string A of an encoder).  IM basically trying to acquire data based on the number of ticks from my encoder.  For the synchronization source, I use counter 1 to capture the rising edge and have the loop time-acquisition of data.  At the same time, Im using the counter 0 to count the number of rising edges so I know exactly in what tick data was acquired.  PFI0 and PFI2 are connect to channel A of the encoder.

    Questions:

    Timed loop acquires data at each tick, because when I discover the data (text) file is missing count of my encoder value.  Is it because there is a limitation on the Windows operating system?  I used a noculars to measure the frequency at the maximum rotation of the channel encoder and 6,757 kHz.  All solutions?

    Also, is there anyway I can route the source channel internally an encoder to generate synchronization source instead of using another counter?  I have attached my VI.

    Hello

    All the samples that you acquire will be read by LabVIEW in a sequential manner. Figure 4-21 on the M-series on page 80 (4-34) shows that you will acquire all the samples you request all channels that you enjoy in sequentially.

  • Difficulty to read the instrument of series and acquisition of data simultaneously.

    Greetings,

    I have some trouble getting my VI read from my data acquisition and instrument of the series at the same time.  If I run the Subvi simultaneously (i.e. subANG runs in a window and subVEL is running in a second window) both return the correct values and behave as I expect.  However, if I call the Subvi in a society mother VI and try to run them both in the same loop structure subANG gets stuck and won't be reprobed with a signal change.

    I also tried to use a stacked sequence or plate to separate the execution of subVEL and subANG, but I still get no response to subANG.

    The point is is that, if I run Parent.VI in a single window and then creates a copy of subANG (call it '--copy' or other) and run it in a second window, Parent.VI behaves properly and will update the readings as they appear in '--copy '.

    I enclose 3 files.

    (1) subANG.VI - this bed an an inclinometer RS232 signal.  The signal is refreshed every 10ms or more.

    (2) subVEL.VI - this bed raw tension of a channel on the acquisition of data, calculates the average then that converts into a pressure difference and finally a speed based on the pressure and temperature inputs.

    (3) ParentVI.VI - they simply call and displays the Subvi

    My guess is that it's a buffer problem, but I am confused.  Someone out there in Labview Earth knows why this might be happening?  Suggestions welcom.

    It is not an instrument of series.  It is a UEI PowerDAq with their typical A/D and the cable.

    I found away to make it work by placing subANG and subVEL in some time different loops side by side in ParentVI.

  • date and time of transfer to the target fpga

    Hello world

    Can I transfer the date and time of real time on target fpga in a sbRIO?

    Thank you

    Hello

    You don't know why you would want to try this, can you clarify?  You cannot send the timestamp as it is, but according to what you want to do, there will be a solution.  This describes how a timestamp is stored in LabVIEW, but you probably want to send/receive something more easy to handle on FPGA.

    Michael.

  • What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?

    I have a PCI 6519 data acquisition card. I want to install it on the PC and use it outputs to control a robot. I have problems with the connections to the terminal block which is attached to the cable.

    What type of connections I do for the acquisition of data PCI 619 card pins? What I have to give it to the ground and the CCV on the pins of the connector myself? What should be the value of the SCR I need to give to the PIN?


Maybe you are looking for