Step Type not updating properly with LabVIEW

I have a custom steptype that reads the information from the step properties.  I also want this VI to be used as a stand alone.  So I read the sequence context handle to determine if I am running in TS or standalone.  This works fine.  Because it is a stand alone I have a cluster of all the variables the I will need input.  This is where the problems start.  I noticed that when I define the step type in TS that I load the prototype.  I choose to use the default values for the cluster input because I will read the real values inside the VI.  When I "EDIT" (ctrl-E) the step it works fine.  However at runtime I notice that occasionally the default value is used instead of the real data stored in the step type.  I assume there is a race condition for when my variables are loaded.  I assumed that when TS loads the prototype it will load the default values, then my LabVIEW TS properties will read and set the values of my VI.  What I am seeing is that about every other time my LV will read the steps and update the value correctly then other times TS will overwrite the values with the default after I have read them.  Some other wierd fluke I would notice that the variables would be updated in a similar but different named cluster.  This I haven't be able to reliably reproduce.  It is almost as if the references to the controls would get confused and switch to another control temporarily.
One fix that I have done is to not use the default value but pass the actual step value.  See attached pix.  This is tedious because some of my steps are large.  This is not flexible.  Some of my variables I would like to point to different locations, such as a FileGlobal instead of step.XXX.
Has anyone seen this before?  When does LabVIEW actually write the data from TS into the VI?  It appears that I am having a race condition between me updating the variables by reading the step values and when TS is loading the prototype.
I am using LV 7.1 and TS 3.5.
Thanks.
Attachments:
default.jpg ‏120 KB
step.jpg ‏137 KB

