Display data in real time on a field in a sub VI and VI main


The LabVIEW program is based on the FLOW OF DATA, now, until the Subvi ends execution (while the loop stops), hand VI execution will not conduct everything again.

If you can pass the reference to the "XY graph" inside the Subvi, you will be able to update the plot (placed on the HAND VI) from within the Subvi.

Find attached example for your reference.

Tags: NI Software

Similar Questions

  • NO 6356 captured data in real time?

    Buenas tardes the comunidad has NEITHER.

    Bueno esta are mi segunda pregunta one NOR photos of Lola gracias por the colaboracion, realmente me colaboraron muchisimo en mi pregunta anterior hasta resolverla.

    Quisiera saber if con tarjeta NI 6356, are el device than hasta el momento estoy operando is can capture data in real time of forma continued, hasta el momento con the the logramos get comunidad ayuda a LABVIEW medio por programa captured datos por 2 minutos consecutive, a una frecuencia muestreo 1 MHz. Adjuntare el programa as estoy manejando hasta el momento , pero me gustaria saber if hay forma Quebec capture the information of manera continued, y poderla stop in el momento deseado, el realmente real programa indico cuanto tiempo pero su limit son 2 minutos mas tiempo types capture a message indicating that sober paso the capacity of memoria interna.

    MUCHAS gracias por su Atención y knew tiempo, igual seguire realizando the tests, TR black find alguna mejora posteare o tr black resolverlo. MUCHAS gracuas a todos espero than me can help.

    Carefully,.

    Andres Saavedra


  • Data in real time to table

    Hi all
    I am trying to create a spreadsheet of the 500 columns and 1000 lines.
    My program consists of real-time data streaming via the com ports (VISA), running in a continuous loop. I was hoping that someone could help me with the following:
    (1) how to convert point-by-point of data in a table format?
    (2) how to put in place the iterations and loops for the program to collect 1000 samples of data and then move to the next column (switching 500 times columns)
    (3) how can I take my array 1000 x 500 and write it to a spreadsheet?

    Most of the examples that I find to create rows and columns of the tables use random number vi, incorporated into the INSIDE of a loop for, and then auto-indexation it. However how I incorporated my data in real-time (within a while loop) in a loop for (that's why I'm unable to follow these examples).

    I'm new to LabView fairy. I would be great if someone could help me because I've tried countless ways to create my spreadsheet.

    Thank you!

    Would be easier to collect the data in a table 1 size d 500000 (= 500 x 1000). Initialize an array 1 d of this size and the correct data type and use it to initialize a shift of you register acquisition loop. With each new data point, use 'replace the subset of table' to replace the actual data based on the final iteration. When the acquisition is done, reshape the array to 500 lines. 1000 columns and write it to the file (using for example write to the spreadsheet file).

    Why do you use a while loop. Apparently, you know the number of iterations before the start of the loop, a loop FOR would be more appropriate (you can view the conditional terminal to stop earlier if necessary)...

    Be aware that it is expensive large format paintings. Unless the ihe file must be imported somewhere else, I recommend using binary files.

  • Taking the average of the data in real time

    Hi all experts!
    I am a new Member in labview. I have a "stupid" question that takes a lot of my time. Please help me.: mansad:
    The problem is that the way to take the average of the data in real time. For examples, firstly take averages of 100 samples and then then wait 100 samples and averaging them and so on...
    In any case, thank you very much! : manhappy:

    Hello

    Maybe this will help you...

    Kind regards...

  • storage of data in real time by program

    Hello

    I tried to solve this problem for a while now and it seems to be no similar examples out there. I'm trying to store data programmatically, firslty by pressing a switch when I want to start taking data and pressing the same switch when I want to stop and save the file. I created an example VI that demonstrates what I want to do; Generate sine wave function inside a while loop infitnite represents data real time acquisition, the other while the loop opens the file and saves the data until the data switch save is pressed again. The file is closed after the loop at the end of execution.

    I did not get this works and if I was hoping if someone could point to me where I went wrong.

    Thank you

    Tip: In programming, always keep the window open context-sensitive help. When you have a problem as the thread cut in the loop of the producer, hover over the wire with the wire tool, and the help context window displays a description of the error. In your case it is said: «Broken wire...» You have connected the two terminals of different types. The type of the source's Waveform (DBL). The type of the sink is a table 1 d of Waveform (DBL)."

    The solution is to make two identical data types.  If you will use multiple channels for your actual data, a table of waveforms (a wave by channel) can be appropriate. If you use only one channel in your VI test, simply use the data type of waveform. The image below illustrates two methods.

    Also, you need not wait (ms) in the loop of the consumer.  The Dequeue function will wait until he has given, and then run.

    Lynn

  • Need help on client requirement - correspondence with dynamic reference data in real time

    Hello

    Please help me with the corresponding real-time customer's requirement.

    I've been through time real guide- real time corresponding

    Who are there are two ways to do real-time corresponds according to the given URL.

    1 - prevention of real time duplication

    2 - match of real-time reference


    Now guests feel difficulty to go with approach 1, which is demanding a better interaction between the application UI and OEDQ (developed in JAVA). They are not agree with solution 1.


    Now approach 2 is ok, but the reference file change dynamically through this UI application, now I need update OEDQ reference data respectfully change data, but this will require downtime of the web service and re-read that take about 10 min (700 K records).

    so, what could be the solution for this scenario?





    Hi Mike,.

    Thanks a lot for your fast turn around.

    Yes, I agree but not ready to implement the first solution, then I'm left with the second client option.

    So, what could be the tactical solution more this situation coming?

  • is there such a thing as a way to a bar chart changing automatically as data in real-time changes

    Do not know if it exists, but I have a client who active data that he wants to represent with a graphic barcode equivalent evolving: as numbers of real-time data he wanted the chart bar to change as a result, nobody knows if theres a way to muse or with a widget to offer something like this as a representation of numbers in real-time? Any advice would be appreciated... Thank you!

    Hello

    Did you try Google Spreadsheet and embed the chart in Adobe Muse. I guess it must meet the requirement.

    You can learn more here

    Create a table or chart - publishers help Docs

    Here is a screenshot, what it looks like

    Here's a video how to incorporate the graphic of your site in Google spreadsheet

  • DATE in real time format

    Hello

    In the reply of the Disqualification Webservice, all the DATE attributes are joined with timestamp "T00:00:00.000Z."

    Can do us somehow DATE attributes have no not this time stamp? It is originally of the correspondence downstream of siebel systems issues.

    Thank you and best regards,

    Ravi

    Hello

    The attributes of 'DATE' formal in Disqualification are the date and time. If you want dates without the time element, you will need to change the web service (and the data interface) to use a string attribute and convert dates into strings in your process before them by mapping.

    I suggest you simply add a new attribute rather than deleting the existing one.

    Kind regards

    Mike

  • Reconciliation Tables Aplication of data in real time

    Hello.
    Is there a way to get reconciliation approved the application of real-time database tables?
    I mean, if I add/update a row in a table in the source of confidence, some kind of agent called an API in IOM that gets added/updated line to update (and creates the user)

    Thank you.

    DBAT connector will not fill your requirement.

    Please see the link below. It can help you in the development of what you want. You can call any API Recon IOM by DB Trigger

    http://www.cs.UMBC.edu/Portal/help/Oracle8/Java.815/a64686/04_call2.htm

  • Display data in a dataset when a field is null in the other set of data

    Hi all

    I have a report where I need to show some of the columns of a data set(Ex: SsOpportunity)... when there is no data in a column (Ex: "Petrofac-ProductLine") in the other set of data (Ex: SsRevenue) in a single table. I have another table that displays data for SsRevenue when it some data in the column "Petrofac-ProductLine.

    The first table does not work for me. Please suggest me where to specify the condition.

    Thanks in advance,
    Imtiaz.

    Sent files

  • I get a message that my real time is not selected. I press 'Activate' and it stills is not correct the problem.

    Essentials microsoft security on my toolbar is shown in red. When I open it, it tells me that my real time is not selected and that I should turn it on. I press turn on button but it still does not correct this situation.  However, he told me that I am protected.  I've updated everything and I also ran a full scan but still does not help.

    Hi jomarie285,

    Uninstall and reinstall a new copy.

    Microsoft Security Essentials.

    http://Windows.Microsoft.com/en-us/Windows/Security-Essentials-download

  • How display you continuous data in real-time without sacrificing the functionality of control of users?

    Hello

    I created a vi (see table) that displays a signal when the user selects the start/stop button. The user can interrupt the signal by selecting the same button. "Gathering" and "stop collect" buttons each screen a message when selected, and the button "exit" to stop the vi.

    What I want to do: create a user will be able to start/stop the signal and be able to call the functions from the 'collect', 'stop collect' and 'Quit' buttons, no matter what state the start/stop signal is in.

    What is actually happening: buttons work if not selected in a specific sequence. For example, by clicking on the 'stop collect' button then the ' start/stop' button, the signal will not appear. But reverse the order and the signal is displayed.

    Why the loop containing the Simulator signal interfere with the loop that contains my structure of the event for my buttons? I'm using Labview 2013.

    No, this loop ends. In your diagram, it starts when your program does (although you should also press the start/stop button to generate data), and once he is arrested, there no way to start it again.

    Cameron

  • How to extract a D 1 waveform data in different channels to use for calculations on a page of data in real time

    Hi all

    I am a fairly new user to Labview and am trying to create a program that: watching the entries in different modules (9213, 9217) CompactDAQ sensors check errors and then uses data from some final calculations like averaging etc.  I've set up a small piece of code that includes the main functions that I am trying to accomplish.  Now I'm rather uncomfortable with getting set up and assigned channels, then pass these data in a while loop that continuously pulls the data from these sensors.

    I have the vi calculations complete and complement the inputs of channel UI, now, I'm working on the side of data manipulation and reading things.  The waveform D 1 who comes to read function is currently divided into components I want (given String Name and Y).  He then transmit this information out of the loop via a queue which transmits to the parallel loop below that will perform the verification errors and calculations of average.  There are some things that make it difficult. I showed the 2 sensors in my example, but in the actual program, there may be up to 400 entries.  The problem is that not all of these sensors will be used on all the tests that the software is used for.  To use the entries in the VI test for example: if I'm trying to the average of these 2 entries to create a common value, but then on a test, sensor 2 is not there, it must be recognized that fact and not use it in the service average.

    So to get down to it, I want to create something that can look through the D 1 waveform data groups, determine what these values are, then perform the functions necessary for these numbers once they are identified, then pass on the calculations of VI where it displays then usable for user information.  I think I'm having a problem with the finding in sorting than what I thought at makes me think that there must be an easier way.

    If someone has encountered this?  What is my explanation of what I'm trying to make sense?  Let me know and I can clarify.

    In terms of features, I don't see anything wrong. with respect to the effectiveness we must remember some general indications. These issues that I bring to the top will not affect your code now since your stack sizes are very small but can start to create the fragmentation of memory and slow down the software if your stack sizes are much larger and the software runs for a long period of time.

    1. try not to use the table to build. Whenever you use a table built labview creates a copy in memory. Try to initilized your berries and replace subsets.

    2. as much as you can try not index tables or unbundle cluster several times. try to perform as many tasks as possbile in one shot. (what was obvious in your second loop)

    In addition, he's looking good.

    I made a few changes to your code and attached to it. I wanted to give you a different on her opinion as it relates to being able to control entry and exit of programitically, if you had a look up table. I do not have the same changes to your second loop but I can guide you through what to do if you do not want to go in that direction. Yet once your original code is well done for someone who is new to labview, so don't feel you need to follow the new design of VI. Just try to remove the table construction and multiple indexing as a good habbit programming.

  • Variance of a set of data in real time

    Hello

    I'm continually acquire a set of sensor data through LABVIEW with a sampling frequency of 100 Hz (100samples per second). What I want to do is to find the variance of the data set every 0.1 s. Im collecting data of sensor acquired in a 1 d array 'SensorData '. Then wat I want to do is every time 10 new samples are collected, I want to find the variance. I tried to use the ptbypt of variance but it always returns a value of 0.0

    Your help is greatly appreciated.

    Thank you!

    Stéphane

    What is the length of the sample that you have specified in the Variance PtbyPt vi? Did you check the initialization status?

    Exactly how you call this Subvi?. To obtain a variance of 0.1 sec output, you can set the length of your sample to 10.

    Could you post a VI that displays this value?

    If you see 0,0, try to expand your digital indicator, there could be an exponential value at the end

  • TCP IP to receive and divide the data in real time

    I'm using labview 11 and I have a computer send data via tcp ip. The data string is like this P 22 33 44 P 22 44 66 P 22 33 11 P and so on are numbers between P x y and z co - ord, I need labview to receive this and separate each x y and z as separate outputs

    Two examples of analysis of some basic:

    The upper part is by using a regular expression, which is a lot more forgving the lower part that uses parsing the string. The analysis of the chain will work only if there is a space between the elements. The regular expression will work will allow multiple spaces.

