time real tracing of data!

Hello

I am struggling with trying to incorporate what appears to be a simple graph! I run a loop that takes a set of data by iteration. I would now like to each iteration to get the maximum value of the data and it plot on a graph in real time, so that as updates to loop my updates graphics and I can show the maximum value for each iteration in real-time.

I would also use a node as opposed to a shift register feedback. Can someone show me a simple vi who would do this with an arbitrary set of data? Please show with a feedback node. I tried the crux of feedback - but it does not update each value AFTER one iteration of the loop so I tend to always have the last value of the truncated chart

Thank you!

Example attached with graph and the Feedback node

Tags: NI Software

Similar Questions

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

  • Tracing of data vs. time in Excel

    Hello community,

    My question seems pretty simple: I would like to draw (not in a graph, regular values just next to each other) collected data vs the time they were acquired.

    My problem is that I take my samples one at a time, creating 1 d-data and therefore impossible to use the 2D-data option on the "write to the spreadsheet" vi. Instead of having a single column for the tension and a column for the moment, the two values draw just alternately in a column (see attached picture.)

    Are there suggestions on how can I fix quickly and easily without having to manipulate the entirety of my simple vi?

    Thanks for any help!

    (I enclose an excerpt from my vi and a photo that shows how the parcel now data instead of how I want it).

    You have really connected to the ' write entry File.vi "transpose?" worksheet. Wire a fake to that instead.

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

  • 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

  • Updated in time real front panel

    Hello dear colleagues,

    I'm working on a program to test a printed circuit board. The problem is I want to show the progress of the test on the front panel in real time. Global variables found to be very useful, but they are not exactly what I'm looking for, since writing to the variable does not influence the indicators of reading instantly him (naturally).

    If the solution I provided is to have 2 loops: one where the subVIs and the subsubVIs are executed and write their date to the global variable as soon as it becomes available. And a second loop that runs at the same time and goes constantly date of the global variable to the indicators.

    However, this loop 2 solutions feels strange to me. Is there a better way to update the façade in real-time? Something like the pointers or references? I tried the nodes property and 'references' but they both work only locally...

    I wish all a pleasant day

    Tarik

    I usually have a loop which does no GUI: users by pressing the buttons/edit orders digital and/or update of the indicators.  So my trick is to use user events to pass data subVIs and loop parallel to the GUI.  The Structure of the event will see the event and you can just write directly to the terminal of the indicator.  It works very well and is much more scalable than the global method.  It is not also question, so you're not wasting CPU and memory resourses to update an indicator that has no real need to update.

  • That is to see in time real 4K in after, nvidia qaudro k5000 Titan Z or something else?

    That is to see in time real 4K in after, nvidia qaudro k5000 Titan Z or something else?

    My PC is X - 99, i7 - 5820 k, 64 GB, raid0, SSD...

    best,

    In it's current state given after effects is mostly from the CPU then graphics cards make little difference in performance. Adobe usually (but there is no guarantee) announcement of updates at NAB tends in a few weeks, so I would hold off buying new hardware, including expensive equipment, until you see the new requirements and dates for new versions of output.

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

  • History of Firefox opens the 'time' as well as the date; How can I make my story show 'time' as well as date, etc. ?

    I would check my story for the time of day, as well as for the date. This is a feature that is common? How can I configure to work indicating the time, as well as, the date? Thank you.

    If it's a history item to the current day, then you will see the time and not the date.

    You can show more columns in the library (history > show history)

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

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

  • 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

  • the time display of the data stored in a file using Labview

    I saved data in an Excel file but I donnot know how to display the time recorded for each data. I would be grateful if you can help me.

    Thank you very much

    Sincerely,

    Nehemia Elvis

    Hi Matt,

    where do you have problems? You have already saved time and you only write in the file?

    Mike

  • compare the time while ignoring the date

    I have this...

    "In the beach?" is always false no matter what that right now. I guess it's because the date is included in the comparison function.

    I need to compare these time and ignore the date. I can't find a way around it. The time will be the same every day and I would like for them

    to be one of the constants.

    Any help?

    Thank you.

    Try formatting the date in a string that does not include the day (only the hours and minutes).

    Tim W.

    Engineering applications

    National Instruments

    http://www.NI.com/support

Maybe you are looking for