How can I update cluster items from inside a while loop that does not contain the cluster?

I have a VI that contains front panel clusters and two while loops. The main cluster contains items such as a doubles "distance" and "stepsize" and boolean "step" (a whole buch of this type stuff). The first loop contains an event structure to detect front panel changes and the second contains code and sub VIs to perform operations based on detected events.
The operator can enter data into either double or click the boolean. If distance is changed the second loop does what is required to process the change. The same happens with stepsize. If step is clicked the ±stepsize value is added to distance and the result is processed. In each case the front panel should track the result of the input and subsequent processing.
Because the clusters are outside the while loop, they are not updated unless I click 'highlight execution' which seems to allow updating each time the execution highlight is updated. There are other issues if I move the clusters into one of the loops.
I've tried referencing the clusters and using local variables and nothing works. It looks like overkill to use shared variables for this.
Any ideas would be greatly appreciated.
Thanks,
Frank    

Hi Ben,
Thank you for the response. I followed the link and tried reading everything you posted on AEs but I'm afraid that I didn't understand it all. It seems that each AE example had a single input and a single output (e.g. a double). Is this the case? 
What I have is a couple of front panel clusters containing (approximately) 18 control doubles, 8 indicator doubles, 5 boolean radio button constructs and 26 boolean control discretes. I clusterized it to make it readable. In addition I'll eventually have a cluster of task references for hardware handles.
All I want to do is update the front panel values like I would do in a C, VB or any other language. I've tried referencing the cluster and using the reference from inside the loops. I've tied using local variables. Neither works. I'm experimenting with globals but it seems that I have to construct the front panel in the gloabal and then I wouldn't know how to repoduce that on the front panel of the main VI.  Sometimes it seems that more time is spent getting around Labview constructs than benefitting from them.
I hope the 'Add Attachment' function actuals puts a copy of the VI here and not a link to it.
Thanks again for the suggestion,
Frank 
Attachments:
Front Panel Reference.vi ‏33 KB

