Indicator reverts to default after set control value

Sorry.   Tried to put a tab in my message, then pushed space twice and apparently posted this a couple times....
   I've noticed that if I try to programatically set the value of an indicator (which is in the connector pane) using the Set Control Value method it reverts back to its default value once the VI is finished executing.  If it's not in the connector pane I don't have this problem.  If I use Set Control Value, then read from a local variable of the indicator to set the indicator I also get no problem.  Why is this?  I've attached two block diagram images below showing what I did. 
  I'm interested in this because I'm trying to write a subvi that retrieves and stores a bunch of global values from a config file.  The easiest way to do this seemed to me to use the OpenG vi that reads and writes the front panel controls to a config file (since some of my controls I wish to save are complicated).  It didn't seem to work unless I added the second step of using the local variable to update the indicator. 
Message Edited by Phamton on 11-21-2007 05:30 PM
Attachments:
set control value_bd0.jpg ‏8 KB
set control value 2_bd0.jpg ‏17 KB

Discussion of this thread has moved to here.

Similar Messages

  • Error in Invoke Node-Set Control Value

    I've a trouble with a VI: the error cluster warns ERR(7) when I try to pass the output of the "FLATTEN TO STRING" function to an Invoke Node-Set Control Value.
    In the file attachments there's the upmentioned VI. Thank you
    Attachments:
    Cambia_i_valori_di_default.vi ‏147 KB

    Error 7 is file not found. I would think that this error is generated by one of your Open VI References and not any of the Set Control Values. Check your paths and verify that they're correct. Also, you haven't included two subVIs or the VIs that you're trying to modify so it's impossible for anyone to try and recreate your problem. Save them into an LLB and attach that if you still have problems and want some help.

  • Using "Set Control Value" to pass a reference

    Hi,
    every time I tried to passe a Control Reference using "Set Control Value" I have the Error 1 (invalid input parameter at invoke node). Why is it not possible to pass a control reference using the invoke node??
    Thanks
    Golzio

    Hi,
    This is possible. Trick is, the type of the control reference needs to be
    the same as the input. E.g. a string control reference is a different type
    as a numeric control reference (, or a control reference).
    To avoid this conflic, make sure the input of the vi is a control reference
    (and not a e.g. string control reference). Also make sure the to convert the
    reference you pass to a control reference (using Application Control>To More
    Generic Class).
    Regards,
    Wiebe.
    "Golzio" wrote in message
    news:506500000008000000C1F00000-1079395200000@exch​ange.ni.com...
    > Hi,
    > every time I tried to passe a Control Reference using "Set Control
    > Value" I have the Error 1 (invalid input parameter at invoke node).
    > Why is it not possible to pass a control re
    ference using the invoke
    > node??
    >
    > Thanks
    > Golzio

  • Set control value method

    How do I use the set control value method to send a cluster to a sub-vi? I have tried just sending the cluster as it is, but the invoke method gave me an error. I have thought about sending in the Control[] property of the cluster, and then in the subVI use "to more specific class". But my cluster is very big, and this would be a lot of coding. Can you think of an easier way to do this. Thanks a lot.

    Hello,
    You should definitely be able to pass the cluster from the main VI to a sub VI. Most likely, the cluster you have created in the sub VI does not have exactly the same elements in the same order as the main VI's cluster. To view or change a cluster's element order, right-click on the border of the cluster and select "Reorder Controls in Cluster..." There is also a lot of great information on clusters in the LabVIEW Help. Please also see my attached example for further information.
    I hope this helps! Have a great day!
    Liz Fausak
    National Instruments
    Attachments:
    ClusterOrderExample1.vi ‏21 KB

  • Bluetooth problems: prefs revert to defaults after reboot

    Hi there,
    I have a strange problem with Bluetooth and wireless input devices. I have set up Apple wireless keyboard and mouse, and also ticked "Show Bluetooth status in the menu bar" in Bluetooth preferences. However, after I reboot bluetooth icon disappears from the menu bar, and Magic Mouse prefs revert to defaults.
    Apart from that, I am not able to tick "Allow Bluetooth devices wake up this computer" in Preferences – Bluetooth – Advanced.
    What can it possibly be?
    Before that I had the same issue with Dock (its icons would return to a certain state every time after reboot, no matter how I'd change or rearrange them before restarting). I managed to solve Dock issue by trashing Dock .plist files. I guess it may be the same with Bluetooth, but I don't know which .plist to trash this time (tried deleting com.apple.Bluetooth.plist, it doesn't work).

    I don't have a logitech mouse, but is it possible that the mouse is going to sleep during the reboot, and is thus unavailable when the OS is looking for it?

  • Call park music on hold reverts to default after server reboot

    Hello,
    We are noticing that if you define Music on hold for the Park service, the call park music on hold reverts to default sound after server reboot. (all systems we've tested do this)
    Anyone using park music on hold that can verify one way or the other?
    Thanks, 
    +Say thanks and observe basic forum courtesy:
    +If this post answered your question, Mark As Answer
    +If this post was helpful, Vote as Helpful
    windowspbx blog: my thots/howtos
    see/submit Lync suggestions here: simple and public

    We have tested it and we have the same result. Hope the next update will resolve this problem.

  • Setting Control Values in a cluster

    I am aware of the technique to set a control value on another VI's FP using an invoke node and Flatten To String Function, but is there any way to set a value of a control inside a cluster?
    Many thanks to anyone who may be able to help.

    Hi Dan,
    a cluster has a property called Controls[], this returns an array of references of all the cluster elements. You can use each reference to set the element value with the property Value.
    I attach a simple vi that shows it.
    Good luck,
    Alberto Locatelli
    Attachments:
    setting_cluster_control_value.vi ‏16 KB

  • Automatic Delivery Completion Required Indicator to be defaulted to "SET"

    Hi Guru's,
    My client's requirement is whenever there is a GR posted in the system the system should automatically set the "Delivery Completion indicator" to complete even though there are open items in the purchase order.
    The reason is to discourage backorder PO processing and Goods Receipt should be happen only once for a PO.
    What we are aware is,
    1. I know the PO can be made for the quantity to be received, but that cannot be done since this is a service customer
         and there are mutiple sites where materials can be delivered.
    2. we are not using MRP as all are cost objects consumed materials for customer service order or cost center till we go
        to material requirements planning.
    3. 'DCI indicator in Mm->Inventory Management -> Plant Parameters or set DCI in SPRO does not solve the purpose, as we
         want the setting to be Always "SET" in the MIGO screen.
    4. Manually we can do this by settinng this in MIGO, but it should be automatic as the user may forget to maintain that and
        there will be more GR.
    Kindly let me know if you have any ideas around it.
    Regards and thanks in advance.
    Swagat

    Hi,
    Under the IMG path:
    Materials Management
    -> Inventory Management and Physical Inventory
       -> Goods Receipt
          -> Set "Delivery Completed" Indicator
    the flag for the automatic setting of the "delivery completed"
    indicator (V_159L_E-XELIK) should be set  for the Site .
    The system will  automatically flag the purchase order
    item as delivery completed, if the full ordered quantity is
    received. If NOt set,
    the user has to set the flag manually while receiving the
    purchase order item. In MIGO, this is made in the "Purchase Order Data"
    tab, when the "Del.Completed" Ind. is set to "2 - Set".
    Please, see the note 1093582 in this regard:
    "2.  Question
    Is it possible to set automatically the ELIKZ during goods receipt?
    Answer
    In Customizing for Inventory Management/Goods Receipt/Set Delivery
    Completed Indicator, you can define at plant level that the "delivery
    completed indicator" is set automatically in the order if:
         o  the total quantity was delivered
         o  the underdelivery or overdelivery lies within the tolerances"
    Therefore, the system will only flag the indicator automatically if this
    has been customized previously.
    For STO
    Kindly review the attached note 34737 which explain the logic of the
    delivery complete indicator for STO.
    I hope this helps you
    BR
    Nadia Orlandi

  • Why does the string indicator revert to default value when it's not being used?

    Can anyone explain to me why one of the two string indicators in the attached VI reverts to it's default value (empty) when the case structure is false?
    Attachments:
    LabView bug.vi ‏8 KB

    String 1 is wired to the connector pane...that's why you're seeing this behavior.  Disconnect String 1 from the connector pane and it will behave just like String 2.  Likewise, connect String 2 to the connector pane and you'll see it get blanked out too.  I'm not really sure why we empty the value when it's wired to the connector pane, but the behavior goes back to LabVIEW 8.0, maybe earlier.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Finder window size reverts to default after restart

    My Finder window doesn't remember the last size I set it to after a restart.
    Mountain Lion was a downgrade - there are many things about Snow Leopard that were better...but Jaguar was the best.  Powerbook G4 was pure freedom all the way through Tiger.
    #googlingLinuxDistros

    For rants: File a bug report with Apple.
    For the Finder window issue, it appears that all of you .DS_Store files are corrupted. Step one is to remove them all.  To delete the .DS_Store files, run this in the Terminal app:
    sudo find / -name ".DS_Store"  -exec rm {} \;</
    At the Password: prompt, carefully enter your admin password, since nothing shows up on the screen, and hit the return key. When the default prompt, usually the $ sign, pops up, quit the Terminal app, restart, and open a Finder window, set it up the way you want, and click on Use as Defaults. All subsequently opened or created folders should retain that view. Do note that that only applies to icon and list view.

  • Selected ringtone reverts to default after sync

    I have downloaded to my mac a couple of ringtones which I use for family members.  The ringtones for those family members (seen in Contacts) revert to the default ringtone (just a standard one available on the iPhone 6) every time I sync to my mac.  What am I doing wrong? 

    More from Randall39:  And let me also say -- I have the "sync tones" boxes checked on iTunes.  My point is that it reverts back despite having this box checked.  Surely this isn't what it is supposed to do.

  • Do I need to set something when using Dynamic VIs to pass control values to an executable VI

    I am using VI server to pass control information from one VI to another.
    In the development system this works fine.
    How ever once I build the VI's into an executable the values from one of the VIs does not get passed.
    I use the same method in three different applications, 2 of the applications work fine, but one does not.
    The only thing I can think of is that there is something that needs to be set that I did (without realizing) in the first two but not in the third.
    All the Applications run fine.
    The problem that occurs is in the values passed. The same value gets passed everytime this turns out to be what ever the default was prior to running application builder.
    I a
    m currently using 6.02.

    Kandrew wrote:
    > I am using VI server to pass control information from one VI to
    > another.
    > In the development system this works fine.
    > How ever once I build the VI's into an executable the values from one
    > of the VIs does not get passed.
    >
    > I use the same method in three different applications, 2 of the
    > applications work fine, but one does not.
    Are you using Call by Reference or Set Control Value method? The second
    absolutely requires the Front Panel to be present to work properly. The
    LabVIEW application builder wants to remove the Front Panel by default
    if the VI hasn't been configured to show its front panel when called or
    doesn't have at least one Control Property Node in its diagram.
    Rolf Kalbermatter
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Is it better to use Invoke nodes or property nodes to set/get control values?

    I have a series of VI's that run in parallel, each to manage different functions- pumping, sensing, a fluid flow model, an experiment generator/runner.
    These need to exchange data, which I am currently doing using invoke nodes (that are all in subVIs), using methods "Set control value" and "Get control value". I find that every now and then (perhaps 1% of the time) the data isn't exchanged correctly and therefore the system doesn't work. I can imagine how "set" could go wrong if they happen simultaneously, and can devise ways of preventing this. However, the "Get" method suffers from the same problem. This is a major problem, because I want to leave it running for several hours.
    I could in
    principle achieve the same thing using property nodes and find myself wondering if this might be more reliable. But I don't want to change over only to find it makes no difference!
    Can anyone advise?

    You can use some kind of syncronization such as queues, occurances, or notifiers but I think the easiest way would be to create and action engine. This was only one action can execute at a time avoiding a "race condition". Possibly a write action and a read action might help. You also can add queues or notifiers into this concept. hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • How do I retain a PDF form widget's design when setting its value using Javacript in Acrobat?

    I've been experimenting with interactive PDF forms in InDesign and JS in Acrobat. I think I've encountered something that might be a bug: widget design is overriden when using Javascript to set the field's value in Acrobat. Here's what a checkbox, for example, should look like when checked:
    However performing:
    var f = this.getField("Checkbox");
    f.value = "Yes";
    in the JS Console results in the widget's appearance defaulting to acrobat's:
    I've tried every single widget property documented in Acrobat's Javascript API Reference to no avail. Initially, checking/unchecking using the mouse works fine. Once the value has been set using JS, Acrobat's default black check character is used for all subsequent toggling, including when using the mouse...
    How does InDesign export interactive PDFs with custom icons for widgets? Is there any way to enforce the use of those icons using JS in Acrobat Pro? What's the difference between selecting a checkbox or a radio button using the mouse and setting its value using JS?

    I thought it might be the case, too, but all widgets have the same properties both before and after setting the value with JS. I did this check using all documented properties in Acrobat JS Reference in an attempt to figure out what might be going on.
    By the way, I don't think Indesign necessarily uses glyphs for the checked state of widgets, although in this case a glyph is used (albeit with different stroke and fill colours for the glyph, acrobat doesn't allow setting these properties AFAIK). With Indesign CS6 it seems you can practically use any Indesign tool to design the widget's On and Off states. So I'm thinking that maybe Indesign exports these with button-like properties where there are no restrictions on appearance (I think there is an "icon" property/object for buttons or something like that). However Acrobat treats them as checkboxes, so if that is the case it is more of a hack. Is there a way to probe an object's various properties other than using JS or the properties pop-up dialog?

  • Modifying the Default Result Set on the Results Tab of the SQLWorksheet

    I have found the previous posts indicating that the default result set size is 50, that it is not currently able to be modified and (good news) that an enhancement will be coming to correct this.
    I thought I would give my two cents on how this option might be configured:
    Either in the 'View-Options-(output options)' or the 'Tools-Preferences-Environment' areas, have two options. The first would be something like "Max Rows to Display in Results Window" and the second would be sometihng like "Max Rows to Load when end of Current display is reached."
    The first option is certainly most essential, but the latter option I have to explain a little. Say you set your max rows to display to 500. You scroll (drag bar, arrow down, etc) to record 501. At this point, the setting on the "Max Rows to Load When End of Current Display is Reached" option comes into play. This setting will then be read to determine how many rows are to be loaded each time the user gets to the current end of display. The second option adds some flexility to how data rows will be displayed after the initial data rows are loaded.
    You could just default the number of rows added to the display to the setting set in the "Max Rows to Display in Results Window" setting, although I would say that this would be less flexible. Whatever you do, don't follow the Toad example of loading ALL records when dragging the vertical bar to the bottom of the display grid.
    Thank You for your time.
    Scott Lips

    I like the idea.. please post this on the sister website so that people can vote on it.
    http://sqldeveloper.oracle.com/

Maybe you are looking for

  • CUCM upgrade from 7.1.5 to 10.5.1.10000-7

    Is it possible to do the migration from 7.1.5 to 10.5.1.10000-7 which we are doing for jump upgrade from 7.1.5 to 9.1.2.  The reason why I preferred because this jump upgrade we can achieve in isolated network. In that case can anybody please help to

  • ITunes Media on external drive; populating iTunes

    I've got my Media folder on my external and just did a clean Mavericks install.  I remember previously pointing iTunes to the Media folder and then drag+drop'ing the folder into iTunes.  Is there a better way than this?  Since I've told iTunes to loo

  • Sort a row in Numbers for iPad

    I have a list of names along the header row of a table in Numbers for iPad. I'd like to put them in alphabetical order from left to right. Bearing in mind that I'm a newby to apple, could anyone help? (If I were using MS excel I'd use sort data and s

  • How do I update from 10.6.8 - 10.8?

    How do i update from 10.6.8 to 10.8?

  • HT1338 Why won't Mail open following a software update?

    I completed a software update-after which my mail icon changed - and won't open...