Maybe you are looking for

  • Cannot delete a site from the semi-automatic entered url which is no more in history.

    -Very well, the first thing's first: there is a specific url that is no longer in my story, it's my fiance went to in order to watch his anime site. I cleared my history, downloads, caches, cookies, etc etc. The whole shebang, even made him "forget t

  • Fan noise L670-15 - overheating and strong satellite causing crash?

    Hello, my name is Maria and I'm from Moscow. I bought this laptop (Toshiba Satellite L 670-15) December 16, 2010, and from the beginning I had problems with it. Before that I managed to install all the programs, he said: "there is not enough memory",

  • Enabling access to outside SMTP server

    I've seen a Cisco Pix 501 and use it to access the Internet. It is configured to use PPPoE and is linked to an ADSL line. It works very well, however I'm trying to configure it to allow access to my internal mail server. I read this previous post: ht

  • Smartphones blackBerry curve 9300 as wifi hotspot

    Hello I'll be able to turn my curve 9300 to wifi hot spot and share the internet with laptop. If it works I can save money spend on broadband dongles... have no idea? Thank you

  • help with the form builder

    Fit, I have the edit button and its function is that when I press the button change go IDs (text_item) and run the querybut my problem is that when I enter text_item in any id it displays just first recordfor exampleWhen I enter id... 1 data displayb