Changing a property of an indicator of the chain in a cluster with a sub - VI

I know that the issue of the update of an indicator on a first level VI of a Subvi has been requested before on the discussion Forum, but my question is slightly different, because I want to update the property of an indicator, not necessarily its value.

In my first level VI, I have a group that contains some indicators of the chain.  The cluster is a typedef.

I want to change the background color of the indicator for red or green of my sub - VI string so that it looks like this:

Creating a reference to the cluster and move to the Subvi do not seem to work.  I'm not able to see the Text.BGColor property to change the background color of the string indicators:

It seems that the creation of a reference to a string indicator and switch to the Subvi might work like this:

Is there a way to better/more elegant to do this? Do I have to create a reference of string for each string in my cluster and send it to my sub - VI?

I've messed around with global variables, but not luck.

Plese help.

You have the right idea.  The cluster reference has a property called [orders].  Which returns an array of references to all the controls in your cluster.  Indexing of those who have properties BGColor, that you need.

Tags: NI Software

Similar Questions

  • Some parts of the chain has lost communication with the Arduino.

    Everything by contacting arduino, the chain that I receive from the arduino is buffered, but it is not completely read by LabVIEW

    and change the data to trace some information is lost. Someone knows how to fix this?

    Information may be useful:

    Arduino mega

    Baud rate: 19200

    Delay in the Arduino loop: 10 ms

    The string is composed of 3 integers values concatenated like this:

    gh123ab123cd123ef

    I m attaching the Vi.

    Thx a lot!

    Paulo

    Is your waiting time in fact 0 milliseconds?  It is not very long wait for a message to come.

    Each message ends with a line as a termination character newline character?  You have the default stop character.  If Yes, then you're better to read a large number of bytes and let the end of termination character read, rather than using "bytes to the Port.  So now that you read, not all bytes have arrived yet, then you're bytes to the port will be less that you really want and you'll have the wind reading an incomplete message.

  • When I try to use the Windows Update link for my XP computer I get a message indicating that the location where the Windows Update stores data has changed and it needs to be repaired. How can I solve this problem?

    When I try to use the Windows Update link for my XP computer and after using Windows Mr. Fix - It, I get a message indicating that the location where the Windows Update stores data has changed and must be repaired. How can I solve this problem?

    I'm not that computer literate and do not understand what needs to be fixed.

    This problem just started a few weeks when I noticed that I had any recent download automatic update that I regularly get. So I tried to do it manually through access via my control panel.

    I use ESET Antivirus Node32 software.

    Hello

    1. What is the error message or an exact error code?

    2 have you made changes on the computer before this problem?

    3. you try to check the updates?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    Reset Windows Update components and then try to download the updates.

    How to reset the Windows Update components?

    http://support.Microsoft.com/kb/971058

    Warning: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: http://support.microsoft.com/kb/322756

     

    Method 2:

    File system scan tool checker and then try to press Ctrl + Alt + Delete and check.

    Description of Windows XP and Windows Server 2003 System File Checker (Sfc.exe):

    http://support.Microsoft.com/kb/310747

    Please respond with more information so that we could help you more.

  • How to change a property of all the elements of the specific type?

    Hello
    This should be quite simple:
    tableA (id, flag)

    There are 2 pages:
    Page 1: allows the user to select P1_ID based on the result set from TableA
    Page 2: there are a lot of items on this page - text fields, areas of text, radio and checkboxes, reports, etc.. He values in these elements are based on the following logic:
    Select < bunch of columns correspond to the page elements >
    from View1, view2...
    where < where clause >
    and
    some_column =: P1_ID

    Question:
    I need to not allow users to change the values in items of type text in page 2, if the value of P1_ID (TableA.id) has a flag value.

    How this can be done?

    The ideal solution would be if I have a routine that requires no coding hard element names.
    Thank you
    Andrew

    Published by: andrey on January 31, 2009 12:51

    Published by: andrey on January 31, 2009 12:52

    Andrew:

    The property that you set is the 'Read only' property for the page element. This is done from the page 'Edit Item'
    The conditions in which this property is set to true can be determined dynamically (no hard coding). Take a look at the list of possible Types of Conidtion. "So if you want the condition to focus on the table you could choose the ' Exists (SQL query returns at least one row)" and the SQL query may be something like
    "Select 1 from where id =: p1_id '.

    CITY

  • Change the properties of a cluster element inside an array of clusters

    Hi all

    I have a table of cluster that has the shape of a line with different elements of the screen.

    A list or a tree would not have made it, so I had to use a cluster and make a.

    The problem is I want to change not only the text but also the color of the text.

    Individually.

    I found this:

    http://www.NI.com/example/30904/en/

    But it changes the property in all groups in the table, not just the one I need.

    Some people have the same problem:

    http://forums.NI.com/T5/LabVIEW/reference-to-array-of-clusters-with-an-array-element/TD-p/1006427

    http://forums.NI.com/T5/LabVIEW/different-set-of-values-for-two-rings-in-an-array-of-clusters/m-p/10...

    http://forums.NI.com/T5/LabVIEW/array-of-clusters-get-references-to-all-the-clusters/TD-p/1079456

    http://forums.NI.com/T5/LabVIEW/how-can-I-reference-the-properties-of-a-control-in-a-cluster-in/m-p/...

    http://forums.NI.com/T5/LabVIEW/writing-only-to-certain-cluster-elements-in-an-array-by/m-p/2200728

    http://forums.NI.com/T5/LabVIEW/update-properties-of-one-control-in-an-array/m-p/3015501

    http://forums.NI.com/T5/LabVIEW/array-of-clusters-and-in-the-cluster-is-a-bar-meter-how-can-I/m-p/15...

    http://forums.NI.com/T5/LabVIEW/property-node-of-a-control-inside-of-cluster-inside-an-array/m-p/946...

    Obviously, even if in a table/list or a tree, you can change the property of an individual

    cells (font, color), you can't do it in a cluster network, by a kind of magic.

    the property of an element of the cluster (font, color) are all connected together, so made

    the use of a table without value.

    A possible hack is available using masking of control, a visible setting and the

    other invisble, exchanging their position, whatever. This is a hack you have to perform,

    Therefore, add another code to maintain.

    Is that still the case, or is it now a more formal way to manage the individual cluster

    Properties, not only its data? After all it is a common example of a real life which should

    managed by Labview. In my opinion.

    David Koch

    Altenbach says:

    One of the elements could be an indicator of 2D about the same size image. You can create text in any color using the features of the image.

    Here's what I had in mind. Seems to work very well (I would refine the border picture fonts, etc., but this should help you get started).

  • When I tried to back up my files, I got an error (0 x 80070013) indicating that the media is write-protected

    When I tried to back up my files, I got an error (0 x 80070013) indicating that the media is write-protected. How can I solve this problem? Thank you for your time, Shawn

    You may not have the correct permissions or own the medium on which you try to perform the backup.  Here are some instructions on how to give you the right permissions and Take Ownership (if necessary).

    To view your permissions, right-click on the file/folder/drive, click Properties, and check the Security tab.  Check the permissions you have by clicking on your user name (or group of users).  Here are the types of permissions, you may have: http://windows.microsoft.com/en-US/windows-vista/What-are-permissions.  You must be an administrator or owner to change the permissions (and sometimes, being an administrator or even an owner is not sufficient - there are ways to block access (even if a smart administrator knows these ways and can move them - but usually should not because they did not have access, usually for a very good reason).)  Here's how to change the permissions of folder under Vista: http://www.online-tech-tips.com/windows-vista/set-file-folder-permissions-vista/.  To add take and the issuance of right of permissions and ownership in the right click menu (which will make it faster to get once it is configured), see the following article: http://www.mydigitallife.info/2009/05/21/take-and-grant-full-control-permissions-and-ownership-in-windows-7-or-vista-right-click-menu/. In this csse make sure grant you full permissions and check also advanced special permissions (including the inherited permissions) which can substitute for this entry to limit your rights by assembling as well.

    To resolve this problem with folders or drive, take possession of the records or the reader (as an administrator) and give you all the rights.  Right-click on the folder/drive, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder/drive, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for files and folders/player who can change the required permissions.  You can change now switched to read-only (even if the main folder indicates that they are always read-only - you can access yourself as the owner).  You can keep them in read-only to other users, customers and administrators even (although they can support themselves and access, if they wish, and it is really not that you can do to stop it except protect the file with a password by using a 3rd party product.)  Here is more information on the ownership of a file or a folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html.  To add take ownership in the menu of the right click (which will make it faster to get once it is configured), see the following article: http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-menu-in-vista/.

    Good luck and I hope this helps!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Button changes style when it is connected to the application manager

    I connected the standard axButtons for the application handler in a custom IOS built in CSharp using Visual Studio 2008.  When I run the OI, the buttons change to standard style (edges rounded, etc.) what looks like a classic style (square edges, no color gradient, etc.).  At first I thought this might be a limitation of CSharp, but when I ran the CSharp UI executable (comes with Teststand), the buttons seem correct.  Is there a reference that I haven't added or something?  I followed (copied about) the code found in the CSharp UI complete, leaving aside the functions that I didn't need.

    This is the only true code on both buttons.  It's pretty simple, so I imagined what a project property that I have install incorrectly.  I have also included the namespaces I've included.

    Thanks for any help

    using NationalInstruments.TestStand.Interop.API;

    using NationalInstruments.TestStand.Interop.UI;

    using NationalInstruments.TestStand.Interop.UI.Support;

    using NationalInstruments.TestStand.Utility;

    Connect sequence controls

    this.axSequenceFileViewMgr1.ConnectCommand (this.axEntryPoint1Button, CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0, CommandConnectionOptions.CommandConnection_NoOptions);

    this.axSequenceFileViewMgr1.ConnectCommand (this.axEntryPoint2Button, CommandKinds.CommandKind_ExecutionEntryPoints_Set, 1, CommandConnectionOptions.CommandConnection_NoOptions);

    Shawn-

    No problem. I've attached a zip file that contains the recommended manifest file and the updated project file that references. I didn't create the manifest file, place the file in the directory of the project file, add the manifest file to the project, select the file in the control of the ring on the settings tab application to embed the manifest, rebuild the project and run.

  • Do not display on the indicator of the value of void / vi

    Right now I have a situation, where I use a subvi and try to connect an indicator to the block via the main program of VI. Somehow it is connected, but on the main VI main VI is not updated with the changes. It updates in the Sub - VI. Data, I just open the com port and allowing data to flow in (data can be seen high SubVI_frontpanel image) here are some pictures:

    Image: MainVI, façade

    Think of the data stream. Your Subvi won't end until you press the stop button, so the result will be not available in main VI until it happens.

    If you must pass the value out permanently, consider using notifiers or queues.

  • When I turn on the computer of mymy and it gives me request error indicating that "the required data was not put into memory due to an error of e state / of"0xc000009c".»

    Original title: IO error

    OK so I turn on my computer and it gives me request error indicating that "the required data was not put into memory due to an error of e state / of"0xc000009c".»

    I run an xp windows 2003-04. My computer does not start completely and if I click on debug or put end to the program there just restarts the computer. How can I solve this problem? and is it possible that I can update my software?

    You say that you can not even start in Safe Mode, so method 1 will not help you, method 2 will not help you and 3 method will not help you.

    I start in the XP Recovery Console and first run a chkdsk/r on the afflicted system, but since we don't know anything about your system, we will need more information.

    It is a shame that in the forums MS Answers, the first response to a new question is (or should be) a request for more information...  You are 5 days in your problem, and so for him it seems that you are not getting anywhere.  If the thread goes inactive for more than a few days, the response of the Microsoft Support Engineer will become the 'response' automatically because it has links to the KB articles.

    Since the Microsoft Answers forum does not have any kind of information system request when a new question is asked, we know absolutely nothing about your system.  Not knowing the basic information a problem prolongs the frustration and the agony of these issues.

    Thank you MS Answers, allowing the resolution of simple problems as frustrating and a lot of time as possible.

    Provide information on your system, the better you can:

    What is your system brand and model?

    What is your Version of XP and the Service Pack?

    Your system have IDE or SATA disks?

    Describe your current antivirus and software anti malware situation: McAfee, Symantec, Norton, Spybot, AVG, Avira!, MSE, Panda, Trend Micro, CA, Defender, ZoneAlarm, PC Tools, Comodo, etc..

    The question was preceded by a loss of power, aborted reboot or abnormal termination?  (this includes the plug pulling, buttons power, remove the battery, etc.)

    The afflicted system has a working CD/DVD (internal or external) drive?

    You have a genuine XP installation CD bootable, which is the same Service as your installed Service Pack (this is not the same as any recovery CD provided with your system)?

    If the system works, what do you think might have changed since the last time it did not work properly?

  • To configure Group policy so that after 5 invalid logon attempts computer display an error message indicating that the account is locked out for 30 minutes

    Original title: function or Vulneralbility? [Lock Group Policy]

    Hello world

    I have Windows XP Service Pack 3 with automatic updates turned on and the protection in real time against malware.

    I use Group Policy to configure for my computer account lockout policy, indicating that the account is locked by 30 minutes after 5 invalid connection attempts. I also use the TweakUI Autologon feature. (you can ask why the account lockout is necessary when automatic login is turned on?) Hold on...). Please also note that the feature of quick change of user on my PC is off, too. (but I still use the Welcome screen)

    So, when I have already connected, press Win + L to lock my workstation. Now, I begin to grasp things at random to be used as password. So that after a few failed attempts, the system displays: "cannot open a session because your account is locked. Please contact administrator.

    However, when I entered the correct password now, the system will always connect.

    I don't know if this is a feature of Microsoft Windows or a vulneralbility.

    More information: my computer is NOT a part of a domain, it belongs to the "MSHOME" workgroup and has file and printer sharing.

    Any help is appreciated.

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited on the TechNet community.

  • I'm trying to change the ownership of directories/files with a domain network environment (using takeown)

    I'm changing the ownership of files/directories with a domain network environment. Using takeown /f \\server\share/r/a/dy. It works fine but when I check the property is actually on my administrative account as the owner. I'll need for administrators to be owner and not mine administrative account. Can you please help?

    Thank you

    RG

    Hello

    Your question of Windows is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for support on Windows Server. Please post your question in the below link: http://social.technet.microsoft.com/Forums/en/category/windowsserver

  • Short property Type and Date of the reading system


    Hi friends,

    We have a requriement for loading data in short which is of type 'Date' and we should be able to sort by date as well.

    Also, we have an obligation to create a property by reading the date system.

    Please indicate what changes are needed?

    We have the data in the format 12/11/2013, I tried to create a property by its name "Date" and "Datetime" type and it mapped to the source data, but it does not appear in app REF.

    If we change the data format(11/12/2013) above source to a different format? If so, what changes are needed?

    Also, for the 2nd condition, I guess we can add a manipulaotr, but please inform on why the property is not displayed in Ref app?

    Please note that we donot use latitude.

    Kind regards

    Shreyas

    Take a look in the fundamental development Guide, there is a specific format for the Date and time properties they need to conform to the.

    A simpler approach is to reformat YYYYMMDD (so 20131211) either a manipulator XML or in your code retrieves data, set the property as Type = digital and then sort by there.

    Michael

  • Text disappears when I move my time indicator to the right

    Hello

    I created a simple text and wanted to animate it, but it disappears when I move my indicator of time from 0 to 2 seconds.
    I thought it's because the text but I tried with a shape layer, it does the same thing,

    I also tried to click the stopwatch to create a KF: the lozenge KF turn on frame 0, but then when I move the time indicator to the right, once again, my object disappeared and I can't put another keyframe by changing his position...
    Thanks for your help,

    Check your file preferences and new layers the length of the model. Your shape layer is a long chassis.

    Start here: AE Basics

  • Is there a script to make changes specific attrubute to all layers in the project?

    Hello and thanks for your time!

    I have a project that contains a large number of compositions with many layers of shape of each.

    Is there a way to make global changes to property size STROKE of shape layers, for example 0px 1px?

    Thank you.

    This should work for you. Down is the line of code that you can set the value of the width. It will look like this a.property (i) .setValue (1.0); //STROKE WIDTH VALUE

    BEGINNING

    var app.project = proj;

    var comps = getAllProjectComps (proj);

    for (var i = 0; i)

    searchLayersAndChangeVal (comps [i]);

    }

    function getAllProjectComps (sourceFolder) {}

    try {}

    var itemAry, itemsInFolder, itemsInFolderLength;

    itemAry = new Array();

    itemsInFolder = sourceFolder.items;

    itemsInFolderLength = itemsInFolder.length;

    for (var i = 1; i)<=itemsInFolderLength;>

    If (itemsInFolder [i] instanceof CompItem) {}

    itemAry [itemAry.length] = itemsInFolder [i];

    }

    }

    Return itemAry;

    } catch (err) {alert ("error at line #" + err.line.toString () + "\r" + err.toString ()) ;}}

    }

    function searchLayersAndChangeVal (compSource) {}

    var layerCollect = compSource.layers;

    var layerCollectLength = layerCollect.length;

    var curLayer, accessories, propsLength;

    var propObjAry = new Array();

    for (var l = 1; l)<=layerCollectLength;>

    curLayer = layerCollect [l];

    If (curLayer instanceof ShapeLayer) {}

    getStrokeWidthAndChangeValue (curLayer);

    }

    }

    }

    function getStrokeWidthAndChangeValue (a) {}

    try {}

    var propLength = a.numProperties;

    for (var i = 1; i)<=propLength;>

    If (a.property (i) .matchName == "ADBE vector Stroke Width") {}

    a.Property (i). SetValue (1.0);          VALUE OF LINE WIDTH

    }

    If (a.property (i) .numProperties > 0) {}

    getStrokeWidthAndChangeValue (a.property (i));

    }

    }

    } catch (err) {alert (err.line.toString () + "\r" + err.toString ()) ;}}

    }

    END

  • Why AE creates images key unwanted whenever I have change a property?

    Hi all...

    While hoping that maybe somebody could shed some light on this - whenever I go to change a property of a layer, AE (CS5.5) creates a keyframe that I don't want to, even if I didn't click the button on the stopwatch.  Any thoughts?  What is happening to someone else?

    Example: I have a model containing a PNG sequence on a layer above some video footage.  I want to move the model the right way, so I select the layer and move it to the right.  Suddenly, the stopwatch icon Active (without me clicking on it) and a keyframe appears on the timeline of the layer where the playhead is.  Very befuddling and quite irritating - if I'm bored, forget remove the key and try again later to animate the layer, it messes up the animation, and I have to go hunting for the thief key.

    in any case, I hope that someone out there has an idea of what is going wrong and still more if all goes well, how to fix it.  I have a horrible suspicion that he puts some that I've accidentally changed...

    Thank you all!

    p.

    Hello world.

    Scratch the above - just spotted the massive big red "self-image changed properties key" button at the top of the timeline.  Oh!

    Thank you all,

    p.

Maybe you are looking for