Similar Messages

  • How to syncronize an iphone5S within a Macbook 10.5.8 that does not support the lattest version of ITunes?

    Does somebody know how to syncronize an iphone5S within a Macbook 10.5.8 that does not support the lattest version of ITunes?

    Macintosh System Requirements
    Mac computer with an Intel Core processor
    OS X version 10.6.8 or later
    400MB of available disk space
    Broadband Internet connection to use the iTunes Store
    You need to upgrade your OS X before installing the latest version of iTunes.  Then you will be able to sync your 5S.

  • Is there a way to add photos to the iPad without replacing the ones already loaded?  I am trying to add photos from a folder on a computer that does not contain the other iPad photos.

    Is there a way to ADD photos to my iPad without replacing the ones already there?  I am trying to add photos from a computer that does not contain photos already synced to the device.

    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • How can I get a count of files in a directory that does not include subfolders?

    Information [Comand I] gives me an "items" number that includes subfolders; however, Box gives me a number that excludes subfolders and includes only files. I am trying to double check that I have migrated everything from a local directory to a Box; thus, I would like a way to a count of just the number of files in a local directory that does not include subfolders but rather is limited to files. This has been surprisingly hard to find.
    Thanks,
    Stu

    Sort the contents of the folder by Kind. While holding down the Shift key  click on the first and last file and start to drag them.  The number of the files being dragged will be displayed in a red circle.
    Not elegant but works.

  • How can i update/Remove Items from AR Invoice using SDK?

    Hi All,
    I have 1 problem with update or remove item from sales order. here is the source code of mine.
    If inv.GetByKey(DocumentNumber) = True Then
                        inv.CardCode = cardcode
                        Dim ercode As Integer
                        Dim ind As Integer = 1
                        For Each drow As DataGridViewRow In gv.Rows
                            If gv.Rows.Count = ind Then Exit For
                            ercode = drow.Cells("No").Value
                            inv.Lines.SetCurrentLine(ercode)
                            'inv.Lines.ItemCode = drow.Cells("itemcode").Value
                            'inv.Lines.ItemDescription = drow.Cells("itemname").Value
                            inv.Lines.Quantity = drow.Cells("qty").Value
                            inv.Lines.Price = drow.Cells("price").Value
                            ind = ind + 1
                        Next
                        errorcode = inv.Update
                        If errorcode <> 0 Then
                            PublicVariable.oCompany.GetLastError(errorcode, errorsms)
                        Else
                            errorcode = 0
                        End If
                    Else
                        errorsms = "Not found Invoice Document Number"
    End If
    After update, it error "[INV1.Quantity][line:1],'Field cannot be updated (ODBC -1029)'"
    Does anybody know about this?
    Thanks
    TONY

    Hi $riniva$ Rachumallu,
    This is my mistake that not test manually in application.
    Thanks
    TONY

  • HT204022 How can I delete my photos from my I phone? It does not let me by selecting and trash it. I did back them up but now I need to free my storage on my phone.

    I keep Trying to Delete my photos, which I backed them up on my computer, on my Iphone, but my iphone does not let me to delete them. It shows select, but it does not show trash. I have no more storage on my phone and I have to delete my photos.
    If you may know how, Please let me know.
    Thanks
    Matt Berenji

    Photos synced to your phone from your computer can only be removed by syncing them off again.  To do this, do the following:
    Connect your phone to your computer using your usb cable
    Open iTunes on your computer
    Click on the name of your phone in iTunes
    Go to the Photos tab of your iTunes sync settings
    Uncheck the folders that contain the photos you no longer want on your phone.  To remove them all, uncheck "Sync Photos"
    Click Apply at the bottom to sync your phone.
    If you only want to remove some of the photos from an album, but not all, remove these photos from the folder by the same name on your computer, then sync your phone.

  • How can i connect my iphone 4 s with itunes? itune does not recognise the iphone when it is connected

    Hi, i have received an iphone 4s from japan! whwn i connect it to my pc, itunes does not recognise it. what can i do?

    For this issue you might try a couple things.
    First, try to restart the Apple Mobile Device service by clicking Start and searching for Services. Stop the service, then restart the service.
    If that doesn't work, you can remove and reinstall iTunes.
    http://support.apple.com/kb/HT1923
    This article will help with that process. Follow it exactly.

  • How can I get a disk out of an iMac G5 that does not turn on?

    My iMac G5 won't turn on and I need to get a disk out of it.  Do I need to open up the computer in order to get it out?

    Luckily I have never had that problem but I searched and found this:
    http://www.youtube.com/watch?v=gkMJDOER4uM

  • How can i delete purchased items from the cloud in iTunes

    how can i delete purchased items from the cloud in iTunes

    I had this problem as well. You can't delete them but you can hide them by swiping across from the cloud to. The other side then pressing hide

  • My  ipod touch is 3rd gen how can i update my ios from 4.2.1 to 5.1.1 when i shift   restore and load the ipod3_5.1.1.ios its always say your firmware is not compatible

    my  ipod touch is 3rd gen how can i update my ios from 4.2.1 to 5.1.1 when i shift + restore and load the ipod3_5.1.1.ios its always say your firmware is not compatible

    I suspect you have a 2G iPod. Those can only go to iOS 4.2.1.
    Identifying iPod models
    iPod touch (3rd generation)
    iPod touch (3rd generation) features a 3.5-inch (diagonal) widescreen multi-touch display and 32 GB or 64 GB flash drive. You can browse the web with Safari and watch YouTube videos with Wi-Fi. You can also search, preview, and buy songs from the iTunes Wi-Fi Music Store on iPod touch.
    The iPod touch (3rd generation) can be distinguished from iPod touch (2nd generation) by looking at the back of the device. In the text below the engraving, look for the model number. iPod touch (2nd generation) is model A1288, and iPod touch (3rd generation) is model A1318.

  • How can I take an item from one image and move it to another image?

    How can I take an item from one image and add it to another image, and rotate it to fit?

    Carefully select the objects of interest in one image and then copy, scale and position them into the other image. Then touch up the composite.
    Have to Love Photoshop for Retouching Images!

  • HT4623 how can i update my iphone 4 that does not have the update option in the settings?

    How can i update my iphone 4 that does not have the update option in the settings?

    From the article you linked, scroll down to the section "Update your device using iTunes"

  • How can I update Dreamweaver 8  to 8.0.2 if I don't have the  .MSI file?

    How can I update Dreamweaver 8  to 8.0.2 if I don't have the  .MSI file?  I have moved this old copy to newer computer/operating system and don't have all the original discs and things.

    Donny4646 wrote:
    And you can move an installed application if you move a few other files manually and without getting into the registry.
    I'm very skeptical about that as I have dozens of Registry entries associated with my older DW installation.
    Still trying to assist anyway. Check this thread for a reported successful resolution
    https://forums.adobe.com/message/4215502
    Also try this:
    Download the unwrapped 8.0.2 update from Adobe: http://kb2.adobe.com/support/dreamweaver/ts/documents/kb400150/DW802_unwrapped.zip
    Extract the files into a root directory. There should be only one MSI file.
    Open an administrator privilaged command prompt by typing in the Start menu "Command" and right clicking the "Command Prompt" option and selecting "Run as Administrator"
    Navigate to the directory you extracted the files to using the CD command
    Once in the directory with the MSI file run the following command: msiexec /update patchpackage.msp
    Step through the installer, and everything should be fine, open Dream Weaver and go to Help -> About to verify the patch installed.

  • HT4623 I have an Iphone 3 that does not have the software updates how can I update it?

    I have an IPhone 3 that does not have the software updates in my settings how can I update it cause I can not download any apps or games?

    The 3G can not be upgraded beyond 4.2.1, but if the phone isn't there yet, see below.
    The option to update without the computer (Over the air) was made available with iOS 5. If your iDevice is using a version of iOS lower than 5, you will need to use iTunes on your syncing computer to perform the upgrade. Use the Apple link below as a guide for the upgrade.
    http://support.apple.com/kb/HT4972
    Also read the instructions from the section entitled "Update your device using iTunes" at the link below.
    http://support.apple.com/kb/HT4623
    Information regarding transferring purchases from your iDevice to iTunes on your syncing computer can be found at the link below.
    http://support.apple.com/kb/ht1848

  • How can i stop my phone from vibrating in my ear when i am on the call?

    How can i stop my phone from vibrating in my ear when i am on the call? I usually keeps my phone on vibration mode so i get notified when there is a new mail or message? However, when i am on the call, then also, it vibrates in my ear everytime a mail comes. Very irritating. I use my business phone and mails keep coming every 2-5 mins.
    Please help.

    very impractical . specially when you call A LOT and receive notifications constantly!

Maybe you are looking for