Using Scrollbars and also to disable individual element.

I need to display two dimensional array of checkboxes using Labview 7.1. The two dimensional array should have  row headers and column headers.
Also the row headers and column headers are to be scrollable. I was able to make separate scrollable row and column header array.
But this the scrolling cannot be apllied on the two dimensional array of checkboxes. I tried but was able to make it one way only, that is scolling the row header array also scrolls the checkbox array row-wise but not column-wise.
There is another problem with the two D array of checkboxes. My application needs some of the checkboxes to be disabled and others enabled. Since array does not allow individual elements to be disabled , i cannot use array .
So please suggest how to go about this. I have attached a sample VI to explain .
Attachments:
Sample.vi ‏21 KB

Hi Hema,
Would it be acceptable for your application to use only one table, as shown in the attached idea.vi ?
Instead of booleans, you have can compute 0/1 value, no ?
Otherwise I don't know how to do...
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
Attachments:
idea.vi ‏10 KB

Similar Messages

  • How to disable individual elements in array

    How do I disable individual elements in an array at runtime.

    I assume you are referring to the control property "disabled".
    If so there is no way to disable a single element of an array. By definition an array is a collection of data, it is not a collection of controls. A fine line but an important one. So you can configure the single control that makes up the array and defines its type. For example, if you have an array of Booleans, you can change the color of the Boolean. However this will change the color of all the Booleans in the array. It is 1 control, with a lot of values.
    Part of the reason for this is memory. Imagine an array of 1 million elements. If you could set the properties of each element, then to store that array would be incredibly large. It would be 1 million U8s for example, but then all the properties for each 1 million elements would also need to be saved. Therefore your 1 million element array of bytes could easily represent 100 million bytes in memory.
    Let me know if this explanation makes no sense, I usually explain it better, but I think I need more coffee.
    The way around this is clusters. You can change each element in a cluster, so if your array is of a manageable size, change your array control into a cluster of n elements. You can then use the cluster to array function to convert the data to the array of data you need. Unfortunately this method means that before runtime you must know the maximum number of elements you will need. You can always hide the extras, but you can not create more during execution.

  • I have photoshop elements 12 and it shows elements 11 on my icons and also when hitting about elements it states 11 and not 12 ? however the cd shows 12 , I'm confused

    i have photoshop elements 12 installed and it shows elements 11 on my icons and also when hitting about elements it states 11 and not 12 ? however the cd shows 12 , I'm confused as why it shows elements 11 and not 12...

    Where did you buy the CD? Was it a boxed, seal unbroken?

  • Firefox opens up every 5 min a new window, if I am using firefox and also if I am not using it

    using firefox 6.01, but if I am using my laptop the firefox opens up a window, about 5 min later it continues open a new window and so on even I am not using firefox or using it. Not sure what it is but it can be anouying.

    Sounds like a bug to me.
    I would go to my task manager and make sure all web browsers are closing. I would also do a full scan with some good Virus and Trojan software. I suspect an intruder in your system.

  • Passing values using "Submit" and also transition to another tabstrip

    Hi, I am new to VC and have some basic issues in my model.
    I have used two layers, the first one for selection of data and the second one to disply the charts, using tabstrips. when I input the data in the first tab and click "Submit" pushbutton, I could not transition automatically to the second which shows the data. I found that onely one action can be set under custom action on the pushbutton. Is there a better way to do?
    I could get the relevant documents when I searched. Please let me know how to achieve this. Thanks
    KS

    Hi
    Follow the steps below - (I am assuming that you are using BI queries in your model & your tabs are as per quarter - one tab for each quarter)
    1. Create one radio button & in entry list create static list as 1 - Quarter 1, 2 - Quarter 2 & so on.
    2. Now you want plan Vs actual in one graph & Currency in another. So create these reports for each quarter separately, so in all you will have 8 reports (2 for each quarter)
    3. IN the layout you have to arrange it vary carefully, you take all the 'Plan Vs Actual' report for all the quarters & arrange them exactly one over the other. Same for Currency reports also.
    4. NOw Give visibility condition for each report example - if report is for first quarter then condition will be - bool(if(radio button string=="1",true,false)) & assign the default value in radio button as 1. so that at the time of execution you will get these reports by default.
    5. Like wise give condition for all.
    6. When you execute this report you will get radio buttons at the top & as you select different buttons differents report will get opened.
    7. As you have plased these exactly one over the other, user will not come to know these are different reports.
    Try this method, if you have any doubts for this, please do ask me.
    Regards
    Sandeep

  • My grandson never physically synced his iPod touch with a computer, he only used wifi and he has disabled his iPod by typing in the wrong password.  Is there any way we can resolve this

    Can a disabled iPod touch that was never associated with a pc other than by wifi be reactivated

    Place the iOS device in Recovery Mode and then connect to your (really any) computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen        
    If recovery mode does not work try DFU mode.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

  • How to use translatetransform and rotatetransform on Canvas

    Hi,
    Used TransalateTransform and Rotatetransform on canvas individually using ManipulationMode.
    How to apply, both TransalateTransform and Rotatetransform on canvas Concurrently in Windows Store App.
    Regards,
    Chakradhar

    This is the wpf forum rather than windows store app forum.
    It is in your own interest to ask questions in a forum where the most developers who work on your technology of interest are likely to be reading questions.
    https://social.msdn.microsoft.com/Forums/windowsapps/en-us/home?category=windowsapps
    I suggest when you post there you also explain your requirement more.
    EG
    Is this in code, xaml, are you considering binding values, is it the children of the canvas or the canvas itself?
    What end result are you hoping to achieve? 
    Without understanding those I would have to guess what you mean.
    I should think it's pretty similar to wpf.
    A translatetransform is about moving stuff round and you would apply it in xaml like:
    http://www.c-sharpcorner.com/uploadfile/mahesh/translatetransform-in-wpf/
    <Rectangle Width="200" Height="50" Fill="Yellow" Margin="61,27,117,184" />
    <Rectangle Width="200" Height="50" Fill="Blue" Opacity="0.5" Margin="59,101,119,110">
    <Rectangle.RenderTransform>
    <TranslateTransform X="50" Y="20" />
    </Rectangle.RenderTransform>
    </Rectangle>
    A rotatetransform is about rotating something.
    http://www.codeproject.com/Articles/14895/WPF-Tutorial-Part-Transformations
    <ListBox Name="listBox1" FontSize="15"
    Canvas.Bottom="140" Canvas.Left="30"
    Canvas.Right="150" Canvas.Top="40">
    <ListBoxItem IsSelected="True">Canada</ListBoxItem>
    <ListBoxItem>Spain</ListBoxItem>
    <ListBox.RenderTransform> *(1)*
    <RotateTransform Angle="-20"
    CenterX="50" CenterY="50" /> *(2)*
    </ListBox.RenderTransform>
    </ListBox>
    You do multiple transforms using a transformgroup
    https://msdn.microsoft.com/en-us/library/ms750975%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    And you can bind those values to properties of a viewmodel or a dynamicresource.
    This might, of course, be slightly different in windows store apps.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • Asynchronous, but need Ack without using BPM and IDocs.

    Hi Experts,
                     I would like to do a scenario i.e., "Asynchronous communication, but need Acknowledgement without using BPM and also without using IDocs whether it is sender side or receiver side". Please help me.
    Thanks in advance
    Srihari.

    Without using BPM will be little longer process. But the alternative way is to add one more receiver in the receiver determination and send some file to that location with the actual mapping getting executed for the actual receiver. and in the second interface you can get the file created at second receiver back to the source location. But this will be little long as compared to synchronous scenarios.
    Flow:
    Source
              Receiver 1--> Actual mapping as per requirement
              Receiver 2(For Ack)--> Create a mapping with blank file sent to Receiver
    Receiver 2-->File Adapter--> Source through 2nd mapping/interface and keep the File adapter pooling interval around 5 sec or less so that you can get the file back to source location.
    Regards
    Anand

  • Develop Module use of + and minus keys to make adjustments, can the default step size be altered?

    In the Develop Module you are able to click on the name of the slider and then use the + and - keys to adjust each element eg Exposure, Contrast etc etc. The adjustment steps are too large and I would like to be able to change the increments. Has anyone worked out if this is possible?

    Hi Ian,
    You are the last person I ever want to correct around here, but.... it's the . (period) / , (comma) keys for cycling through the Basic adjustments.  This is very handy; thanks for pointing it out.
    As for adjustment size, pressing Shift does make the increments larger, but pressing Alt (on PC) is for Resetting the Tone and Presence sliders.  Using the +/- keys work as expected, but the Up and Down arrows don't always move the sliders.
    John

  • How to use protect and protect

    how to use protect and endprotect for two different element.
    iam using one element for 'tax' and one for 'item total'
    i wnt to print two elements in one page only.

    Hi
    What does 'Elements' mean for u?
    Text Elements?
    You can try to manage it in print program:
    CALL FUNCTION 'CONTROL_FORM'
      EXPORTING
        COMMAND = 'PROTECT'.
    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        ELEMENT = 'ELEMENT1'.
    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        ELEMENT = 'ELEMENT2'.
    CALL FUNCTION 'WRITE_FORM'
      EXPORTING
        ELEMENT = 'ELEMENTN'.
    CALL FUNCTION 'CONTROL_FORM'
      EXPORTING
        COMMAND = 'ENDPROTECT'.
    Max

  • Downloaded Mt Lion Yesterday and my Tool bar has disappeared. I can still access the individual tools but cannot see my header.  I used 'help' and did what it suggested. slected 'hide tool bar' and then 'show toolbar'.  I also restarted etc.

    Downloaded Mt Lion Yesterday and my Tool bar has disappeared. I can still access the individual tools but cannot see my header.  I used 'help' and did what it suggested. slected 'hide tool bar' and then 'show toolbar'.  I also restarted etc.

    Good point BDAqua, the Escape key helps get me back to reality in Lion.
    While I've only dabbled around a little in Lion since it's release (I upgraded a 10.6 Clone to Lion on one of my FireWire Drives) now I'm currently downloading Mountain Lion (to upgrade a Clone of that Lion Clone) so that now I can continue to move forward in madness.
    P.S. Trust me, I'm not laughing. 

  • I don't know what to order. I want PS for photo editing and some composting. I don't do any website work or sharing yet. I have been using elements for a few years and also have Lightroom 5 on my desktop. I don't want to spend $1000s for a bunch of stuff

    I don't know what to order. I want PS for photo editing and some composting. I don't do any website work or sharing yet. I have been using elements for a few years and also have Lightroom 5 on my desktop. I don't want to spend $1000s for a bunch of stuff I don't use. Any advice on what to buy?

    Well, there is a whole world of free or affordable software out there like GIMP, PDPaint and similar. Otherwise if you want to stick with Adobe stuff signing up for the CC photography program would be the most cost-efficient way...
    Mylenium

  • How to disable external VGA and also enable onboard VGA

    hello,
     my spec is
    cpu corei5 ivybridge
    mis zh77A GA43
    vga hd7770 msi
    i want to know, how to disable external VGA and also enable onboard VGA ??
    and
    i want to ask too, if i disable external VGA In MB, it is my external VGA still consumption power? or i must unplug my external VGA ?
    how much different power consumption between external VGA and onboard VGA on idle time?
    because my computer each night be used for download, i want to save power as i can...
    also there is a eco mode? i want to know about eco mode, how much power can be save under eco mode? on idle time computer
    sorry my bad english

    Well remove the HD7770 and is disabled and doesn't consume any power. You can't enable or disable it the discrete vga when pc is in use. That board does also not support Virtu.
    The possible power saving beacuse of eco mode depends on the individual systems. There is no general value. Just try it. 

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • To disable the horizontal scrollbar and to create a next button to navigate

    To disable the horizontal scrollbar and to create a next button to navigate through the records. At present I create a JSF page and drag and drop my table view and then using the Tuning property I have limited the number of records to be shown. But I need to add a button and then code it to display the next few records. Can someone kindly suggest a suitable mechanism to get this accomplished.
    Edited by: 888970 on Oct 2, 2011 10:15 PM

    Hi Erp,
    At present these are the entries that I have in my JSPX page.
    I have a Table, Iterator and a Input List of Values. As per the scenario, I want a few rows to appear on the table for which I wanted to disable the horizontal scroll bar and then once I click on the list of values it must prompt me with the remaining page numbers.
    Earlier there are about 150 records in the table. I want to show them as 15 per page.
    For which I have added the Iterator and a LOV component code in my JSPX page.
    <af:iterator id="i1"
    value="#{bindings.NsEventDetailsView1.collectionModel}"
    var="row"
    binding="#{pageFlowScope.testPageBean.myIterator}"/>
    <af:inputListOfValues label="Label 1"
    popupTitle="Search and Result Dialog" id="ilov1"/>
    Then I created the bean class as per the example.
    Below is the bean class:
    import javax.faces.event.ValueChangeEvent;
    import oracle.adf.view.rich.context.AdfFacesContext;
    import org.apache.myfaces.trinidad.component.UIXIterator;
    import org.apache.myfaces.trinidad.event.AttributeChangeEvent;
    public class TestPagebean {
    public TestPagebean() {
    public void i1ov1_valueChangeListener(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    private UIXIterator myiter;
    public void setI1(UIXIterator myiter) {
    this.myiter=myiter;
    public UIXIterator getmyiter() {
    this.myiter=myiter;
    public UIXIterator setmyiter() {
    return myiter;
    UIXIterator valueIterator = getmyiter();
    if (!valueChangeEvent.getNewValue().equals(valueChangeEvent.getOldValue())) {
    int newPage =
    Integer.parseInt(valueChangeEvent.getNewValue().toString());
    int pageStart = (newPage) * valueIterator.getRows();
    valueIterator.setFirst(pageStart);
    AdfFacesContext.getCurrentInstance().addPartialTarget(valueIterator);
    But i am getting errors in the bean class.
    1. Block expecting }
    2. public UIXIterator getmyiter() {
    this.myiter=myiter;
    Return Statement missing
    3. Block expecting {
    4. Type or variable 'valueChangeEvent' not found
    5. Method 'getNewValue' not found
    6. Method 'getOldValue' not found
    7. Method 'toString' not found
    Can you suggest a possible solution?

Maybe you are looking for