How to add integer value of two buttons?

how to add integer value of two buttons (any button) in VI and display it in output text box? i have attached example program, but i know its wrong.. please help
Solved!
Go to Solution.
Attachments:
add.vi ‏8 KB

thanks for reply. i am trying to assign an integer value to a button and the button should send the assigned integer value to TCP/IP write, only when the button is pressed. i am able to send data using string control (as shown in the attachment) but i want to replace it with several buttons. for example, if i enter 2 in string control, this data will be sent to a robot (robot has wifi card)  through tcp/ip protocol, it moves front. 3 will make it to move back, 8 is left, 6 is right. this numeric data is already burnt into blackfin processor of the robot. so just by entering numbers in labview can make my robot move in specified direction. can you please help me to create a button with value and convert it into string and send it to tcp/ip write. this should happen only when the button is pressed. because, if i enter numbers in string control, it dosent looks good..... if i have buttons... i think my VI will look good and hitech.
Attachments:
robo.vi ‏9 KB

Similar Messages

  • In BADi , How to pass the values between two Method

    Hi Experts,
    We have two methods in BADis. How to pass the value  between two Methods. Can you guys explain me out with one example...
    Thanks & Regards,
    Sivakumar S

    Hi Sivakumar!
    Create a function group.
    Define global data (there is a similiar menu point to jump to the top include).
    Create one or two function modules, with which you can read and write the global data.
    In your BADI methods you can access the global data with help of your function modules. It will stay in memory through the whole transaction.
    Regards,
    Christian

  • How to add web page in office button of ms office 2007 using c#?

    I want to add web page in office button in ms office 2007 using c#. How to add it? ribbon menu button should be in office button. when i click menu the web page should display in menu itself. tell me the solution.

    Hello,
    You can't place anything in the Ribbon UI (aka Fluent UI), only the predefined set of controls according to the Ribbon XML scheme. Read more about the Fluent UI in the following series of articles in MSDN:
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 1 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 2 of 3)
    Customizing the 2007 Office Fluent Ribbon for Developers (Part 3 of 3)
    Consider opening a web browser in a child window (separate) or using a task pane for that.

  • In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    In Scom,How to add CAC value in given MP (management pack)? Please give me in detail procedure with example if possible.

    Hi 
    CAC is System.ConsolidatorCondition condition detection module used to consolidate the monitoring i.e. you can generate an alert on multiple occurrence of issues instituted of generating single alert for issue.
    refer below link for more information
    http://msdn.microsoft.com/en-us/library/ee809324.aspx
    http://social.technet.microsoft.com/wiki/contents/articles/20301.how-to-add-consolidation-for-url-monitoring-in-scom-20072012.aspx
    Regards
    sridhar v

  • How to add field value to the standard table

    Hi,
    How to add field value to the standard table?
    for example:
    when we go to TCODE SE16-> VBAK table -> on the selection screen if we press F4 against VBTYP we get all the available values for that field. How to add a new document Category value to this field so that it shows up in F4 help for that field.

    Hi Asif,
    I don't think it is possible and feasible for adding new field value to the field VBTYP because it is not possible through SPRO.
    If u see the domain of this field VBTYP we have fixed values provided by SAP. There is no value table for this. If u have value table then it will be updated through SPRO. But still if u really want to add some value u can do that by getting access key and add the value in the fixed values of the domain. But of no use other than simply displaying in F4. Because for what ever value u created here there will be no documents in VBAK or any table using this domain.
    Hope this is clear for u.
    Thanks,
    Vinod.

  • How to add the Social Network share buttons (that work!) to share INDIVIDUAL post from the same page

    How to add the Social Network share buttons like Facebook and Twitter (that work!) to share INDIVIDUAL post on the same web address in Dreamweaver? I have searched on google and youtube tutorials, but most of them are "Blogger" and  "Wordpress" users.. The only Dreamweaver tutorial is the one that share THE WHOLE page (not individual post on a page). There is Facebook Integration on Dreamweaver (29 Dollar download from Adobe) but so far no review about it so  I don't want to spend money for something I don't know.  There is also Sharrre but they say there is a bug. It seems like everyone out there use these buttons but I start to get crazy since it seems easy but it's actually complicated to get the html or js script to paste on! Any help would be very much appreciated. Thanks.

    Cool,
    Here is my test site. I have made at least 3 articles (Fashion, Sport, and Art) with thumbnail images on it.
    http://andiratih.free.fr/
    On each article I add the share buttons from "AddThis".
    However, if I want to ONLY share the "Sport article" on Facebook by clicking share-->Facebook, then the feed is scrambling my images on other articles too and it eventually just share the whole page instead of one particular article.
    It is now fine since I only build 3 articles, but as you see when the page is getting long with at least 20 articles it will not be ok.
    I don't want to make individual page for each article either, since they are just short article each, and I intend to use this page as a welcome page to update the latest activity every half year.
    I have seen many bloggers or pages where even if they have many article on ONE page, they are able to share one particular article to Facebook, and when we click (via Facebook) it will redirect us to exactly that particular article even if the article is on the bottom of the page, and not just bring me to the top of the page only and have to search by myself by scrolling to the bottom of the page to see the article.
    Infact, Bloggers and Wordpress seems to have the tool for that so that we can just click and add. I am not a Blogger or Wordpress users but I saw youtube tutorials on that.
    I have heard about Dreamweaver behavior, and does this will help to achieve what I want (sorry I'm a beginner)? I also heard about meta tags but I don't know how and where to get them to paste to my html source code.
    I have found several sites where the person show how to do this, but when I tried it didn't work, and in fact some other discussions about this are never solved.
    Thanks for your input.

  • How to add the value of the two text boxes in the 3rd text box in ssrs table?

    Hi ,
    in my ssrs table i encountered a situation where i need to computing for the two text box values and i have to show that value in page header.
    for example i have to add the textbox9 value and textbox12 value then i have to show that value in the page header.
    Please help me with this requirement.
    Thanks in advance,
    Naveen

    Hi NaveenMSBI,
    According to your description, you want to sum the value of two textboxes, then display it in a page header textbox.
    Just PrajapatiNeta said, an expression in a page header or footer can refer to only one report item. So we can create a hidden textbox named textbox20 with the expression below in the report body:
    =reportitems!textbox9.Value + reportitems!textbox12.Value
    Then use the expression below in a page header textbox:
    =reportitems!textbox20.Value
    Besides, please note that in a page header or page footer section, only text boxes on the current page are available as a member of the ReportItems collection. For example, if ReportItems!textbox20.Value refers to a text box that only appears on the first
    page for a multipage data region, you can see a value only for the first page.
    Reference:
    ReportItems Collection References (Report Builder and SSRS)
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to add a copy option or button in apex report

    I aint sure if this is meant to go in this disccussion. If an wrong please let me know the right place it should go. Thanks
    I need soime help implamenting a copy button/option in oracle. I have a interactive report and when you click on the unique id it takes you to the form where you can edit the report. Now I wanted to add an option so when you click on the unqie id(pencil in edit area). It will give you 2 option, one of the option will be to view the report(view) and the other option will be to copy the report. If you click on view, it should take you the form where you can edit the report and when you click on copy, it should copy the report and take you to a blank form.
    Another option is to have a copy button on each report next to the unquie id. In the image belowyou will see the edit pencil and sure everyone know what it is, if you deal with oracle apex.
    Basically, when you click on the pencil you will get those two options above. The alternative way was to just have a copy button next to each of them and you can just click on that to copy.
    The reason why I want to do this is because I was having some issues with colons, commas, etc. Basically I had a copy button in the form and some of the form has colons, etc and because of this the copy button stop the form from render and also shows a 404 error page, which was quiet annoying.
    If anyone have any idea how to do one of the two approaches, please give me a stage by stage PLEASE.
    Thanks you

    dave_414 wrote:
    I aint sure if this is meant to go in this disccussion. If an wrong please let me know the right place it should go. Thanks
    I need soime help implamenting a copy button/option in oracle. I have a interactive report and when you click on the unique id it takes you to the form where you can edit the report. Now I wanted to add an option so when you click on the unqie id(pencil in edit area). It will give you 2 option, one of the option will be to view the report(view) and the other option will be to copy the report. If you click on view, it should take you the form where you can edit the report and when you click on copy, it should copy the report and take you to a blank form.
    Another option is to have a copy button on each report next to the unquie id. In the image belowyou will see the edit pencil and sure everyone know what it is, if you deal with oracle apex.
    Basically, when you click on the pencil you will get those two options above. The alternative way was to just have a copy button next to each of them and you can just click on that to copy.
    The reason why I want to do this is because I was having some issues with colons, commas, etc. Basically I had a copy button in the form and some of the form has colons, etc and because of this the copy button stop the form from render and also shows a 404 error page, which was quiet annoying.
    If anyone have any idea how to do one of the two approaches, please give me a stage by stage PLEASE.
    Thanks you
    Your question has to do with Apex, not the database.  Please see the Apex forum at Oracle Application Express (APEX)

  • How to add HEX values in a Report.

    I have a special requirement. I need to add hex values in a report. To be specific, the special HEX characters: 0D 0A 0C 0C, has to be added to TOP of PAGE event.
    Drawing What I want will be something like that:
    CR/LF FF/FFABCDEFHGIJKLMNOZVCXC 
    This is a Report that has to be send to the spool. Once in the spool will be converted to TXT file. I created a small code using print control function but still It is doesn’t working.
    I defined a print control ZPAGE as ‘0D 0A 0C 0C’.
    Any idea how to do this?.
    ** This report doesn’t include the Top-of Page event.
    ** Example Report.
    REPORT  ZCAPRTHEX2 NO STANDARD PAGE HEADING.
    Data: String1(120) type c value 'ABCDEFHGIJKLMNOZVCXC'.
    WRITE : /.
    PRINT-CONTROL FUNCTION 'ZPAGE'.
    WRITE : string1.
    This is what I see in SP01 as HEX View
    ABCDEFHGIJKLMNO ZVCXC #ZPAGE

    If you download spool to file like that, you are still getting the spool in SAP format, it's not going to have the hex chars. You need to print the file by clicking on printer button. SAP generates file in printer readable format and send it to printer. I'm refering to that file.
    Ask your basis folks to write the spool output reqest file to a file instead of sending to the printer. Open that file in hex viewer.
    Regards
    Sridhar

  • Script task how to add date value

    hi
    i have following code i am trying to add date into script task
     Public Overrides Sub CreateNewOutputRows()
            Dim vars As IDTSVariables100
            Dim vars1 As IDTSVariable100
            Dim recordCount As Integer
            Dim rdate As Date
            ' Dim recount As Integer
            '  Dim rcount As Integer = 0
            'Get the record count
            Me.VariableDispenser.LockOneForRead("RecordCount", vars)
            recordCount = CType(vars("RecordCount").Value, Integer)
            ' rdate = CType(vars("CurentDate").Value, Date)
            vars.Unlock()
            Me.VariableDispenser.LockOneForRead("CurrentDate", vars)
            rdate = CType(vars("CurrrentDate").Value, Date)
            ' rdate = CType(vars("CurentDate").Value, Date)
            vars.Unlock()
            'Me.VariableDispenser.LockOneForRead("rcount", vars)
            'rcount = CType(vars("rcount").Value, Integer)
            'vars.Unlock()
            '  rcount = rcount + 1
            'Output one row with record count
            Output0Buffer.AddRow()
            Output0Buffer.FooterRow = String.Format("ABC" & recordCount & rdate)
            Output0Buffer.SetEndOfRowset()
    in SSIS i have declare CurrentDate in datetime and i need to use it here , but i am getting error.
    how to append its value to       Output0Buffer.FooterRow = String.Format("ABC" & recordCount & rdate)
    its in vb ,i dotn know anything about VB ,please help me.
    i havent put anything in  readonly,readwrite in script task.ecordCount is working but i did same  for rdate and its not working

    how to get that value in yyyymmddhhmmss format in ssis.
    whats expression i need to use.
    also how to give single  space here between recordcount and variables.rdate
    Output0Buffer.FooterRow = String.Format("ABC" & recordCount & Variables.rdate)

  • How to Add Transport Value in TAX CODE

    Hi Experts
    I define the code BED 8 %, Ecess 2 % HEC 1 % & VAT  4% but i want to add Transport value in that TAX CODE.SO could you tell me How to define the Transport Value in these Tax Code.
    Regards
    Amol

    Hi Amol ,
    Pls make the tax code accordingly
    As per your querry
    There are two options in the row level activate the Freight 1 Freight tax , frieght total
    say suppose
    item is X, unit price 100 quantity is 10 then total is 1000 and tax code is BED 16 ecess 1 cess 2 and cst 4% so your total is 1211.39 and if transport charges is 20 and the tax code is same.
    Do make the new Tax Code change in the formula base amt which is your freight amount
    Hope this helps
    Ashish Gupte

  • How to handle event structures for two buttons and two counters.

         *I have two buttons A and B, and have to compare the difference in hits between them.  So do I place an event structure within a while loop for each button (2 buttons, 2 event structures, 2 while loops), or does it need to be one event structure with cases for both buttons whithin one while loop? 
         *How do I pass the values of buttons A and B's hit counters out of the while loop in order to calculate the differences between them after each increment, not just the final count after the stop button is hit? 
         *How would I make one stop button work to handle both buttons A and B?   I tried to place the actual stop button in one button A's structure and its global in B's structure, but It wont seem to let me use a local variable for a latchable control
    Checker

    You should probably have not started a new thread and waited until your question in the original thread was answered. You can modify altenbach's example for a second button. You have a single event structure with a new event for the second button. You have a second shift register to track the number of times the second button is pressed. Inside the while loop but outside the event structure, you just have a subtract function in or to report the difference. do not modify the posted example for the stop button. It works perfectly as is.

  • How to add selected values from table(selected using checkbox)to table?

    Hi All,
    i have created simple page with search panel with table in table i have created one column as check box for selecting.
    here what my requirement is i need to do search multiple times to add some roles to from some different categories.here whenever i searched i ll get some roles into table there i ll select some role and i ll click add buttion. whenever i click add i need to add those roles into some other table finally i ll submit added roles.
    here i followed one link http://www.oracle.com/technetwork/developer-tools/adf/learnmore/99-checkbox-for-delete-in-table-1539659.pdf
    i used same code and able to see selected row in console, as object array how to add these into table.
    please help me out
    Thanks in advance
    siva shankar

    Thank you for a quick reply
    i used the same thing before i go for table check box concept.here what i observed is when i search i am getting some results i am able to shuttle.but if i search again the shuttle is refreshing with new values even not available list its refreshing selected list. IF dont want refresh selected ones.
    my usecase after make some searches I will select some roles from different categories at finally i ll submit.
    i hope you understand me requirement. please suggest me is this requirement is possible in shuttle component? if yes please guide me.
    thanks
    Siva Sankar

  • How to add a value set in a custom form in query_find screen in R12 please

    Hello,I need to add a value set fileld found in the fnd_flex_value_set table in a query find screen . How do I proceed please ?
    Do I create a record group followed by a 'LOV' ?
    Thanks.

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    Regard
    Helios

  • How to add statiscal value in intrastat report for free of charge Pur Order

    Hi Experts,
    In Purchase Order if 'free of charge' check box is ticked then it wont allow us to have condition tab ( as there should not be any pricing for FOC) - SAP Standard functionality.
    But since I want to report this purchase order in Intrastat report, I need to have some statiscal value for this purchase order.
    Can somebody help me how I can add statistical Value to this PO in Intrastat Report ?
    I have already tried following option :
    1) I try to update through user exit but it is again coming as ZERO - Hence not allowing to update.
    2) VEFU-  Manually update the records - Not possible to edit Stats/Invoice Value of PO - Hence ruled out.
    3) Incompletion log - It is showing/ directing me to the PO in change mode but I cannot edit this as there is no condition tab - Hence not possible.
    Can somebody help me ?
    Thanks
    Arpit

    may be you can enetr it in PO header text and extract via z program

