time real cRIO and confusion of FPGA

I'm confused on the use in real time or FPGA.

I learn from training material, you use cRIO with FPGA and real-time, you have two

synchronization means: one is the analytical engine, another is calendar FPGA. However, the frequency of synchronization

real time is limited to 500 Hz, see attachment.

I wonder, if I want to acquire samples using 5 k rate of real-time data acquisition card

system, such as cRIO and sampling interval is 1 Hz. That is, using a timed loop which is 1 Hz and inside

the loop, can I use DAQmx to acquire waveform using5k rates?  or I have to using of FPGA to acquire waveforms

Whe I want to acquire signals with greater than 500 Hz rate?

cDAQ is not an FPGA, but use DAQmx.

Tags: NI Hardware

Similar Questions

  • In time real CRIO - writing a file on a PC hard drive

    Hi all

    I am developing and application with the following hardware features:

    Time real cRIO 9004 target device

    HAVE cRIO 9205

    AO cRIO-9263

    and the following programming features:

    I run an FPGA VI to establish PID control where the reference signal generated in the FPGA and the real is an acquired signal through the cRIO 9205.  I also find target FPGA FIFOs host in order to pass the data from the FPGA to the application of the RT.  The time real VI will run in the 9004 cRIO processor.  Now, with the data from the FIFO I would write a file (regardless of the extension), in order to do more tests.  I did it but I don't want to use the local memory of the RT, instead, there will be a PC (hard drive) where I can place the file in order to write it (with data).  I'm not able to do so, as 1) I don't know how to call the PC hard drive and 2) I don't know what communication protocol fits better I want to develop a device to Windows Welcome.

    Nobody helps me?

    Thank you very much

    Enrique

    The cRIO-9004 unfortunately has USB, so you can not write on a USB Flash drive (which would be my first suggestion).  If you want to store the data on the host PC, you will need to write a simple TCP/IP client/server to send data to the host through TCP so that the host can receive and save to disk.  Façade of the VI may seem as it is running on the PC, but it's actually just show you data be listened to the target (you are not allowed to piggy-back on this same Creek).

    There are several examples of TCP/IP client/server integrated into LabVIEW.

    -Danny

  • Optimization of DMA in the Code in time real (cRIO FPGA-> RT)

    Howdy,

    I am acquiring data from a microphone using the NI9234 module.  I wrote my RT and FPGA code.  I am communication of data between the FPGA and RT layers using a DMA FIFO.  I noticed that the layer of RT has difficulty to empty the FIFO, since the FPGA layer runs at a much faster pace.  I would like some pointers or suggestions on stupid things I do in the layer of RT that are causing it to run more slowly than necessary.

    Currently, my RT code simply opens the FPGA reference in a loop, extracts data from the FIFO and writes to a file.  I know that if I want to plot the data or perform an FFT on it, I would in a loop of lower priority, for not to slow down the data streamed from the FIFO.  Are there accessories simple performance that I'm missing in my code?  Thank you.

    I enclose a copy my code FPGA and RT (screenshots and screw), so that you can watch.

    I would seriously consider redesigning completely the code and using this reference request model.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9196

    There are reference points that show how this model makes.  With the acquisition of waveform, there are a lot of optimization.  This referenace application addresses all these to give you the best performance.

  • Time real ADC/DAC for SMPS by using Labview and USB

    Hi all

    I asked the Sales Department of this same question, so here's a two-pronged approach:

    I am reserching a control algorithm for power switching, and so far, its performance simulations seem to be good.  Now, the goal is to implement the circuit from the experimental data.

    I've seen several NI USB DAQ boxes that seem to have the performance, I'm looking for (for example, the box USB-6211 a sampling rate and resolution I need).

    The control algorithm uses the following mathematical functions: add/sub/mult/div/exhibitor and derivative/integral.

    My question is this: is "strong enough" Labview take four-channel data 250Ksps, crunches the numbers in an equation and spits out the answer to an analogue on the channel, while time REAL?  I'm looking for a rate of analog output of ~ 100 kHz.

    Thank you for any suggestions you have!

    -Rick

    Hey,.

    So if you were trying just to perform an input or output, then the box USB-6211 would certainly be able to treat it as the machine clock could manage the inputs/outputs, no software. However, what you are wanting to do, basically a feedback system, he will have to avoid (at least to a USB device) because you need to be able to specify Active which is the output. So, for this reason alone and the fact that you want out of 100 kHz, this device and the USB devices in general will be not an option any what software you use, LabVIEW or otherwise. On another note, you want to make sounds more like live update, not in real time, which is more on the jitter. Bottom line, for these kinds of requirements, you might need to move to an FPGA card, something like the NI PCIe-7841R would work. It's more expensive, but for your needs, FPGA will be the only option and it comes down to the latency of the bus, but also the response time of software. With FPGA, as shown in the first scheme of the following document, you basically close your software through hardware loop.

    Basics of FPGA

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

    -Ryan S.

  • Time real 8.6 and PDM

    Hi all

    Using a CRIO-9012 with time real Labview 8.6 and labview 8.6 and now that TDMS is supported and I am wanting to use it on my cRIO. Be a problem if... in addition to open or close tdms files still do not work on my CRIO even if time real 8.6 is installed. Attached is a simple vi which works on my PC but not on my cRIO, tried still more simple screw with on the CRIO tdms and it does not work. When I try to run the program on the cRIO I just lose the connection to the controller and have it reboot. It is likely to what I may have missed?

    Thank you

    Jevon

    I came across a question like this and found that the path of the file to open it TDMS must have a tiny 'c' as in "c:\". "instead of"C:\ ". »

    You will always get an error on the end, but the IO files works.

    Kurt

  • problem with timing cRio and FPGA

    Hello

    I develop software for measure the position of a device using some quadrature encoders.

    What I do uses the FPGA interface to acquire the position, then send usign real number of the meter to a host pc to create a data file. In the RT environment, I create a table with the position and the time that is acquired and using shared variables I send the array to the host PC.

    But I have a problem with the sync. The sampling time is unstable, I use a timed loop to control sampling but after some acquisitions, data sampling period begins to increase, as you can see in the image of attachment file. In the attached picture, I used a period of 250us and after some time gets twice and 3 times longer before you clean the table and begin to create a new table, during the period in 250us again. so the problem is that I should get a stable period in 250us instead of these steps in growing period

    You use the table of construction to add new data points? I suggest to use the function "Initialize the array" and "replace the array element. It will reduce the time it takes from the table of the construction.

    I can't open your code as I have LabVIEW 2010.

  • Lack of time real plug-in

    I have a project in real time using a 9074 cRIO chassis. The project opens fine on my desktop but when I try to open it on my laptop, a yellow triangle with an exclamation mark inside appears at the level of the chassis and don't see anything below the level of the chassis. If I right click on it, it just says: "the plug-in for the selected item is not installed on your system or the plug-in has a license has expired. I have installed all these elements on this machine:

    NIRIO1310f1

    LV 2013 SP1

    SP1 FPGA development

    SP1 of development in real time

    NIDAQ1400f1

    Don't know what else I could possibly be missing, don't remember installing something more on my desk? No matter what project I try to open, any project won't let me in time real access below the chassis level. If anyone knows what I could miss I would appreciate the help. Or if you need more information.

    Thank you.

    I installed NIRIO14f1 and my phone seems to work again.

  • Set the time on cRIo with delay VI

    Hi all

    I want to correct both the cRio and tried to use the time VI. It gave me error 2147467263 which means "not implemented".  the error message is "node in nisyscfg.lvliband Time.vi:6150001-> put time.vi".» I don't know how to fix this error and to change the time.

    I've attached a screenshot of the program to this message, I would appreciate any ideas or suggestions.

    Best regards

    Hello imnewhere

    run the vi in my computer, then it should set the time.

    This may also help

    How can I configure my controllers time real CompactRIO to synchronize with the SNTP servers?

  • Average displacement Subvi does not refresh the data in time real host VI

    Hello!

    I time real host VI that has evaluate the NI 9215 cRIO block data 9073. He takes analog data and calculates the phase shift. It works well with the connected equipment and displays the results. I need to get the moving average value of phase shift, so I add moving average Subvi, where main VI entries - new value (phase shift measured) and ms and output - average value of travel time. When I run real time host VI it gives me a single data and stop get new data from Subvi. It refreshes not even values measured in real time. So the problem somewhere in the accommodation, with sub - VI. How it can be solved? How can I get real host VI with the moving average value of Subvi update running time?

    Thank you.

    Your problem is that you have a loop that runs until you press the Stop button inside your Subvi.  If you try to use a Global Variable that is functional, you have a few things wrong.

    1. the loop should run only once.  A TRUE to the conditional stay Terminal wire.

    2. the shift register cannot be initialized.  That is how he can keep the old elements in a story.  Use a first call? with a case structure so that you only initialize the table of history inside the loop on the first time the VI is called.

    But if you really want to make your life easier, just use the PtByPt.vi mean.  NOR did all the work for you.

  • How I develop on a crio and deploy on another

    How I develop on a cRIO and deploy on another?

    I have developed a cRIO application and test on an another cRIO before deployment on many other cRIOs.  (See image below).

    I used to do this in real-time systems: develop in our facilities with our materials and test it on their development on the site of the client system.  But with the cRIO things are a little different.  In the Project Explorer window, I host (my computer) and the target (cRIO Lab).  I tried the following:

    • Connection: disconnect the cRIO Lab (via the Ethernet connection) and the cRIO of customer connection and then discover the new cRIO in Project Explorer. This works.
    • Copy VI & variable: I copied the same file under the cRIO Lab structure in the project for the new cRIO Explorer. I did this by adding a VI and a variable - the same ones on the cRIO Lab shared library. It seems to work.
    • Running or not: the problem is when I try to run it because it looks for variables that are shared on the old cRIO.

    System Specs: LabVIEW 8.6.1, cRIO 9074 w / various modules, configured in scan mode and to be deployed as an executable

    What is the best way to copy an one cRIO to another project?

    Hello

    First off I will say that it is the problem more beautiful and informative that I saw.

    Secondly, you should be able to do the following:

    -instead of adding the two targets to your project, just go to the properties of the target (target of click right, select properties) and change the IP that you are testing on. That would be the simplest and cleanest method.

    - Otherwise, in your configuration, when you port code from one to the other cRIO, don't forget to right click target and select deploy all. You must rebuild your application as well.

    Please let me know how these suggestions work out for you.

    Kind regards

    Anna K.

  • remove the pop up message "Waiting for in time real (target CompactRIO RT) to answer.

    Is there a way to remove the pop-up message "Waiting for in time real (target CompactRIO RT) to answer" what power is removed the cRIO or when the network cable is disconnected?

    Hey Danny,

    How did send you the commands to the Windows PC the cRIO? You use the remote FPGA host Interface?

    I've seen the pop-up dialog box when the LabVIEW project is not present.

    If you create a Windows VI that sends orders via shared variables or other network mechanism to a VI RT, which in turn controls your FPGA VI, then you should not ever see the popup you speak.

    This tutorial walks through creating an example of monitoring on cRIO with three screws as indicated:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/11199#toc4

    This tutorial is an example of the use of a shared variable to implement a heartbeat, to determine if the cRIO is connected:

    http://decibel.NI.com/content/docs/doc-11046

    I hope this helps.

  • Create a subfolder of bookmark in time real bookmarking a page in a folder that I created for a registered earlier does not work

    Create a subfolder of bookmark in time real bookmarking a page in a folder of bookmarks, I created a saved bookmark previously does not work.

    Previously on a Windows XP computer, I could choose the "select" option and create a new folder under the folder I chose to put my new bookmark. "." On this computer, the 'new folder' option is not clickable.

    I thought about it. Thanks anyway.

  • Get information about the physical location (serial) Visa (slot) in PXI time real (Pharlab)

    Hello

    I PXI system with controller time real (OS Pharlab) and many maps series (about 6 cards).

    The maps in the series are two different models, which each contain several (8431/8 and 8421/8) serial ports.

    And the COM Port enumeration mix and I would like to know the link between COM numbering where it is linked.

    I have already dealt with a few methods:

    1. I've tried using the node property of Visa but he cannot know which card port COM belong

    2. I tried to use the Configuration Library system and don't manage to get general information of the card and not what ports have this card.

    3 try to fill you with the VisaConf.ini, but discovers that ASRL and COM Auto-enumeration is the same.

    4. I tried to look in NISerial.ini, NISerial.dbs and NOR - RT.ini and did not find any help here.

    Application engineer or support suggest to look in the registry of the operating system Pharlab because it is windows based and material information must be stored in the registry

    Further explanation on the problem of PXI enumeration:

    PXI produce enumeration auto for the ports series (COM3, COM4, COM5...) according to the card slot, but when there is a mix of the two models of the system would then list a model (8431) from 3 to 50 (6 cards and 8 ports) and the other model (8421) 51 to 98. so if I have 8421 in 2 and 8431 slot number in the slot number 3 it would list 2nd slot COM59 to COM68 and 3rd slot COM11 to COM19.

    Why not just use NOR-MAX to manually configure the ports?

    The system is essential and can not be stopped for a long time and he operated by people who are not very technical, so the customer who wishes to be able to exchange business cards without futher configuration.

    Thank you

    Or Hirschfeld

    Application engineer

    SK-Electronika, Israel

    www.LinkedIn.com/in/orhirshfeld

    Solved and download the example of solution of community

    Get the location COM (Serial Port) and Port physical location in the chassis

  • using the module time real Labview in RTAI

    Hi all

    I want to use the module time Labview in RTAI real for real time due to its open source applications and very good performance. is it possible to make this work?

    If this is the case, can anyone introduce a single study of case or something similar to this?

    Cecile says:

    Hi all

    I want to use the module time Labview in RTAI real for real time due to its open source applications and very good performance. is it possible to make this work?

    If this is the case, can anyone introduce a single study of case or something similar to this?

    I don't think it's possible for anyone outside of OR. LabVIEW Real-time supports this time only Windows as host and as a target only material of National Instruments with specifically targeted OSes or the Pharlap ETS system on x 86 systems with hardware specific enough. Using RTAI as target OS for LabVIEW Real-time applications requires first a few changes on the time plugin real LabVIEW to support this new platform.

    None of the files in time real LabVIEW also created for either platforms OR running VxWorks or OS Pharlap, Pharlap ETS system woud be able to be deployed to a system RTAI, because they are not compatible. In the first place, you'd have to port the bunch of shared libraries that make up the time target real system running LabVIEW on one of these goals to your RTAI system which is in fact a whole new platform of LabVIEW you can create with a little effort from the LabVIEW source code. It's not really impossible for OR as most of the code LabVIEW is written platform completely independently, but it would be a combination of the parameters compilation for course LabVIEW Real-time, with the settings to produce time targets real LabVIEW VxWorks with some additional settings of Linux. Yet, it would be by far not trivial and some parts are actually hardware specific drivers that must be worn too and limit the possibilities of what RTAI material could serve even further. In short not something that would make any commercial sense NC because they invest a lot of resources with no opportunity to sell additional hardware.

    And hell freezes over up front release of NI LabVIEW source code in any form which gives access not - OR used to it!

  • Table of waveform in time real Multi ground

    Hello

    I've attached a picture showing part of my code. What I'm trying to do is to create the exact waveform as "Cell pressure (kPa)", but in the x-axis in real-time. I created the "wave form" and that it does not work enough. This table will 'Y' to 'build the waveform"will contain 8 items and when I run the program,"Waveform"shows all the elements in a plot rather than in 8 different locations in a single diagram.

    Can someone choose where I am doing wrong?

    Thank you

    Hoda

    Hoda wrote:

    Table of waveform isn't the time component. I need to show all plots on a graph and real-time

    As you convert scalar data to a cluster to the chart, he has no information indicating the time.  Missing time initial T0 and the dT for the time interval.

    Outside your wire loop right now for the Xscale.Offset property for the graph node.  Because your loop time is 1 second, you must set the DT.  But if it was something else, you must set the XScale.Multiplier property as well.

Maybe you are looking for