How to make a list of commands

Hi,
I am making a VI to control a pump. I can communicate now with the pump ( thanks to you guys) but my promotor wants an easy acces list of commands to use on the front panel. For example RV00000900 is a command that is send to the pump an agrees with Run mode at 0.9 ml/ min. My promotor just wants a tab to choose the mode ( the pump can work in dispense mode or Constant Run mode) and a command-control to enter the flowrate. How can i make Run mode agree with RV00

Make a Enum with the different commands and you'll have a nice list of commands. Make a control with which to control the speed. Place a Send command-boolean and in it's event you'll build your command from the other two controls and send it.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV

Similar Messages

  • How to make a column as command link

    hi,
    how to make a column as command link.i want to make a table column as a command link so that a popup will come.please let me know.
    thanks in advance

    JDeveloper 10.1.3 does not have a popup but a dialog framework that opens a dialog in a separate browse window. As Chris pointed out, the developer guide contains a section about how to launch the dialog. To programmatically launch the dialog from a command link use its action listener property
        public void commandButton_action2(ActionEvent event) {
    // make the clicked row the current
      //Get access to the value binding
       ValueBinding vb = FacesContext.getCurrentInstance().getApplication().createValueBinding("#{bindings.DepartmentsView1Iterator}");
       DCIteratorBinding dciter = (DCIteratorBinding) vb.getValue(FacesContext.getCurrentInstance());
      //the command link is a child of af:column, which is a child of af:table
      CoreTable ct = (CoreTable)actionEvent.getComponent().getParent().getParent();
      //access the row data, to obtain the Row object and the formatted key string
      JUCtrlValueBindingRef juctrlref = (JUCtrlValueBindingRef) ct.getRowData();
      String rowKey = juctrlref.getRow().getKey().toStringFormat(true);
    //set the current row in the binding
      dciter.setCurrentRowWithKey(rowKey);
    // open dialog
            FacesContext fctx = FacesContext.getCurrentInstance();
            AdfFacesContext adfFacesCtx = AdfFacesContext.getCurrentInstance();
            UIViewRoot viewRoot = new UIViewRoot();
            viewRoot.setViewId("/yourDialogPage.jspx");
            HashMap properties = new HashMap();
            properties.put("width",300);
            properties.put("height",200);       
            adfFacesCtx.launchDialog(viewRoot,properties,(CoreCommandLink)event.getSource(),true,null);
      }If the dialog is based on the same VO then the current row is selected. If not then you may want to pass the value ofthe rowKey in a HashMap as the last argument to open dialog
    Frank

  • How to make a list item field with DATE data type?

    I have a column with DATE data type. Using forms 6i I want to generate a poplist list item field with this column while the value of the elements in the list to will be day names like SATURDAY,SUNDAY,MONDAY. if we change the data type from date to char, it will work properly but now with DATE data type behind it, it gives the following error message
    "FRM-32082: Invalid value for given item type.
    List WEEKREST
    Item: WEEKREST
    Block: EMPRESTS
    Form: MODULE3
    FRM-30085: Unable to adjust form for output."
    Using forms 6i how to make a list item field with DATE data type which can hold day names?

    Set your date column as a hidden (non-displayed) field. Create your list item with the varchar2 day names. Create the list item as a non-base-table field that accepts the text values of day names. On that field, create a when-validate-item trigger that translates the text into a real date, which it then uses to set the value of the actual base-table item.

  • How to make an list row Read only

    Hi All,
        Can anyone please tel me how to make the List row (list item) read only where the status column value is Submit.(i.e the whole row has to be made as readonly, am using event handler to try this out)
    Thanks in advance 

    Hi,
    According to your description, my understanding is that you want to set the list item read only based on the status column.
    If you want to do it using Event Receiver, you need to check the status column value using Server Object Model, then break role  Inheritance and rest role assignments to set the item read only.
    Here are some detailed code demo for your reference:
    Change SharePoint list item permissions to Read only programmatically
    How to: Create an Event Receiver
    Thanks
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to make the list code visible?

    Dear All Experts,
         How to make the list with A1 and so on visible?
         Pls refer to below screenshot:
    Thanks!

    Dear All,
         I already find it.
    Thanks!

  • How to make select list as read only

    Hi All.
    when i m loading a page ...how to make value of select list as read only ..
    i tried doing this ....
    i added readonly attribute to the select list's element attibute ...it is showing as read only field by darkening the select list field but ... the select list is editable even now... its allowing to choose from drag and drop ...
    Thanks & Regard ,
    Nandini

    I have the same requirment..
    I have a select list on a editable form and i want to make that one read only.
    When I use read only property it doent do anything. (But this is working for text items well).
    When I use "disabled' option it works fine. But then that value does not post when use POST the form. So making select list disabled is not a solution.
    Any Idea..
    Thanks
    mc

  • How to make Mutt list messages in a descending order

    Hey.
    How do I make mutt list my messages with the newest message at the top, like in the web interface of Gmail? It is called descending listing starting with the newest message, I suppose.

    .:B:. wrote:
    I have recently switched to Mutt myself, and the manual is unfortunately not a good thing to start. I have pieced together a nice config mainly by googling and stealing stuff from other people's configuration files.
    The setting you want is
    set sort = reverse-date-received
    That will show the most recent mails on top.
    If you want it threaded according to the most recent e-mail in a thread, this should work:
    set sort=threads
    set sort_browser=reverse-date
    set sort_aux=last-date-received
    Alternatively you might use
    sort_aux=reverse-last-date-received
    Hey, thanks. The first one did not work for me, but the second (alternate) did, so this would be the correct config:
    set sort=threads
    set sort_browser=date
    set sort_aux=reverse-last-date-received

  • How to make menu/list (form) item open in it's own window instead of blank one?

    Items in a form (list/menu) that I've created are opening in a blank window (pop-up) when clicked. I would like them to open in "self" mode so that pop up blockers on various computers don't become a challenge for site visitors. Can anyone please tell me how I could make that adjustment using Dreamweaver? I am a novice (if that) in coding, so if there is a design view solution that would be absolutely awesome. Any assistance to get me on the right track would be GREATLY appreciated!! BTW I also made the form a library item (just in case that fact is needed). Also if you need to see the actual link it is
    http://www.graphicmechanic.com/DEKALBCOUNTY/index.html. The "I WANT TO" list is the part I'm referring to.
    I am also attaching 3 files (the .lbi file, the template and the page both are applied to).
    I tried a couple of things already. One was javascript, but I still seemed to have problems, the others were selecting the form and changing the target to self. Another developer said that I would need to apply the target attribute to each link, but I am having trouble doing this.

    No.  They removed that functionality as an improvement to iTunes in version 11.    I saw one person mentioning making a screen grab of the window and displaying it as an image in Preview while looking at the actual iTunes in another window, but it doesn't quite strike me as being the same...
    http://www.apple.com/feedback/itunesapp.html

  • Pages - Tables (and Charts) - how to make a list

    Hello everyone!
    Question. How do I name the tables? Underneath the table. E.g. Table 1 - Statistical Data.
    And then have pages keep track of all tables in a document, in a separate list at the beginning of a document (with perhaps an ability of tracking pages where the tables are, and automatic update of the change of a page, like Table of Contents does)?
    Cheers!

    To summarise the whole process you are simply making a bog standard T.O.C. but using only the particular style you want e.g "Index", in a new section at the front of the document. Then you turn that into plain text and use it for whatever, back in Pages.
    Finally you delete that section when you no longer need it.
    I try to make it a clear step by step instruction.
    Let me know at what point it isn't clear and I'll fix it.
    Peter

  • How to make Select List Read only (Keep key Data)

    I'd like to make a select list read only when the screen is in maintenance mode because the select list value is part of the key.
    However, when I make the select list read only, the update fails because it appears making it disable lose's it's value.
    How can I make a select list read only and keep it's value for update.

    In HTML Header I have
    <script type="text/javascript">
    function Disable_List(pthis,hideitem)
    if ($x(hideitem).value == 'Y')
    {   $x(pthis).disabled = "disabled";
    </script>
    <script type="text/javascript">
    function Load_Start()
    Disable_Item('P5_SUBCODE','P5_XW_HAS_VALUE');
    Disable_List('P5_LTY','P5_XW_HAS_VALUE');
    </script>
    When I click apply changes, my Validation check that doesn't allow nulls in the "P5_LTY" fires saying the field can't be null. The select list is grayed out and I see the value, but the validation check thinks it's null.
    Edited by: spuchc on Jun 15, 2010 8:03 AM

  • How to make a list item

    I have an input item on a canvas that represents a column with only 3 typical values. As a result, i would like to replace the text item in the canvas with a list item so that new values can be easily selected with the mouse without typing.
    I have put a list item on the canvas, but i dont know how to actually make it work so that it is linked to the column i want and give the values i want.
    Any help would be great.

    Ok this was done.
    I found that it was much easier than i expected. Basically you need to use the "Elements in List" property to specify the values, making sure that the values are the same as the ones in the database, after removing the text item first because of duplication.

  • How to make a list of all messages heads in a folder?

    I have a list of all messages with the columns Subject, From and Date
    I'd like a list of all those messages in a specific folder.

    How does your question relate to Firefox support?
    Firefox doesn't do email, it's strictly a web browser.
    If you are using Firefox to access your mail, you are using "web-mail". You need to seek support from your service provider or a forum for that service.
    If your problem is with Mozilla Thunderbird, please '''Tag''' this thread as being for Thunderbird in the right-hand column of this page. This question currently is in the Firefox queue for answers.

  • How to make track lists appear as they do on alb

    I've been having trouble with this lately. I have some albums saved on my computer and I would like them to appear in the same order as the actual album. Now, when I goto import the tracks into the mp3 player everything looks good and seems like it's in the right order, but when its finished importing, I check out the album and it's either in alphabetical or some random order. How can I fix this?

    I'm not sure what software you're using to import. If you are using MediaSource, right-click on a song in your PC music library and select "Edit track properties.."
    Make sure the track number is correct. Your player uses this to sort the songs in an album.

  • How to make Reminders list to appear in chronological sequence

    In using reminder the activity appear in the sequence of making entries. But I want the list to be chronological sequence. Ho to make it?

    Yes indeed, I checked my son's iPad with iOS 6 and it seems it is not possible. Perhaps I mixed it up with such a facility being available and such a facility SHOULD be available. I apologise.
    Short of deleting the entries and reinserting them in the order you want (which may be a lot of work, and in due course becoming incomplete with the addition of new ones) there does not seem to be a solution. However, you could make a request to Apple for an amendment in due course via the a feedback link at the start of this foum..

  • How to Make Library Listing by Album

    On the newest versions of iTunes 10 I've found that it's impossible to make the Music Library be listed by Album only. Previously there was always an album column, but now it seems the best I can get is Album by Artist, which doesn't allow me to find entire albums of music no matter who the artist was. Does anyone know if there is another setting I can use where it brings all the tracks of any given album together no matter the artist, or do I just have to go back to older versions and hate Apple guessing what I want?

    Try clicking that Album by Artist tab until it toggles to Album. I'm still using version 9; in that version that tab toggles from Album to Album to Artist and Album by Year.

Maybe you are looking for

  • Notifications not working at times- is there a ...

    OSX 10.10.2 with  Version 7.2 (412) Bounce Nofiications  do not work for new messages at times ---- This means  that the   skype icon  is not  bouncing when I come back to  mac. Does it have a time out period ? 1. when   I  tested  it,  going to anot

  • How do i get the newest iMessage to show on top

    How do I get the newest iMessage on my Mac Book pro.  The new incoming text messages go down to the end of the computer.

  • Problems with email since upgrading to Lion os

    Hi, I recently upgraded my iMac and macbook pro to Lion os and email has changed on my iMac but not macbook pro, also if i put in the details i have for my email account its not working on my iMac with the upgraded email but it is working on my macbo

  • Provide Access to Microsoft Lync for all BB Z10 users (not only for enterprise customers)

    Hi Team, I am holding a Blackberry Z10 with me, i wanted to install Microsfot Lync in it, but when i tried to intall that app it says contact Admin. i came to knew that it will only install on work place tab. I am bit disspointed about it, erlier i w

  • Discount applied by Item Group Or Properties

    Is it possible to apply different discount percentage prices relating to item group or item properties, to a BP group or BP properties. Eg: BP Group 1 has 10% for Item Group 3 and 15% for Item Group 4. BP Group 3 has 12% for item group 3 and 17% for