Do curve a real - time of the linear adjustment computed

Hi, here is how my program works:

(1) plot data read from a file

(2) user can move the sliders to select a range of data

3) allows users to choose the scale with control 2 Y (Y minimum and maximum)

(4) make a linear adjustment of certain data in real-time and gives the results.

And there's no problem, I asked the graph xy of a while loop in which I drove

(1) the function of fitting (selection of data to 2 inhabitants variable (cursors)) and table functions

(2) local variable 2 (write) to adjust the scale Y with the number in the control.

Data and sliders move user appear, all right.

The problem is that I want to draw the fitted line of the xy-graph, so I did 2 x 2-number-table (with x = 0.1 and y = intercept, slope + interception) and...

I must establish xy-curve in real-time to the Assembly line to refresh on a cursor move XD

So I put the chart at the time, and I traced it each time the moment of the cycle (I used a condition with shift register to skip unnecessary calculation).

And here's the problem: when the xygraph is traced the scale there is the default. A few ms then the scale will have correct (when the program has wide are the values of controls).

Is there a way to avoid that the graph will go to scale by default when it is drawn again? Or is it possible to trace the line of editing without trace all the xy graph?

Thank you

PS: I tried to put a sequence stacked with paint 1) graph 2) scale but cen see you in any case the flash of the scale Y incorrect

I think all you need to do is disable autoscale for axes.

Overall, there are a few very complicated and very dangerous built code. Here is a small sample (are there many, many others!):

The code on the left can blocking the program, for example if the data are all zero. Why is there a local variable? thread just from the source, it is just there! What you probably want instead of these small while loops is the array of threshold function. No need to loop.

To write two properties, you use oven (!) property and three structures of sequence nodes deep stacked. Property nodes are running up and down, so all you need is the code below! Also note that 'table of index' is resizable. You don't need to wire the index unless you want something special.

Tags: NI Software