Maybe you are looking for

  • Questions about syncing multiple MobileMe accounts on one iPad

    You can set up multiple MobileMe accounts; however, only one MobileMe account at a time can be used for Find My iPad and for syncing contacts, calendars, bookmarks, and notes. (iPad User Guide p. 32) Okay. If you've done this already (created multipl

  • APP not picking correct numbers

    Hi, I assigned one number range (eg: 100 to 200) for two document types ZP and ZV. While running the payment program the system is picking the numbers differently. Eg: when i run payment run on 01.04.2007 the system is picking number ranges 100,101,1

  • Opening a link in a new tab brings opens to a page of Chinese writing

    I have had several web sites today that have re-routed me to a page filled with Chinese. The location bar shows the correct destination, but it brings up chinese on an otherwise blank page. The page I selected to view was at this URL: http://www.expo

  • For heaven's sake!

    Hi there, I've just changed my nano for this 80gb model today. It's brand new..sealed. Well, now I can notice that equalizer does not work. I can't notice any difference when it's on or off...I've tried all settings but the sound is the same! In my n

  • Wrong Behavior in forum table resize

    Look at the attached image. When an author name is very long (circled in red), it should be the one that is split on several line and the topic (thread) should be kept on as few line as possible otherwize you end up with that ugly result as seen on t