Accessing indicator properties when in an array of clusters

I have a cluster with a numeric, boolean and string indicator (total of 3 indicators). This cluster is in an array with 5 rows. How do I set (for example) the  blinking property of the boolean in the 3rd row to true?
Solved!
Go to Solution.

Hi S-T-G,
the general way of getting the right reference is shown in the attachment.
BUT:
In an array all elements have the same properties (beside the value). So you cannot set just one boolean in a cluster element to blinking!
Message Edited by GerdW on 12-14-2008 07:50 PM
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome
Attachments:
blinking.vi ‏25 KB

Similar Messages

  • Event Structure's value change, not detecting changes when tabbing thru array of clusters

    Hi!  I have an array of clusters (int, int, string, int) control, and want to detecting changes made to the it.  I used the Event Structure's value change case on the array, it works excellent except that it'll only detect the changes when you click out of the element or press the enter key (the one by the numbers, not carriage return).  I want it to detect the changes when I tab thru the cluster or array too, but I can't figure it out... Does anyone have any ideas?
    Thanks!

    mfitzsimons wrote:
    altenbach
    Tried Value Change with my example done in 7.1 and it doesn't trgger an event.  That is why I suggested Mouse Down.
    Curious. I did a few minor edits in 8.0 before saving as 7.1, but the simple value change event got triggered just fine when the value vas terminated with a tab in 7.1. Every time.  Strange....
    Are you on 7.1 or 7.1.1? Maybe there's a difference (I am using 7.1.1).
    LabVIEW Champion . Do more with less code and in less time .

  • Accessing button properties in an array of clusters ...

    I have a situation whose solution is eluding me.
    I built an array of clusters (15 of clusters in the array). Each cluster is a boolean LED control and a path control.
    The array is wired to various VIs. One of these VIs is supposed to
    select a path from the array and then change the color of the LED that
    is clustered with that path. The path part works because I am reading
    the value of that array element. The problem is that I don't know how
    to get to the associated LED properties.
    I have used several approaches, but in all cases: when I change the color of the target LED, all 15 LEDs change color.
    Inside of a while loop with indexing enabled, I have unbundled the
    current cluster and then tried to apply a property node to the LED
    element but all LEDs change color.
    So the question is - How do I access the individual LED properties in an array of clusters?

    In an array only the values can be different for different elements. The properties are the same for all elements.
    You can work around this by using a color box, which has the color as the value.
    Here is an example of a color box customized to look like a LED with an explanation of how it was created.
    Try to take over the world!

  • Accessing button properties in datagrid row?

    Hi
    I ve a datagrid which has a button in each row called "Select". When the user clicks the button it calls a function which saves the row details in an array. I also want to change the label and icon of the button but don't know how to access it?
    I ve tried giving each button a unique ID but I "is not a valid identifier" so I m really not sure how to access each button from my main script, anyone help?
    Cheers in advance
    Shaun

    Hi
    Thanks for replying, I m still unsure of how to access the properties of a button in a row? I currently have the code below and am struggling to access the properties of the 'Add' button so I can change the label and icon?
    Cheers
    Shaun
            <mx:columns>
                                <mx:DataGridColumn headerText="Group" dataField="groupName" width="130" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Article Number" dataField="articleNumber" width="200" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Article Name" dataField="slideTitle" width="230" editable="false" sortable="false" />
                                <mx:DataGridColumn headerText="Colourway" dataField="colourway" width="218" editable="false" sortable="false" />
                                <mx:DataGridColumn editable="false" paddingLeft="5" sortable="false">
                                    <mx:itemRenderer>
                                        <mx:Component>
                                            <mx:VBox>
                                                <mx:Button label="Add" icon="@Embed(source='assets/icons/add.png')">
                                                    <mx:click>
                                                        <![CDATA[
                                                            outerDocument.addItemToCart(data);
                                                        ]]>
                                                    </mx:click>
                                                </mx:Button>                                               
                                            </mx:VBox>
                                        </mx:Component>
                                    </mx:itemRenderer>
                                </mx:DataGridColumn>

  • How to access System properties in xml file

    hi,
    i want to read system properties in my xml file using ${} .
    I tried it but did not find any way.But when i use log4j if i set some variable in
    System properties that properties is read by the log4j.properties .
    I am writing a simple program that read a xml properties file file
    try {
                props   = new Properties();
                fis     = new FileInputStream(xmlFile);
                props.loadFromXML(fis);
    }before reading this file i set some properties and accessing this properties from that xml .but i cant.
    Thanks

    sabre150 wrote:
    fun_with_java wrote:
    can you give some example?Not really - I would have to write the code for you and I'm not getting paid for writing your code.Thanks for your kindness.
    I dont ask you to write the code.Need some help to start it .Actually i dont have knowledge that
    whether xml file automatically read it or i have prase the system property manually. Now i got the way to
    access system property in xml..
    Ok thanks again..
    Thanks & Regards

  • Not Able to Access the Properties of Workspace and Target

    Hello
    I have install PB 11.2 Build 9027 on my laptop ( Winows 7 (64 bit))). PowerBuilde is open and able to see the existing code.
    But when I am trying to access the properties of Workspace or target for Source code control Setup, Properties will not come and nothing happen, I am not able to view the properties of Workspace and targets.
    One more think I notice ,when I was trying to create new application (File > New > Target Tab > Application)  then window will not open.
    Please provide me some suggestion on this issue.
    Thanks
    Amit Maheshwari

    Hi,
    You might find a much larger audience for technical questions if you open a discussion at the PowerBuilder Developer Center
    PowerBuilder Developer Center
    Thanks,
    Ben

  • Change properties of a cluster element withing an array of clusters

    Hello all,
    I have an array of cluster that is shaped as a line with different display elements.
    A list or a tree wouldn't have made it, so I had to use a cluster and make a table.
    The problem is that I want to change not only the text but also the text color.
    Individually.
    I found this :
    http://www.ni.com/example/30904/en/
    But it change the property in all the clusters in the array, 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, while in a list/table or tree you can change the property of an individual
    cell (font, color) you cannot do it within an array of cluster, by some sort of magic,
    the property of a cluster element (font, color) are all linked together, hence rendering
    the use of an array worthless.
    A possible hack is proprosed by using control masking, setting one visible and the
    other invisble, swapping their position, whatever. It's a hack you have to perform,
    hence add another code to maintain.
    Is that still the case or is there now a more official way to handle individual cluster
    properties, not just its data ? After all that's a common real-life example that should
    be handled by Labview. In my opinion.
    David Koch
    Solved!
    Go to Solution.

    altenbach wrote:
    One of the elements could be a 2D picture indicator of about the same size. You can write text in any color using picture functions.
    Here's what I had in mind. Seems to work just fine (I would fine-tune the font, picture border, etc. but this should get you started).
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    ColorText.png ‏13 KB
    ColorText.vi ‏9 KB

  • Not enough memory error when passing an array to a chart

    Hello.
    I am trying to pass some data from a reading loop to a display loop using queues and charts.
    In order to save on redraws I am reading the queue just once a while, flush it and pass the resulting array to the Chart. It is actually an array with clusters of three values.
    Everything works fine unitl I actualy want to display the chart. I can pass the data and see it using an indicator without any problems.
    When I wire the data to the chart it randomly shows : "not enough memory to complete this operation"
    The fact is the array being passed to the chart is of random size.
    The queue size is good for about 20 min. Labview shows an error after a few seconds. After clicking ok it prints out the results correctly and then a second or two later same error.
    What am I missing here? Thanks
    LV 2012 f3 I7 2.4GHz 16GB RAM
    Attachments:
    TestChart.vi ‏17 KB

    Not sure if it helps or not but here is the error.
    I put about 200 elements/s in the queue. That is why instead of reading it 200/s I just want it to read it once a while.
    I am not sure what is a bigger burden:copying one 500 elements array twice a second or 200/s and 200 calls to the Queue.
    The max size of the queue is not important here. I can set it to something more reasonable and will get the same error.
    What will happen to my CPU usage if I put the Chart in the for loop and make 500 call to it? And then half a second later another 500 calls?
    As I said at this point I do not know how much history I need or not but all I want is to be able to see a few s of it. If I loose the rest it is ok for now. 
    Lets says that all I care is to see it close to real time with a history of 5s. It would mean the queue buffer size of  1000.
    Back to the main problem: why do I see the memory error  window when I know clearly that I have plenty of memory left.
    Attachments:
    Error.jpg ‏18 KB

  • Accessing array of clusters

    Hey everyone,
    I'm new to Labview and am trying to create an array of clusters.  I have a 16-channel TTL I/O interface and I want to access each channel of the I/O.  Each channel has an input/output boolean button and an output high/low (0 or 5 V) boolean button.  I want to be able to read what my output selection is set to with an enum indicator.  What's the best way to be able to access, say, channel 7's input/output selection?  Or how would I read channel 12's output setting?  Thanks a bunch!

    Hello!
    Sounds good -- let us know if we can help out in any way!
    Message Edited by Travis M. on 11-01-2005 11:19 AM
    Travis M
    LabVIEW R&D
    National Instruments

  • I have a lot on books on my Kindle account. I have downloaded the app onto my IPAD but can only access my books when connected to WIFI, i would like to read them offline. Have I missed a download step. Thanks for any help you can give.

    I have a lot of books on my Kindle/Amazon account. I have downloaded the Kindle app onto my IPAD mini by can only access my books when connected to WIFI, how can I read them off-line?

    Yes, you've missed the download step.
    Open the Kindle app and navigate to your Library. There is a tab at the bottom that says Cloud | Device. Tap the Cloud tab and tap the books you want to download to the device. You will see a progress indicator during the download. Once it's done, read away!

  • Having trouble accessing the internet  when my iphone is plugged into my pc

    Cannot access the internet when my phone is plugged into my pc

    If your computer is running Windows, go to Control Panel > Administrative Tools > Services.  Check to see if "Apple Mobile Device" Service is Started.  If not right click on this service and select Start.  Also make sure Startup type is set to Automatic.  If not, right click on this service, select Properties and set it to Automatic.

  • Access log4j.properties outside source folder

    Hi,
    I have developed a standalone java application, for logging the application i have created a log4j.properties in the source folder.
    it is woring fine and the logs are created as specified in the properties file.
    Issue:
    i have created a jar which contains the complete source code and log4j.properties file.
    if i try to create a jar without log4j.properties since the properties file will change by customer frequantly, i need to keep the log4j.properties outside the source folder.
    but my jar is unable to access the log4j.properties when i try to run the appplication.
    Question:
    how do we access the log4j.properties from outside source folder?
    thanks,
    J R

    gimbal2 wrote:
    T.PD wrote:
    In addition what gimbal2 sad: Do you create a MANIFEST.MF file in your jar?
    If so you should add (or extend) the ClassPath entry to include the current directory ( *.* ) so you can have the log4j.properties file in the folder where you call your jar from:[...]This is very dangerous. It makes the path not relative to where the jar is, but to where you invoke the java command.The OP's request is to have the (log4j) properties file outside of the jar maybe for easier editing.
    Adding any known folder in the file system to the class path is the only way I know to achieve this (Do you know better?). Folliwing this you could try to guess paths to add hoping that they will exist on all Systems you will use and place the properties file(s) there. On the other hane the current working dir the java command is invoked in is perdictable. Usually it's the directory the jar itself is located...
    I agree that this solution can be dangerous and opens the possibility to access classes located in a valid package structure below current working dir . But if you add the ' *.* ' as the last entry in your classpath at least the classes from all your other jars are accessed first...
    bye
    TPD

  • Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    Why isn't my iTunes store loading properly? It lists everything in text without images, and I can't seem to access the store when I try to search for music or movies etc.

    1) The best way to relocate the iTunes library folder is to move the entire iTunes folder with all subfolders to the new path, then press and hold down shift as start iTunes and keep holding until prompted to choose a library, then browse to the relocated folder and open the file iTunes Library.itl inside it.
    If you've done something different then provide some more details about what is where and I should be able to help.
    2) Purchases on the device should automatically transfer to a Purchased on <DeviceName> playlist, but it my depend a bit on whether automatic iCloud downloads are enabled. If there is a cloudy link then the transfer might not happen. You can use File > Devices > Transfer Purchases. In iTunes you should also check out iTunes Store > Quick Links > Purchased > Music > Not on this computer.
    3) Backup the device, then immediately restore it. In some cases you need to add a restore as new device into that equation. Obbviously not to be attempted until you're sure all your media is in your library. See Recover your iTunes library from your iPod or iOS device should it be needed.
    4) I believe there is complimentary 1 incident 90-day support with hardware purchases, but no free software support for iTunes itself. AppleCare gets you a different level of support.
    tt2

  • How can I access the properties of Microsoft files (excel, ppt, and word)

    Hi,
    How can I access the properties of common Microsoft file formats (Excel, Word, and Powerpoint) from a Java program. You can access/modify the properties of each document type using File->Properties in each MS application. The properties are essentially name/value pairs.
    Basically, I need to write a java program that scans a directory and accesses the properties in each of the MS files in the directory.
    thanks,
    -john

    By api. That is only way to establish a contract with the MS programs you want to interface with, unless you write an api yourself! I've used POI and it was an awesome way to use Excel in java. I created an excel spreadsheet from the results of a sql query from a batch program and then it was automatically emailed using javamail to my client. I had a lot of VBA experience with Excel, Word, and Outlook and it didn't take me long to get used to using Jakarta-POI.
    Now I see there is Jakarta-POI-HWPF which works with MS Word documents. Go to: http://jakarta.apache.org/poi/

  • HT4623 I updated my iPhone 4s and cannot access Passbook. When I click on App Store, I get the following message "cannot connect to iTunes Store." How do I correct this?

    I updated my iPhone 4s and cannot access Passbook. When I click on App Store, I get the following message: "cannot connect to iTunes Store." How do I correct this problem?

    That's because there are not enough apps that use Passbook yet. Wait.