Hey Taylored_Solution,
I'd love to try to help you out with this issue you're having, but I'll be honest - I'm finding it a little hard to follow what's going on.
Have you been able to isolate this behavior to only one single VI (the one you're currently working on), or, is this behavior reproducible in multiple VIs? 
I ask because if it's reproducible in multiple VIs (a new VI), would you mind giving me sort of "step-by-step" to follow so that I can try to reproduce and decipher the behavior you're currently seeing?
If it's isolated to the VI you're working on and not easily reproducible, can you create a copy of your VI, remove everything not-pertinent to the behavior you're seeing, and post a very simple example so that other users can take a look and weigh in?
Derrick S.
Product Manager
NI DIAdem
National Instruments

Similar Messages

  • Iphone will not update properly with 7.0.3

    I updated my phone and now it is stuck on the rescue email screen.  It will not go any further and I can't access the phone.  It won't let me back out of it either, as it won't accept the do this later option when setting up the inane security questions.  And, of course, I can't get any help from iphone without paying 20.00 for their mistakes.  Is this Apple or Microsoft, and why in the world would I not go to Samsung at this point?

    Do you have a question?
    Just having a tantrum?

  • Tried updating my itunes about a month ago, it would not update properly and left me with a notification saying "i tunes was not installed properly, please reinstall itunes" i've uninstalled and reinstalled a few times and still nothing.

    Tried updating my itunes about a month ago, it would not update properly and left me with a notification saying "i tunes was not installed properly, please reinstall itunes" i've uninstalled and reinstalled a few times and still nothing.
    i might need walked through on a few things if they are too complicated.

    Have you:
    - Restore from backup. See:                                                
    iOS: Back up and restore your iOS device with iCloud or iTunes
      - Restore to factory settings/new iOS device.            
    If a PC
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    or              
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8

  • Before image and after image is not updating correctly with 2LIS_04_P_ARBPL

    Hello BW gurus
    I am facing problem with the posting date extraction from the extractor 2lis_04_p_arbpl. I am getting incorrect before image and after image. Please let me know how to solve this problem.
    Thanks and regards
    kiran.

    Hi,
    It is difficult to check this in the Source System and there is no direct method. I can give you a workaround which we did analysed for some of delta datasources.
    Steps to be followed sequentiall once the step is successful:
    1. Create a Production order or something.. Note down the number.
    2. Check the datasource whether you get the same Production Order as delta
    3. Now do whatever confirmation etc . for the same Production Order
    4. Check the datasource (RSA3) and see wat it extracts.. might be multiple records..
          In that case just see the sequence of records.. and the changes each record has brought in.. hope this way we can simulate the delta datasource realtime..
    And if you find the sequence or somthin is correct and in BW is not updating properly then it is our fault to dig and find out further.. If the issues is at the RSA3 itself, then u can raise an OSS Message as a Bug.
    Hope it helps.
    Regards,
    Chathia.

  • Remote not working properly with Apple TV...sporadic fuctioning

    Hello,
    I have no idea what caused this to happen, but both my remotes (I have one from my MacBook Pro and one from my AppleTV) seem to not work properly with AppleTV. It sometimes works but it is extremely frustrating as it only registers about 1 out of every 10-20 clicks then continues to remember the previous clicks therefore making it essentially impossible to select the desired menu/item. Basically it just seems like it's out of control!
    I tested whether it was the remote or AppleTV that was causing the problem by running Front Row on my MacBook Pro and both remotes seem to navigate Front Row perfectly fine. They both act the same way with AppleTV, whether they are paired or not. It seems as though something happened with my AppleTV. This problem occurred randomly, with no specific cause I can think of.
    Please let me know if any of you have ever experienced this problem and what your solution was, if any!
    I have tried restoring to factory conditions, resetting settings, ran diagnostics, unplugged and replugged it, and nothing seems to be working!
    Oh, and I just replaced the battery on one and have tried swapping batteries, etc.
    HELP PLEASE!
    Thank you,
    Travis

    The menus have never been as responsive as they used to since the 2.0 update in my opinion - basically AppleTV seems to cache/buffer remote click if it is busy or perhaps waiting for something to stream from itunes, and when resources become available it suddenly executes all command rapidly which makes it behave wildly in menus.
    Usually happens I find after restarting the unit or if streaming drives have gone in to power saving modes and there's a delay while they wake up to feed the AppleTV.

  • HP computer will not work properly with an HP printer

    I have the following two items that I am trying to use together:
     - HP 23" TouchSmart Desktop, T6500 2.1GHz 4GB DDR3, 500GB HDD (Windows 7)
     - HP OfficeJet 6500 Multi-Function Printer/Scanner/Fax
    When I try to scan to Adobe Acrobat Professional 9.0, the document goes through the scanner, however the dialog box that I would expect (e.g. "Next Page" or "Done") never shows up.  At this point, the system is unresponsive with respect to Adobe or the printer.
    I suspect that it is waiting for the input from the dialog box that never showed up.  I tried to move the other windows to see if the dialog opened in the background, however I am not able to select any of them (they remain frozen).
    I contacted HP Support, only to have them tell me it must be the driver, and I have an "old" printer.  (I did not realize that a 9 month old printer was considered "old").  I have tried all of the possible drivers that are available (original disk, downloads, other downloads from HP tech support), none of these resolves the problem.
    In any case, they were unable to resolve the problem of having an HP computer work properly with an HP printer.  (The printing function seems to work, just very slowly).
    Has anyone else heard of this?  Is there a resolution?

    Update: I am still looking for a solution to this problem - the scanning portion of the Multi-function OfficeJet 6500 does not work properly with the HP TouchSmart computer.
    I have not been able to find anyone in HP that can tell me when (or if) new drivers will be released for this printer.
    I decided to investigate upgrading to a newer version of printer since HP told me the 9 month old printer I have was "obsolete", only to find that the identical printer is still on sale in many stores.  Hmmm....
    I feel like I am getting the run-around from HP.
    I have since tried several more driver/software combinations, but every time I have the same problem (as described in the previous post).
    If anyone has any ideas or suggestions, I would be most happy to hear them.
    Thank you.

  • FW CS6 Align tool not working properly with lines of text

    Much to my surprise the align tool is not aligning properly with text and I'm not sure what the issue is. My snap to grid distance is set at 1 in preferences.
    Task: Left-align several vertically-stacked lines of type using the alignment tool. All lines have text-align: left.
    Result: Some of lines of type display 1px off from each other. Using the right-align tool yields the same issue.
    Oddly enough shapes align pixel-perfect.
    Any ideas? Thanks!

    I'm not certain of this, but I believe the Align panel aligns the text runs as opposed to the text boxes themselves. This should be a good thing, as it's usually the text that needs to be aligned, not the invisible boxes containing the text.
    Could that be what's happening?

  • Shockwave will not update properly

    Hi. I have a laptop running Windows 7 Home premium, 64 bit system.I  use IE and just installed Firefox, as well. I tried to update Shockwave so I could continue to play my UClick jigsaw puzzle game, and my computer says it installed successfully, but it will not work with my jigsaw puzzle. I have uninstalled it and tried to reinstall it, but no change in response. When I try to open jigsaw puzzle, the Adobe Shockwave loading graphic appears, but nothing happens.
    Help!

    I understand the two sites are using different plugins/players.  I'm not an idiot.  However as Shockwave for Director is so old it's listed by Firefox as an unknown plugin and described as being a Netscape plugin ("Adobe Shockwave for Director Netscape plug-in, version 12.1.5.155"), I am merely suggesting that UClick might change to a more recent, robust plugin.
         From: SeanWilson <[email protected]>
    To: RB Jones <[email protected]>
    Sent: Sunday, March 8, 2015 2:34 PM
    Subject:  Shockwave will not update properly
    Shockwave will not update properly
    created by SeanWilson in Adobe Shockwave Player - View the full discussionThose two sites use 2 completely different plugins/players to view their content — one being Shockwave for Director, the other being Flash so "just changing the call" won't work. If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7265858#7265858 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7265858#7265858 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Shockwave Player by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Help, web cam is not working properly with win vista

    Hii.. my web cam is not working properly with win vista..even if the icon appears bt it does nt start.. its
    lenovo easy capture 2.5...so if u cud suggest me anything...
    Moderator note; subject edited

    re-install drivers and try again. ( also easy capture )

  • HT5181 iPhoto for iOS: Photos in iphoto's Camera Roll folder are not updated automatically with edits from other programs

    How can I solve the problem în the subject?

    How can I solve the problem în the subject?
    What exactly are you trying to do?
    Have you been editing photos in iPhoto and want to add them to your camera rool or photo stream?
    Then do exactly as the article describes, that you lonked to:
    iPhoto for iOS: Photos in Camera Roll are not updated automatically with edits from iPhoto
    Use iPhoto's Sharing to save a copy of the edited photo to the Caera Roll, or explain on mor e detail, what you want to do.
    Regards
    Léonie

  • My iPad is not syncing properly with my calendar on my computer.  Everything is a day off on the IPad.  Any suggestions?

    My iPad calendar is not syncing properly with my computer.  Everything in the iPad Calendar is one day off....any suggestions?

    Susan,
    Also note that the calender can be set to preserve a time zone by going to Settings > Mail, Contacts, Calendars and turning ON Time Zone Support - but then your flight times will be correct for the local time zone...found that one while on travel and the calender was showing a flight time that was an hour earlier than I thought it was.  I had not turned on Time Zone support and it moved the time I had entered at home to the time of the local zone.
    Convenient as long as you pay attention

  • Hi, My iPhone 4s does not work properly with the sound.

    Hi, My iPhone 4s does not work properly with the sound. It just ring. Any other app it doesn't make sound unless I have my headset or bluetooth. And it make me choose between "DOCK CONECTOR" or my "APPLE TV". Why? Or any sugestion plz

    Hi M3MB3R,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting tips in this article helpful:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    Cheers,
    Jeremy

  • My iphone 5 does not work properly with Ford Sync,

    Hi, My iphone 5 does not work properly with Ford Sync, everytime I pair the phone, Ford sync navigation system freezes and does not work !
    Can someone help.

    Hi M3MB3R,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting tips in this article helpful:
    iPhone: Sound muffled or low from the speaker or when speaking into the mic
    http://support.apple.com/kb/TS1631
    Cheers,
    Jeremy

  • TS4002 Icloud Mail doet not work properly with PC since a few days!!!

    Icloud Mail doet not work properly with PC since a few days!!!

    If you can't solve your issue and no one in the community can help, contact support to speak with a tech support agent at (800) 631-3811.
    - Peter

  • The drop-down menu is not rendered properly with iframe where a pdf is embedded

    I want to embed a pdf in a webpage, where the drop-down menu needs to be displayed on the top of the pdf. I am using iframe to embed the pdf.
    The drop-down menu is not properly rendered (border-radius and box-shadow) in Firefox at http://mysite1.webege.com/test.html.

    *[https://bugzilla.mozilla.org/show_bug.cgi?id=779435 bug 779435] - the drop-down menu is not rendered properly with iframe where a pdf is embedded
    It is usually best to attach a minimal test case to the bug report.<br />
    In that case the code doesn't get lost if the page is removed from the server.

Maybe you are looking for