Real-time data display

Hai guyz/galz. Im just a beginner start in the field of labview. I just started to design a temperature measuring VI and Im having a problem at the moment which is I cant seem to leave when I press the QUIT button the VI if it is running unless I have SRP the STOP button. Apart from that every time I press STOP the VI and you want to start OVER, I can't too much resume. I apologize for this trivial question of mine. Any pointers appreciated wil.

Here you have a fundamental misunderstanding. Learn the fundamentals of LabVIEW and data flow means (LINK). Your outside, while the loop is polling your CPU while it is waiting for the user to click on the Start button. Put some time here. In the block diagram, I don't see the physical channel info to put in place the DAQmx. When your inner while loop has finished running, all you can do is to stop smoking. If this isn't a good way to do what you want. You also do not close your DAQmx task, you have no error checking.

Next, why do you want to enjoy your Probe temperature with frequency 1 kHz? I work a lot with temperature sensors, and it doesn't make any sense to me. What type of sensor are you using? In most applications, 10 Hz 1 or max is completely satisfactory (temperature sensors are usually SLOW).

Edit: of course, the story is different, if you have a noisy sensor, and you want to taste freq. higher you can do some kind of reduction of noise...?

Try something like this:

Tags: NI Software

Similar Questions

  • a pc with a stand-alone module, real-time can display of its own data

    Hi all

    It is sort of a basic question, and it's probably why I can't find the answer explicitly in textbooks or the forum posts.

    If I want to use a PC as a unit in real time, and I install the LabView time real OS on it and make an Application of real-time on another machine and compile it in the PC target in time real LabView, can I attach a monitor or a kind of screen directly to the PC unit in real time to display some data I need?  Or do I still need a Labview PC to act as a host for display data and interface with a user?

    Thanks for the info!  I have some experience of labview, making some other applications but I have never used the RealTime module yet so I don't know much. So if there is a good place for more information in time real LabView for use a PC as a device target, which may also be of interest and would be appreciated!

    Thanks again.

    Steve

    Hi Steve,.

    Our objectives in real time are designed to work in headlessly, which means that they are independent and have no user interfaces.  It comes to screens.  For a display of information, you must use a host VI, on a host computer. There are several ways to move data between a target RT and a host PC including, but without limitation, TCP, UDP, network flow, published static Variables of network and Web Services.  These are all covered in documents on best practices.

    Here is a page real-time best practices:

    http://zone.NI.com/reference/en-XX/help/370622J-01/lvrtbestpractices/rt_portal/

    Here's a page on the conversion of a desktop computer to a target RT:

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

    Good luck with your project.

  • How to read data from a worksheet to a chart in the form of wave at intervals to simulate real-time data

    Hi I have measured data using a SELF-DIAGNOSIS device and that you have downloaded the log files as a .csv I have attatched below.  I'm trying to read the 7th column of data (RPM) and display it on a waveform graph, read line-by-line to simulate driving real-time data. The interval between readings, I'm trying to achieve is 500 Ms because it is the time interval of readings on the worksheet. I'm finishing the two loops when rpm is equal to zero, as happens when the car is off. I have attatched the relevant section of my program below. Any suggestions would be greatly appreciated.

    Thank you

    Michael

    There are two errors in your block diagram.  First of all, as you read the entire table 2D in all at once (which is fine), you make a clumsy (pardon my language) job to make a line of programming.  Once you take the first line of headers, you have the ideal substrate for a loop, which is made of elements of an array (lines) process, one at a time, using its tunnel of indexation.

    The second mistake is to forget data flow.  The loop, I mentioned, or the While loop you use, produced one at a time and points it at 2 Hz thanks to your expectation of 500msec.  You want to give each point to your chart, but the picture is out of the loop, which means that there is No point until the loop ends.

    Here's an easy Question - where you put the indicators in table of waveform?  [Council - I said that "outside the loop is bad"].

    Bob Schor

  • cumulative subtraction on real-time data

    Hello

    I'm new to LabVIEW and have a fundamental issue in the case. I am acquiring data on the frequency of multiple CHOICE which I want to treat in order to display the change in mass on a graph in real time!

    I have a formula that says f1 - f2 = const * dm (dm is the change in mass)

    So I want to calculate f1 - f2, f2 - f3, f3 - f4 and so on... I know the concept of shift registers, but am not able to implement in my circuit

    I have attached the VI. Please guide me.

    Thanks in advance!

    Hi netra.

    'circuit' is called "block diagram" in terms of LabVIEW! It is a programming language and no designer of electronic circuits...

    In your VI I place no 'f', 'mass', 'frequency' or 'Multiple CHOICE' indicators. It is really difficult to follow your VI when your description does not provide any useful information.

    Create a shift register in your loop. Store the current value in the shift register. A subtraction to calculate the difference of current and previous value:

    The same solution is displayed using a feedback node instead...

  • Update of the pixel in real-time data

    Hello

    I look at the options for the implementation of a real-time filter feature in photoshop, and I would like some opinions on implementation strategies.

    Basically, I want to update the contents of a layer (lets call it B) when the user draws another layer (lets call it only A), such that the contents of the layer B is a function of a.

    This task will be possible using the functionality exposed by the Photoshop SDK?

    Cordially Toke

    Theoretically, it could be doable, assuming that the tool used to change events appropriate b triggers (only not all tools, unfortunately) AND your A layer updates can be performed without disrupting the work of user b. What you need to do in this case is to implement a plug-in automation based on the earpiece of the SDK samples that would monitor events. At the event you determine the layer to activate it in your code C++ and if B then update has. The problematic part here would be whether you would be able to change the current layer in a way that is not interrupting the work of user b (for example, you probably wouldn't occur a change b to change the current layer to A, which would cause the focus jump to A and then go back) and it would depend of the type of changes you want to.

    It would in any case, the branch, I would like to take here.

    HTH

    Ivar

  • Unable to see the real time data to display for an access database



    I am using the following:

    ASP.net c#
    Server 2003 Sp2.
    PS CS3
    Access db

    I am trying to connect to a 'local' database on my server.
    I use the database connection string"

    Provider = Microsoft.jet.OleDb.4.0;
    Data Source=C:\catalog\Catalog\files.mdb;
    Persist Security Info = False
    OLE db connection

    While in the data link properties window, the connection is successful, but in the ole db connection window I get "an unidentified error has occurred".

    If I just press ok I can't see one of the table in my db.

    All I want to do is to configure the display of live data

    Thanks in advance for your help.

    "madhooper" wrote in message
    News:fcc6vt$JD6$1@forums. Macromedia.com...
    >
    >
    > I use the following:
    >
    > Asp.net c#
    > Server 2003 Sp2.
    > DW CS3
    > Access db
    >
    > I am trying to connect to a 'local' database on my server.
    ' > I use the database connection string.
    >
    > Provider = Microsoft.Jet.OLEDB.4.0;
    > Source=C:\catalog\Catalog\files.mdb data;
    > Persist Security Info = False
    > ole db connection
    >
    > While in the data link properties window, the connection is successful, but
    > in
    > ole db connection window I get "an unidentified error has occurred."
    >
    > If I just press ok I can't see one of the table in my db.
    >
    > All I want to do is to configure the display of live data
    >
    > Thank you in advance for your help.

    You have configured your server to test?

    Set up a test server
    http://livedocs.Adobe.com/en_US/Dreamweaver/9.0/WSc78c5058ca073340dcda9110b1f693f21-79e0.h tml

    Preparing to build dynamic sites
    http://livedocs.Adobe.com/en_US/Dreamweaver/9.0/WSc78c5058ca073340dcda9110b1f693f21-7a31.h tml

  • How to measure and mark the value of real-time data?

    Hello

    I need to measure and trace in time real RMS value of EMG power. I did a VI. But I don't know why it didn't work. Can someone help me please? My VI is set in 2013 and 2011 both version. An example of data is also attached. Thanks in advance.

    Taslim. Reza says:

    I tried RMS PtByPt VI. But it has not been wired because the source was table 1 d of double and double sink.

    Well, ptbypt tools affect only one value at a time, so you must place them in a loop FOR. Here's how.

  • Is it possible to push real-time data i.e. emissions live a cms websites to a form within a dps field

    I work a DPS for a company that wants to be able to continualy updated news directly on its website through its cms and at the same time as the live data update in a filed or form in his DPS.

    The customer Web site / cms is built by our care in Coldfusion, if that helps.

    Is this possible?

    If your site is working properly on devices (iOS and Android) browsers, you can view the same content in DPS folios as an overlay of web content.

  • Real-time data

    Hello

    I have a site in Flash, and I load the data of XML with urlLoader. If I change the data in an XML file, refresh doesn't update the data in the site. I need to publish it again! How can I make it automatic, I only need to refresh when data is changed? I can not allways publish when I change something in an XML file.

    Usually, if you add a random variable to the url for the file you are loading, it loads from the server rather than your local cache.  If the application is open when you update the xml file, then you need to have the file continuously reload the xml data in order for an update are displayed.

  • labview real-time clock display

    Hey dude, im doing a project on labview that I just want to make prettier for the speaker

    is it possible to add a clock to the façade that tell time, ideally in format:

    any help welcome

    Thank you

    Kevin

    Pretty cool Tim.  Here is an old floating around, I got that has a neat wooden face and the code is really simple.   It is in LV10.

  • Create a button to erase/reset the data displayed in the graph

    Hello

    I'm new here and to work with labview. I searched the Forum but have not found an answer that would help me (or at least I think I thank)

    I'm working on a project to acquire process an ECG signal with an acquisition of data. In the front panel, I am trying to display 2 graphics, part of the real-time data display and the other showing all the data acquired up to now. I wanted to add a button to this second graph that, when the user wanted, deleted the data shown in the graph, but immediately continued to display the data.

    (trying to make me more clear)

    ' display all the data acquired--> X--> cleans graphic display--> press the button display all acquired data.

    If someone could help, I would be very grateful!

    Thank you very much

    FM

    Hi fred,.

    Open the finder example in LabVIEW and locate the example of 'how clear diagrams & graphics '.

    Pretty easy, don't you think?

  • Refresh the data in the dashboards in real time

    Hello

    How can I see near real-time refresh data in dashboards OLIVIER?

    The data scheduling ETL overnight posted one day ago.

    Concerning
    Naeem Akhtar

    Hello

    In order to show the new data in the dashboard (not memory cache), we're going for querying the event table.

    Using pooling of events will run the incremental load to display real-time data?

    No it dosent run any incremental charge, he is serving the cache to show data in dashboards

    Go through below guide which will help you out-
    http://docs.Oracle.com/CD/E14571_01/bi.1111/e10541/querycaching.htm#i1005513
    http://gerardnico.com/wiki/dat/OBIEE/event_table

    Kind regards
    Srikanth

  • Continuous data acquisition and real-time analysis

    Hi all

    It is a VI for the continuous acquisition of an ECG signal. As far as I understand that the analog read DAQmx VI must be placed inside a while loop so it can acquire the data permanently, I need perform filtering and analysis of the wave in real time. How I implemented the block schema means that data stays int the while loop, and AFAIK the data will be transferred on through the tunnels of data once the loop ends the execution, it clearly isn't real-time data processing.

    The only way I can think to fixing this problem is by placing another loop that covers the screw scene filtering and using some sort of registeing shift to transmit the data in the second while loop. My question is whether or not it would introduce some sort of delay, and weather or not it would be supposed to be the treatment in real time. Wouldn't be better to place all the screws (aquicition and filtering) inside a while loop? or it is a bad programming practice. Other features I need to do is back up the data I na file, but only when the user wants to do.

    Any advice would be appreciated.

    You have two options:

    • A. as you said, you can place the code inside your current while loop to perform the treatment.  If you're smart, you won't need to put one another while loop inside your existing (nested loops).  But it totally depends on the type of treatment that you do.

    • B. create a second parallel loop to perform the treatment.  This would be separate processes to ensure that the treatment is not obstacle to your purchase.  For more information, see here .

    Your choice really depends on the transformation that you plan to perform.  If it's much the processor, this could introduce delays as you said.

    I would recommend that you start at any place in the first loop and see if your DAQ buffer overruns (you can monitor the rear of the buffer during operation).  If so, you should decouple the process in separate loops.

    In what concerns or not ' it would be considered as real time processing ' is a trick question.  Most of the people on these forums say that your system is NEVER in real time because you're using a desktop PC to perform processing (note: I guess it's the code that runs on a laptop or desktop?).  It is not a deterministic systemand your data is already "old" by the time wherever he leaves your DAQ buffer.  But the answer to your question really depends on how you define "real time processing".  Many lay it will set as the treatment of 'live' data... but what is "actual data"?

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

  • 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

Maybe you are looking for