Maybe you are looking for

  • How come we can no longer sort by album, only "Album Artist"?

    Total BS. If you're listening to a soundtrack album with a ton of artist, you have to know the name of the first artist listed to find it in your library. They used to just have an "Album" sort field, now it is "Album Artist" and "Album by Artist", r

  • ADF table based on dynamic query

    I am new in JDeveloper and ADF. I want to add an updatable ADF table on a JSF page, but I want to use dynamic criteria for the query on which the table will be based on. The user will fill in some fields then press a button. Then a daynamic where cla

  • Proftpd and filezilla not usable on Solaris 11 in passive mode

    Having problems with proftpd on Solaris 11 and wondering if anyone else has noticed this? The clients are Windows & filezilla! I have not changed any settings and just started svc:/network/ftp:default and I have noticed I am getting a lot of timeouts

  • Error message 'The Condition evaluates to false' using Form Personalisation

    Hi, In Oracle HRMS Under Assignment screen 2 fields are there 'Grade' and 'Payroll' w.r.t Grade field Payroll field should display i.e. If we enter grade field '1' by default Payroll field should display value' MANAGEMENT PAYROLL' NAVIGATION: India H

  • Can't open Logic 8 after successful install?

    Hey, For some reason, after I successfully install Logic 8 onto my MacBook Pro, I cannot find the software anywhere on my computer, not even in applications.  Need help locating the program and running it.  Thanks for your time.