How to force a refresh of the plot

I'm trying to load some data from a text file and it draw 2 different contour (3d surface plots).  Inevitably, the first time that I load the file after that I open the VI, crass conspiracy does not refresh.  However, the plot very well done.  I don't know if it's a matter of timing of the completion of all the data of the file loading, or what.  I tried to re-wiring son error to force the sequence and tried sequential structures.  Nothing seems to work and I can't find a control for me to force him to cool off.  Anyone know what could be going on here?  I have included the 2 required VI and an example of text file.  Can someone help me out here?

Thank you

Chris

Hi Chris,

I ran your code with the enforcement tool point high (light bulb next to the pause button in the run menu - sorry if I've just insulted your intelligence, but not sure about your experience with LabVIEW). I noticed that the variables local just outside the structure of sequence would first update with values 0.0 then the code could perform the function of file as well as the previous code dialog box this feature. Given that local variables were called first in LabVIEW and updated with zeros as opposed to data acquired from your text file, the result is a track of course empty.

When you run the code a second time, locals have since been updated with the correct values, which is why you get the plot.

I have attached a screenshot and a .vi of my suggestions for what you can do to ensure the update of these local variables at the appropriate time and allow the data to chart at the interpolation of course in the first run. I hope that this solves your problem. If this isn't the case, please let me know.

Also, I will take a lot of heat from other programmers out there if I did not at least mention that using multiple local variables throughout your .vi can be problematic in the sense that it can be difficult to properly manage the data flow and can lead to the frustration of troubleshooting. There are certainly better alternatives, but I thought you'd rather have a quick solution for now and worry not about cleaning up the code later.

Hope this helps,

Cory

Tags: NI Software

Similar Questions

  • How to force a refresh of the data completes for a client?

    Hello

    I need to be able to force a certain customer a complete of the downloaded data. I tried send him the 'Synchronize databases' command with a type "refresh Complete".
    It synchronizes, but if I go in the synchronization log, I see that only few records has been downloaded to the client when the full database is approximately 60,000 documents...

    Any idea?

    Thanks in advance!

    T.

    There are a few ways to do
    (1) server-side
    update of c$ all_client_items parameter crr for Y
    This can be done for all publication items associated with a publication, all items of a given user or on a basis of individual publishing point, so is flexible enough

    2) on the client side
    (a) as mentioned, removing the olb files (and the ODBC entries /) will force a rebuild, including a full refresh. This can be useful as a periodic maintenance as well, but to ensure what you do a normal synchronization beforehand so that you can without losing the data on the client pending
    (b) using the msync before synchronizing, select synchronization options, check force update and then sync. This should do a full refresh without having to remove the db files

  • Adobe Acrobat 9 Standard can still see my old scanner to install.  How to force it to see the new scanner to install.

    Adobe Acrobat 9 Standard can still see my old scanner to install.  How to force to see the new scanner to install?  Scanner is recognized by and works very well under Windows.  Acrobat, however, still see Fujitsu fi-6130dj #3.  I need to see Fujitsu fi-6130dj, which is what is listed in the Device Manager.  (Windows XP SP3).

    Thank you for your suggestions.

    To provide more details and list what has been done to solve the problem but it is perhaps a better way.

    Background.  When you install a USB to a PC device it is listed in the device as installed Windows hardware Manager.  If you take the USB port of any device and plug it into a different USB port on the PC the PC will install the drivers for this device.  In Device Manager, if you define a variable system environment for the Device Manager to show devices not present you can see all time this can happen.  In this case, there were five facilities in device for a single material element Manager, a Fujitsu fi-6130 scanner.  The first quotation was Fujitsu fi-6130dj, then Fujitsu fi-6130dj #2, Fujitsu fi-6130dj #3 and so on.  Adobe Acrobat was the third instance of these drivers being installed.  Once I've cleaned of all device manager Fujitsu scanner installed I was able to have a single set of drivers installed for this Fujitsu but Adobe has always recognized the third instance of the installation of the driver and I could not understand how force it to see what has been seen in Device Manager, a single instance of the Analyzer installed (with no #3 behind it).

    Steps to try to solve.

    Repair Adobe installation - no luck - can still see the #3 the scanner instance

    Disable, uninstall, reboot, reinstall, reactivation of Adobe - no luck, same behavior as above

    The complete withdrawal of all scan related to software.  This includes drivers for ISIS in Add/Remove programs and all other related software.  This includes also delete the contents of the TWAIN_32 folder located in the root of the Windows directory and also included the scanner the removal of Device Manager.

    Restarted.

    Reinstalled complete sets of these both TWAIN and ISIS scanners - scanner disconnected.  Powered by installing Windows scanner back and let the drivers for the hardware.  Only at this point don't have installed Adobe see the new installation of the Fujitsu scanner and is more looked at for the #3 scanner instance.

  • Submit the page (to force a refresh of the form) without performing any validation

    Hello

    APEX 4.2.3

    I am trying to refresh a form from a DA without performing validations.

    The form must be updated via a shipment (I think it's the only easy way to refresh a form) and return to the same page with the same record.

    Because the quote is initiated from a DA there is no option on the screen to disable the validations. Also if I do the same with apex.submit JS, there no option in the API to disable validation.

    Now, I get the problem with the date fields that are defined to have a minimum date value of + 0d (which you only enter dates in the future and also runs a validation if the form is sent with activated validations).

    Any ideas on how to present a DA without running validations (property of the page item) or refresh a form without submitting it?

    Concerning

    Bottom

    No idea why I have not the redirection of PL/SQL to work. I have tried almost anything but always ended up with parsererrors from the browser.

    Make (or almost) the same js while traveling:

    Redirect('f?p=&APP_ID.:11:&APP_SESSION.::no:::');

  • How to force line breaks in the RH9 glossary entries?

    Someone at - he found a way to do so that line breaks remain after generating the output? I understand that this is "ASCII text only" but even in a rudimentary text editor, I can force line breaks and insert characters extended like the bullets.

    Hello

    Because of the way this is implemented to WebHelp, it cannot be done. In AIR, don't know, but I suspect that it is the same for AIR.

    A better way would be to create glossary topics. Which removes restrictions on development in shape.

    Take a bow

    Willam

  • Force a refresh of the AdvancedDataGrid header

    I have an AdvancedDataGrid where I need to be able to programmatically cause a column header redesign. For the life of me I can't understand this. Basically, my scenario is that I want to meet an external event which will cause a header highlight. By clicking on the header is not an option in this case.

    The only thing that I found that works is casting dataprovider of the alternator to the appropriate type of view and calling to "Refresh" which requires the headers to redraw. The problem is that takes too long and are refreshing things which did not need. I want to make here only the headers.

    Any ideas?

    Thank you
    Joel


    I got it to work.
    Strawberry in the article on application GenericCheckBoxHeaderRenderer IFactory is unnecessary and confuses just things. As having a non-static member that creates itself is weird, because you would need to have an instance of yourself to create yourself. It is redundant. Except that it works. The trick is to understand that this technique replaces using a constructor for dependency injection. The downside is the introduction of verification errors since there is no possible runtime type compile-time type safety.

  • How to force Add URL of the proxy automatic configuration by using windows group policy

    I got an address Cap published by group policy and I would like to publish for Firefox for all client machines.

    You can try to contact Mike Kaply to see if he has a suggestion on how to proceed on this.

  • [Q] how to force a return to the line

    Hi all

    I have a really basic but also really frustrating problem. If I want to change the CSS codes and through the firebug I want to know the exact position (lines) of the code that I want to change. Dreamweaver won't let me not wrapped codes, so it will be shown correctly. Can someone tell me what I need to do?

    Bildschirmfoto 2013-04-06 um 2.29.12 PM.png

    Thank you very much!

    Kind regards

    T.

    Open the file in DW and use the icon Format Source Code (the one at the bottom of the vertical stack of icons) on the coding in Code view toolbar.

  • You can force a refresh on the photos?

    try to go low quality always high.  I made the change, but nothing happens. the thumbs are always stuck in low quality.

    In tools/cache/purge cache for folder xxx

  • How to force a refresh of container to fit to content?

    Hello
    This has been driving me crazy for a while.
    Example:
    < Panel id 'outside' = >
    < id of Panel "indoor" = >
    < textarea text = "blah blah blah" / >
    < / sign >
    < / sign >
    Above works fine, size of the outdoor unit perfectly content.
    But if the mxml begins with only the external panel, and then I add the internal panel as a result of some user event at a later date, then external panel is not resized to fit. It will be really small and simply add scrollbars when new content is added.
    I tried several combinations of the following on the different elements with no luck...
    container.invalidateDisplayList ();
    container.invalidateSize ();
    container.validateDisplayList ();
    container.validateNow ();
    container.validateSize (true);
    Do these things seem to have no effect. Arrgh... Help, please!
    Thank you

    I don't know if you are using the absolute layout, but that could cause problems. The attached code works:

  • How to force validation after lost the VPN connection

    Hello

    I did a lot of loading via a VPN connection. That lasted a few hours. Unfortunately the VPN connection has been lost. When you reconnect the VPN connection and connect in the scheme, I don't see all the data. Perhaps the transaction pending and was waiting to be engaged.

    Is it possible to tell the schema, "commit all pending transactions?

    Thanks in advance for any help.

    If your connection to the database has been lost, your session would have been rolled once the database realized he didn't have the client process. There was therefore no transaction on hold to commit at this stage.

    I don't think that there is a parameter that would indicate Oracle to automatically post transactions when the client process is dead - if there were, it would be extremely dangerous, since there is no guarantee that the data is in a consistent state to the point that the customer fails.

    Why are you doing a batch load via a VPN connection, probably from your desktop? Would be unwise to copy the data that you are trying to load a server in the same local network as the database and run the load it? In addition to being much more efficient, it is much easier to leave a job for some time on a server that it should keep a connection from your laptop computer for several hours.

    Justin

  • How to force the web client UI to refresh?

    I called enterMaintenanceModeTask to a vCenter server. What I want, it's just to see the task to display in the pane of the Web Client task immediately.

    Is there a way to force a refresh of the user interface of the web client. It seems that the interface user refresh only when you click the global refresh button or user performs an operation.

    > It seems that the interface user refresh only when you click the global refresh button or user performs an operation.

    That's right, the Web client is not ask vCenter constantly because it does not intensify and puts too much load on vCenter.  You must launch the operation on the Web Client or the global refresh button-click.

  • How to make graphic XY interpret several plots of a While loop

    I am a student of Georgia Tech researching prefabricated FETs, relatively new to LabVIEW, and I write a LabVIEW vi for the characteristics of output. Basically, a curve of Ids vs Vds with Vgs (curve tracer) evolution. I'm controlling a power supply via GPIB to bias the door while using another supply/power meter via GPIB to vary Vds while obtaining the IDs. My program is working as needed with one exception. After that I built my data table, my XY Graph interprets the data in the form of a plot and during the interpolation will connect all points of data together, as shown in the attached picture. I would like the chart to interpret the data in several plots in this way I can position the sliders along each plot for other parameters. I have also attached my vi if necessary. Any suggestions on how I can fix this?

    ~ jdamato3

    Because you know from the start how much data will be in the plots, you can initialize the structure of final data once before beginning to loops. Now, the size of the data in the shift register structure is invariable for the duration of the race. It's a good thing!

    In the previous implementation, each table grows with each added item, and given that the tables must be contiguous in memory, each culture operation is likely to require a new copy of the structure of the whole of the data in memory. The program will be spent most of his time to allocations of memory instead of actual work. (no much here since the tables are short, but imagine MB of data and it will become all very expensive and slow).

    Here is a modification of the example. (remember that the data containing NaN show on graphs, thus giving the desired effect).

  • I know how to force the Spotlight for re - index a drive or a folder. But how then do I mail?

    I know how to force the Spotlight for re - index a drive or a folder.

    But how then do I mail? I drag this file to the window?

    Thank you.

    Try re-indexing of mailboxes mailbox. This can take some time if you have a lot of mail.

    Reindex messages           For El Capitan, try looking in V3.

    Reindex messages (2)        See post by Linc Davis

  • How to force the compilation released executable before running the distribution of LabWindows/CVI kit?

    I am new in 2015 of the CVI. I used CVI 7 and when I chose "Create the Kit of Distribution", when I was still in debug mode, Labwindows asked me to build the executable of setting before creating the Distribution Kit. This does not happen to CVI2015, and the Distribution Kit is created with the latest built executable version, although I made a few changes in my code! This is a problem since I work in debug mode and I usually forget to build the executable of liberation before calling the distribution kit, so I need CVI to do it automatically like CVI 7 did. I suppose that there is an option to do this, but I can't find. Can someone tell me please how to resolve this problem and force CVI to build the exe version before building the distribution kit? Thank you.

    Today, I've solved quite simply create a new distribution. The previous like unsing was automatically imported by CVI7 project. By creating a new distribution, now when I change something, CVI ask me if I want to build the release. So I did not understand the problem but I solved it by editing a new distribution kit.

Maybe you are looking for

  • How can I have more than 3 recipients to send an email?

    I'm all new to Mozilla (really miss Microsoft Live Mail). I can't see how to allow more than 3 recipients to emails I send?

  • Customize the toolbar - remove the search bar!

    Lack of space at the top of my browser, I would remove the Ribbon from the toolbar to the toolbar to search. I did it. Having now that I noticed that the option 'search in the help..' resets the default Firefox 'Google' which i configured to not be t

  • Re: Wifi works fine on an AC/DC power supply. And very slow on battery

    Dear friends! When I use my laptop on AC/DC adapter, wifi works perfectly. Fast and without any problems.But after that I use it on battery, wifi works very slowly. I wait about a minute or two to open any site.Yes, it works, but very very slow. When

  • Common ground for a precise measurement and analysis

    Hi all I wanted your opinion on input and analog output configurations. Connect us two resistors in series and provide an output signal analogue sine through it 10 V. Then, we measure the potential across the two resistors using differential input co

  • printing legal size; 8.5 "x 13" of printing

    Hello again, Thank you so much mich for your answer in my previous survey. This time I would like to know if HP Deskjet Ink Advantage 1515 multifunction inkjet printer can print legal size paper and a 8.5 "x 13"? Before you buy this printer, I need t