Similar Questions

  • Get the frequency of a graph in real time of the waveform trace

    Hello

    I want to get the frequency of the graphics path in real time. The data comes from a connected to an Arduino UNO ADXL345. I use LINX to read data.

    I separated given x, y, z in order to plot separately and later to get their respective frequencies as well.

    Here is an excerpt of my VI as well as the front panel.

    I used a the Measurment file for each axes entry so I have a copy of the data.

    Before posting, I tried the LabView Spectral tutorial first. But it's different from what I want to happen because you know the exact frequency in this tutorial.

    I have also attached my VI.

    Thank you!

    If all you want is to know the spectral content of a signal in the time domain, there are a number of examples show how to do it. I would start by looking at the functions of the FFT.

    Mike...

  • Look at a FPS in real time of the events of several IPS devices

    What is the best strategy for the display of the IPS in real-time of the events of several IPS devices now that VMS filed end of LIFE?

    There was a nice view unique of all IPS events from all IPS devices run in VMS and I was wondering where I can tell people to receive the same information on their networks. I do not see in CSM and I do not think that they will find in MARCH. Please notify and correct me if I'm wrong. Thank you!

    You can use VEI. It is an observer of events that has a dashboard in real time also. You can import several sensors inside and view the events in real time.

    Link to VEI to 5.x versions:

    http://www.Cisco.com/cgi-bin/tablebuild.pl/IPS-EV

    Link to VEI to versions 4.x:

    http://www.Cisco.com/cgi-bin/tablebuild.pl/IDs-EV

    Kind regards

    Maryse.

  • RAM Preview plays is not in real time on the new Macbook Pro

    Hello world

    I have problems getting after effects to play the video in real time in AE CS6. I use a brand-new Macbook 2015 Pro 13 "retina with a dual core 3.1 GHz processor Intel Core i7 and 16 GB of RAM. I just made sure my copy of AE CS6 is up-to-date with the latest updates (11.0.4.2), and yet I am unable to read the video or animation in real time using the RAM Preview to any size greater than 25% in the Viewer.  If I try to play a video clip of 29,976 fps, the framerate tops out at about 17-18 frames per second. When I press 0 for the RAM Preview, it starts caching the images such as normal, but even after a loop continuous cadence comes not near real-time. The audio plays fine, but the video starts immediately behind. I can't even a scene of simple great test of a form of retouching layer move on the playback screen in the real time RAM Preview.

    That said, I can get it to play in real time if I reduce the viewer up to 25%. But obviously, I won't be limited to work in quarter resolution on a new laptop. My last Macbook pro from 2008 and completely across the well treated RAM previews, being able to cache images and play them back in real time without problem.  I have to assume that there may be a function that I'm missing or something goes wrong, unless I just grossly overestimated the capabilities of my new laptop.  But surely, it should be able to manage simple video playback. I had no problem using first on this computer, then it can of course deal with the video.  Any help you can offer would be much appreciated, because this problem becomes really frustrating!

    Just for fun, try the trial of CC 2015 and see if it behaves correctly.

  • iPhone download videos in real time with the company data?

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    Alexander.Carpenter wrote:

    How to set up my iPhone 5 to download videos in real time on my iCloud account using the data of the company (and WiFi, too)?

    iCloud photo library - Apple Support only works when the two is connected to wifi, no cellular data.

    Read here's how it works.

  • Get strange errors 'real time' in the browser console, what do mean?

    I noticed recently that since yesterday is the day prior to that, I get a strange 'real-time' error messages in my browser console log. I get them for more or less the same sites, and I have attached a screenshot of some of the most common mistakes for example. I see these errors very frequently in the browser console log.

    So I'm a little worried about what mean these errors, why I want to come and if anything, what to do about them.

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox is open, you can restart Firefox Safe mode in the Help menu:

    • Click the menu button

      click Help

      then select restart with disabled modules.

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.
    • On Mac: Hold the option key during the startup of Firefox.
    • On Linux: Exit Firefox, go to your Terminal and run firefox-safe-mode
      (you may need to specify the installation path of Firefox for example/usr/lib/firefox)

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • launch of LV in real time on the target programmatically

    I'm new to LV in real-time, we are developing drivers for a bus controller in real time (I've already coded normal LV using UIBC pilots) and I am trying to achieve the structure for the execution of the samples. My first thought was to have a directory of the samples on the RT target and have a "table of edge-like" LabVIEW interface on the host that would launch the sample on the remote target. But as I read on in real time, it seems that the apps are not stored on the target, but simply run on the target at the launch of the explore (?) project. What is the code (VI) downloaded to the target whenever a program is run?

    Is there a way to download and run a VI on a target of a diagram of block LV programmatically?

    thanx

    lmd2

    lmd2 wrote:

    Thank you, but just to get me it's OK:

    When you launch a VI from the Project Explorer, it is downloaded into the memory of the RT system.

    This remains in permanent memory - or is it re - downloaded every time that it is run from the Project Explorer?

    It remains in memory until you restart the RT system or download the other screws from the Project Explorer. To simply run it several times (without modifications) should not be re-uploaded.

    To start the screws on the RT of the Project Explorer is really nice for debugging or testing, but if I understand your needs isn't really the way to go.

    For example, you can have an application that is started automatically on RT target that communicates to the host via TCP/IP. The host can request this request that samples are available. Then, the host can send a command to initiate a sample. The application of the RT will then call (dynamically, i.e. the local VI server) the corresponding sample of VI.

    Hope this helps,

    Daniel

  • Torch: OpenVG will increase the speed in real time for the scaling\rotating image?

    Hello!

    I have such a problem. I need to view the satellite map (not vectored) with the possibility of scaling on in real time. Map is a bitmap either 1500 x 1500.

    I'm doing the scaling that requires 480 * 360 for operations return the second part of the map on a defined scale, but it is not enough - it is slow to make good zoom in real time.

    Maybe someone knows is it possible to increase the speed by using OpenVG? (OpenGL is not supported in the torch)

    Thank you for your attention.

    Realization of OpenVG for play ~ 1500px x 1500px images, rotation & them staggering realtime works pretty fast.

    So if someone needs of fast image processing to use OpenVG

  • Back to cache a sequence the old way. not in real time during the introduction of the cache

    Hi supports,

    I have problems of my sequences caching. As long the AE is always rendered images my reading is never in real time, it will be stutter audio until operations complete are cached. Makes me and my clients go nuts, so every time I want to playback of a composition, I manually turn off the audio, the cache of the sequence playing, which makes them note every time, "Oh a little slow" and "There is no sound" etc and I have to explain that his not playing not, just cached.

    I went back to the old way: Cache first before reading. The real-time playback + caching does not work...

    Also the 'working area of the Cache in the background "has disappeared... Why?

    And Im working on fast mac:

    CPU: 2 x 2.4 GHz Quad - Core Intel Xeon

    RAM: 48 GB 1066 MHz DDR3 ECC

    Boot SSD disk

    FusionIO Cachedisk

    My support is on a fiberstorrage Facilis (4K DPX real-time playback)

    If you have present clients, I totally recommend cache before play (like the old RAM Preview) option. Unfortunately, you can not have cache in the background (yet). I've linked the explanation in my response to your other post.

    Have you seen the preview videos or all the videos of NAB? The next version of AE wants to focus on the stability of playback, speed, etc. so it could get a little better. Acceleration using GPU for some effects (finally!) makes a big difference!

  • Visibility of control to report in real time through the portfolio

    Hello experts,

    We were able to restrict visibility time real report using business book?

    We understand that only 'historic report' adjustable visibility user per book, but do not know if this may apply to all time real report as well?

    In the affirmative, please can you allowing me to implement?

    Thank you, SAB.

    Hello Sabrina,

    We have the same needs on our project.
    You must put 'Visibility team' on the area parameter topic report and "visibility" on the setting not subject to changes histroical on user page of details you want to use the functionality of book reports.
    However, we have a strong need to use the book on relationships with the parameter 'Visibility Manager' (pipe needa followed in statement, but we are not sure it's possible wihtin the actual release (answer expected SR))

    Concerning
    Mehdi

  • Controls in real-time for the cRio

    I use a cRio 9074 sinking a sensor and to acquire data from ADC module.  I store this data from a DMA FIFO in a table on the RT.  I need to change my detector running program, so I need to change the control on the RT variables after it is deployed from my host PC.  Is this possible?  I also want this picture to be feeding continuously, but I want to be able to pull the data on my host PC from time to time.  What is the best way to do it?  I was trying to use shared variables, but I was getting an error (error-1967357949 cannot request measurement and automation to the shared Variable engine.  Make sure the shared Variable engine exists on the target of RT and verify that the network connection is valid").

    Shared variables are the way to go on this.  Reading http://www.ni.com/white-paper/4679/en should help.  Try the manual deployment of your SV engine to the cRIO in the Project menu.  Your cRIO has the shared variable software installed?  You can check through MAX.

  • data acquisition in real time using the module sim900d (not arduino0

    Hello

    I'm doing my final year project. I'll send the data from a remote location using sim900d for the other module (sim900d) connected to my laptop. Now, I need to import data acquired through sim900d connected to my laptop in Labview. But I don't know how. Kindly guide me

    I looked for it and thus to find a link that uses the serial port to send to commnads

    http://www.codeproject.com/tips/583315/using-SerialPort-and-at-commands-for-querying-cell

    so now send orders AT serial number is easy. first of all examine the emitting part. for this you need VI config series VISA and VISA series write VI. You can serach these VI by right click I your new VI block diagram and press search on the top left corner. Here you type the serial port and you will get a list of the VISA series live.

    Here is also a link to or

  • Construction in real time of the table and the data tracing

    Hello

    I have a project in which I am waiting for a message from the chain coming to my serial port that contains two parameters of a voltage sensor compared to the position

    I will then draw two parameters for a XY chart as they arrived at my port to build a chart that is continuously updated with all the points came to the COM port (all from the position of the reading pressure readings).

    I know that to draw the two parameters against each other that I must use the XY-graph and for this, I have to insert my data in the tables first and then give them to the chart.

    The problem is that the message of the series is not at fixed intervals (for example a message now comes, the other may be after 1 minute, then another after one half minute.. .and so on). and the chart should be updated with the points once they arrive (in addition to displaying the previous points too of course).

    I don't know where to start! can someone put me on a track for it?

    Note: I have no problem with the interpretation of the data series, at the end I will have two numeric values which I'll then draw against each other

    Thank you

    One thing that I had not noticed before on your VI is that you use the wrong function when generating data in your table.  You should use table to build.  No insertion in the table which is more intended for stuff that goes in the middle of a table.  And the way you use it, you insert in fact data at the beginning and not at the end.

    I don't know what you have tried and why you think that the circular buffer is not what you want to do.

    Take a look for a function called data queue Pt by Pt that effectively does what you want.

    I will attach a Subvi I used.   I changed it to something that I found.  I think I found somewhere in LabVIEW itself, or an example, maybe the forums, but I can't find the original source.  And I don't see in the comments of the VI. (If anyone knows, please comment.)

  • updated in real time of the values when a check box is selected

    Hello
    I have a form with elements of the address

    Physical street address, physical city etc etc.

    I have also the same for address Street, city ett etc. on the same entry form

    I want to include a checkbox which when selected fills the values of the mailing list
    list physical values. The box would be as ' select this option if the update to the post office
    the address is the same as the physical address '

    I know how to do this with a process and send the page. May I, however, when the box is
    selected, or at least define the display attributes for read only for items in the mailing address of the box is activated?

    Thank you very much

    Steve

    Steve,

    No problem.

    $x is a wrapper for the APEX to document.getElementById () JavaScript; It's a heck of a lot easier to simply use $x vs the longer string. Please keep in mind that it will be only when you include the JavaScript libraries of APEX, which, by default, are included with each page APEX.


    What about a book, Yes, I can offer a: Pro Oracle Application Express (http://www.amazon.com/Oracle-Application-Express-Experts-Voice/dp/159059827X) Chapter 8 covers Ajax Javascript, & this is where I would start.

    There are also a lot of other online resources, including this Forum, that can help you learn how to use JavaScript & APEX.

    Thank you

    -Scott-

    http://spendolini.blogspot.com/
    http://sumnertechnologies.com/

  • Implementation of the linear adjustment between two sliders

    Hello

    I'm trying to implement a linear between two sliders fit as I am with altogether 4 sliders. I want to implement an adjustment linear between slider 2 & 3. Please help me how to implement and to find a slope. I also enclose my code.

    Hey Brad,

    Saw that you contacted me then here is the solution.

    In fact Cameron has already mentioned the solution above.

    In any case what it what it should look like when you implement it:

    Note: The while loop is just a claim that the output are not in the right order.

    Koen

Maybe you are looking for