How to send values from Acquire Input data through Xbee

Hi,
I've initialzed my joypad- Zebronics ZEBST50JP and can read data from Acquire Input Data. I've seen that button work with Boolean Logic(True or False) and Arrow keys work with axis logic(32767 to -32768).
Now all i need to know is, How to send these values through Xbee(Connected to PC using USB Adapter) to another Xbee connected to an Arduino (with Servo motors)
Thanks in Advance

Now i have Intialized my joystick.. But still have confusion with sending to XBee Pro...
Here is my Post, which has the file
http://forums.ni.com/t5/LabVIEW/How-to-send-signals-through-XBee-connected-in-USB-port/m-p/2135382 

Similar Messages

  • How to Send  Values from  READ_TEXT   to   User exit

    Hi Friends.,
                       I need to Read Values from  READ_TEXT  FM  and send those values  to  User exit  ( Exit_SAPLRSAP_001  for   ZSALES_2LIS_11_VAITM )  Datasource,
    I'm Getting one Indicator value ( values are like   Y N  0 )  from  READ_TEXT  FM
    and i have to make use of this in Extraction Part
    can anyone help me out in ABAP coding to get these values from  READ_TEXT  FM  to  User exit
    Regards
    Sridhar.

    Hi,
    if you open the FM in se37,you will find the 'Function module documentation' button. click on it and try to see what this function module is about.
    i am attaching a sample code to read the text of a penalty inforamion field.
      DATA: T_LINE_T LIKE TLINE OCCURS 0 WITH HEADER LINE.
      DATA: S_THEAD LIKE THEAD.
      DATA: T_LINE_H LIKE T_LINE_T OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'READ_TEXT'
              EXPORTING
                CLIENT                        = SY-MANDT
                ID                            = 'K01'     "Valid values for the text ID are defined in table TTXID.
                LANGUAGE                      = SY-LANGU
                NAME                          = LV_SO     "here i am passing Sales order no
                OBJECT                        = 'EKPO'    "The text object is part of the text key and assigns the text module to a specific application object. Valid text objects are defined in table TTXOB.
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
             IMPORTING
               HEADER                         = S_THEAD
              TABLES
                LINES                         = T_LINE_T
             EXCEPTIONS
               ID                            = 1
               LANGUAGE                      = 2
               NAME                          = 3
               NOT_FOUND                     = 4
               OBJECT                        = 5
               REFERENCE_CHECK               = 6
               WRONG_ACCESS_TO_ARCHIVE       = 7
               OTHERS                        = 8
            IF SY-SUBRC = 0.
              READ TABLE T_LINE_T INTO T_LINE_H INDEX 1.
    Storing the value in the structure.
              E_T_DATA-PENALTY = T_Line_H-TDLINE.
            ENDIF.
    Thanks.

  • How to Send pdf from Salesforce to Echosign through REST API?

    I'm trying to send PDF generated from Visualforce page and through Apex REST I'm trying to invoke Echosign REST API. But while invoking "/transientDocument" URL, it says Unsupported content type. Any help on how to construct multipart/form-data in Salesforce?

    I'm afraid it's a bit beyond me, but why not use the ready-made Echosign for Salesforce application you can download from the app exchange?

  • How to delete values from extension collection field through importer?

    Hi Experts,
    We have created one extension collection field in Master Agreement.
    We are able to add values to that collection field using Extension collection template CSV file through importer.
    Now we have a requirement to delete values from the Extension collection field through importer using CSV file.
    If anyone have template or idea please share with us.
    Thanks in advance!!
    Regards,
    Lava.

    Hi Agrawal,
    Thanks for you helpful information.
    Regards,
    Lava.

  • How to send values from a "Report Column" instead of a "Page Item" ?

    Hi there,
    Here's my case: Two pages A and B.
    Page A is used to view each employee from a selected department.
    Page B is used to created/modify employees.
    I have a create button on page A which redirect to page B.
    By default, page B is blank (as of course we have to fill the blanks to create a new employee).
    However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
    ---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
    ---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.
    I'm a bit lost cause I don't know how to transfer/send this value to the second page.
    Do you have any clue ?
    Thanks again for your time !
    BR
    Ulrich

    Ulrich,
    Maybe I have misunderstood your requirements, from those I assumed that Page 4 was already being populated with a Department ID. So my plan was to look-up the Manager ID via the known Department ID
    Here's my case: Two pages A and B.Page A is used to view each employee from a selected department.
    Page B is used to created/modify employees.
    I have a create button on page A which redirect to page B.
    By default, page B is blank (as of course we have to fill the blanks to create a new employee).
    However, there is 2 values I want to send to page B (as I'd like to pre-fill some blanks) : The department ID and the Manager ID (there is one manager per department).
    ---- I succeed with the department ID because it's a page item and in the "Action When Button Clicked" of the button I filled "Set These Items" -> Item From Page B "With These Values" -> Item from Page A.
    ---- I'm confused with the Manger ID because it is not a page item but a report column and there is nothing to do like I did for the Department ID in the create button.>
    Have you verified that you have the :P4_DEPARTMENT_ID in session?
    Does your SQL run in SQL Commands when provided a Department ID?
    Have you tried altering when the Computation fires? I recommended to start with After Regions, try some other firing points.
    Jeff

  • How to send value from servlet to midlet?

    I need to display value in textbox in emulator.
    If i am creating textbox in servlet it wont display textbox
    but it displays content available in out.println (html tags).
    Thanks

    I�m king of Java, i have fixed it.
    //Nisse

  • How to change a date value from "java.util.Date" to "java.sql.Date"?

    Hi all,
    How to change a date value from "java.util.Date" to "java.sql.Date"?
    I m still confusing what's the difference between them.....
    thanks
    Regards,
    Kin

    Thanks
    but my sql statement can only accept the format (yyyy-MM-dd)
    such as "select * from xx where somedate = '2004-12-31'
    but when i show it to screen, i want to show it as dd-MM-yyyy
    I m using the following to change the jave.util.Date to str and vice versa. But it cannot shows the dd-MM-yyyy. I tried to change the format from yyyy-MM-dd to dd-MM-yyyy, it shows the wrong date in my application.
         public String date2str(java.util.Date thisdate)     {
              if (thisdate != null)     {
                   java.sql.Date thissDate = new java.sql.Date(thisdate.getTime());
                   return date2str(thissDate);
              }     else     {
                   return "";
         public String date2str(java.sql.Date thisdate)     {
              if (thisdate != null)     {
                   SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
                   return sdf.format(thisdate);
              }     else     {
                   return "";
         public java.util.Date str2date(String thisdate)     {
              String dateFormat = "yyyy-MM-dd"; // = 1998-12-31
              java.util.Date returndate = null;
              if (thisdate != null)     {
                   SimpleDateFormat dateFormatter = new SimpleDateFormat(dateFormat);
                   try {
                        returndate = dateFormatter.parse(thisdate);
                   } catch (ParseException pe) {
                        System.out.println (pe.getMessage());
              return returndate;
         }

  • How to change the value from one input control to another input control?

    Hi Experts,
    I want to change the value from  one input control to another input control. For Example if i change month in first tab. it should reflect in second tab also. How should we acheive through input control or some other option.
    Here I attached screen shot.Please help me for this

    Hi,
    It is not possible to have Input controll in all tabs that will be set from another .
    But There is one workaround .
    Follow the link below .
    http://davidlai101.com/blog/2013/08/13/web-intelligence-input-control-that-affects-all-tabs/

  • Get Value From an input field

    Hi All,
    I am a newbie to ABAP Webdynpro.I would liketo know how should I get the value from an input field at runtime?
    Thanks,Mukta

    By reading the context attribute which bound to inputfield, you can get the value.
    Say you have a node called 'MAIN_NODE' and has the attribute 'INPUT_VALUE', which is bound to the Inputfield.
      DATA LO_ND_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_NODE.
      DATA LO_EL_MAIN_NODE TYPE REF TO IF_WD_CONTEXT_ELEMENT.
      DATA LS_MAIN_NODE TYPE WD_THIS->ELEMENT_MAIN_NODE.
      DATA LV_INP_VALUE LIKE LS_MAIN_NODE-INP_VALUE.
    * navigate from <CONTEXT> to <MAIN_NODE> via lead selection
      LO_ND_MAIN_NODE = WD_CONTEXT->GET_CHILD_NODE( NAME = 'MAIN_NODE' ).
    * get element via lead selection
      LO_EL_MAIN_NODE = LO_ND_MAIN_NODE->GET_ELEMENT(  ).
    * get single attribute
      LO_EL_MAIN_NODE->GET_ATTRIBUTE(
        EXPORTING
          NAME =  `INPUT_VALUE`
        IMPORTING
          VALUE = LV_INP_VALUE ).  "LV_INP_VALUE will have the value of inputfield
    Raja T
    Message was edited by:
            Raja Thangamani

  • Reading Values from Listbox and data source into MS Office Toolkit

    Hi,
    Been trying to get this to work but making no progress and my lack of experience on labview is becoming a hinderence.
    Does anyone know how I can read the values from the listbox example attached into MS Office Toolkit for Excel?
    The values from the listbox need to be compared to mulitple values from a strain data source.
    Cheers,
    Mike.
    Attachments:
    Capture.PNG ‏62 KB

    Hi,
    Ok in the attached vi I want value from the listbox "0kg through to 10kg" to be put into the excel table in the report generation toolkit along side data from the convert strain gauge reading.
    Cheers,
    Mick.
    Attachments:
    Strain Gauge Edit2.vi ‏112 KB

  • How to hide values in F4 input help

    Hi firends,
                        I have a requirement to hide the values from F4 input help. In tcode F110, when I press F4 in Identification field then i will get the F4 help value for identification for which payment run is already done. I want to hide that data in F4 help and i don't want to delete it from table. Is it possible??
    Please help me.
    Thanks,
    Ziad

    Hi,
    Please check this [Thread for your help.|Re: Regading OVS]
    You can check also [This thread.|Re: Hide F4 personal value list;
    Thanks,
    Abhijit

  • How to move value from one tlist to another tlist in same form?

    how to move value from one tlist to another tlist in same form on button press?
    Same like in data block wizard when we select value from 1st list it will go to 2nd list and can be move back. Please help i am new to forms .
    Regards

    just call the following proc in your add & add all buttons. Reverse the code for REMOVEs
    this proc will move one item at a time from list_item1 to list_item2.
    PROCEDURE add_an_item
    IS
      v_list_count    NUMBER;
      v_item1_label  VARCHAR2(60);
    BEGIN
      IF :list_item1 IS NOT NULL THEN v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
          IF v_list_count >= 1 THEN FOR i IN 1..v_list_count
          LOOP
             IF   :list_item1    = Get_List_Element_Value('list_item1', i)
             THEN
                  v_item1_label := Get_List_Element_label('list_item1', i);                 
                  Add_List_Element('list_item2',1,v_item_label,:list_item1);         
               Delete_List_Element('list_item1',i);
               Exit;
             END IF;
          END LOOP;
           END IF;
       END IF;
    END;
    *********************************************************************************this proc will move all items from list_item1 to list_item2.
    PROCEDURE add_all_items
    IS
      v_list_count NUMBER;
      v_item_label VARCHAR2(60);
      v_item_value VARCHAR2(60);
    BEGIN
    v_list_count := nvl(Get_List_Element_Count('list_item1'),0);
    IF    v_list_count = 1 AND Get_List_Element_Value('list_item1', 1) IS NULL THEN NULL;
    ELSIF v_list_count >= 1 THEN
           FOR i IN 1..v_list_count
           LOOP
            v_item_value  := Get_List_Element_Value('list_item1', i);
            v_item_label  := Get_List_Element_label('list_item1', i);       
            Add_List_Element('list_item2',i,v_item_label,v_item_value);
           END LOOP;
           clear_list('list_item1');
    END IF;
    END;I added [ code ] tags to make this easier to read.
    Message was edited by:
    Jan Carlin

  • Capture value from the input field

    Hello All,
            I'm new to BSP.
    I have a small querry.
    I have a input field.
    beside this a push button.
    if i enter a value in the input field and press the push button, i need to capture the value from the input field and pass it to a variable contained in a class.
    i'm attaching the layout code here.
    but i'm not knowing what to write in the event(on input processing)
    <u><b>Layout code &#61664;</b></u>
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title        = "Page to take the value from the screen and pass to the class "
                  marginBottom = "100"
                  marginLeft   = "250"
                  marginRight  = "100"
                  marginTop    = "100"
                  scrolling    = " AUTO" >
        <htmlb:form>
          <htmlb:tray id        = "tray1"
                      hasMargin = "TRUE"
                      title     = "Value Capture"
                      width     = "350" >
            <htmlb:textView text      = "Enter a value"
                            design    = "emphasized"
                            textColor = "negative" >
            </htmlb:textView>
            <br>
            <htmlb:inputField alignment = "left"
                              id        = "gv_var"
                              required  = "true"
                              type      = "STRING"
                              design    = "standard" />
            <htmlb:button design  = "emphasized"
                          id      = "button"
                          text    = "SUBMIT"
                          onClick = "btn_click" />
            </br>
          </htmlb:tray>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    eventhandler&#61664;on input processing code
    DATA: event TYPE REF TO if_htmlb_data.
    event = CL_HTMLB_MANAGER=>get_event_ex( request ).
    IF event->EVENT_NAME = 'button' AND event->EVENT_TYPE = 'click'.
        ENDIF.

    HI BSPian,
        htmlb:inputField value = "<%= v_value %>"
                         id = "gv_var"
                         required = "true"
                         size = "10"
                         type = "STRING"
                         maxlength = "10"
                         design = "standard" />
    Here u mean to say that v_value must be one more field type string. is it so ?
    But i want to see the value in the same input field
    id ="gv_var". i.e if i enter the value "BSPian" in the input field and press "submit" the internal processing will be done as told by u and after that ,on the screen i want to keep that value till i end that session.
    i passed a variable v_value in the inputfield value but it's not working ..
    regards,
    deepu.

  • How to sending email from Oracle Forms

    How to sending email from Oracle 6i(Forms)
    I need to send email to a distribution list(multiple email addresses).

    send email of multiple email address
    [email protected],[email protected],[email protected]
    create or replace function mailout
    (sender in varchar2,
    recipient in varchar2,
    ccrecipient in varchar2,
    subject in varchar2,
    message in varchar2) return number
    is
    crlf varchar2(2) := chr(13)||chr(10);
    connection utl_smtp.connection;
    mailhost varchar2(50) := 'Add email server Ip Address here';
    header varchar2(4000);
    v_num number :=1;
    str number:=0;
    email varchar2(50);
    begin
    connection := utl_smtp.open_connection(mailhost,25);
    header := 'Date: '||to_char(sysdate,'dd mon yy hh24:mi:ss')||crlf||
    'From: '||sender||' '||crlf||
    'Subject: '||subject||crlf||
    'To: '||recipient||crlf||
    'Cc: '||ccrecipient||crlf||message;
    utl_smtp.helo(connection,mailhost);
    utl_smtp.mail(connection,sender);
    utl_smtp.rcpt(connection,recipient);
    while (instr(ccrecipient,',',1,v_num)>0) loop
    email:=substr(ccrecipient,str+1,instr(ccrecipient,',',1,v_num)-str-1);
    dbms_output.put_line(email);
    utl_smtp.rcpt(connection,email);
    str:=instr(ccrecipient,',',1,v_num);
    v_num:=v_num+1;
    end loop;
    utl_smtp.open_data(connection);
    -- utl_smtp.write_data(connection,header);
    utl_smtp.write_data(connection,'MIME-Version:1.0'||crlf||'Content-type:text/html'||crlf||header);
    utl_smtp.close_data(connection);
    utl_smtp.quit(connection);
    return 0;
    exception
    when utl_smtp.invalid_operation then
    dbms_output.put_line('Invalid Operation in SMTP transaction');
    return 1;
    when utl_smtp.transient_error then
    dbms_output.put_line('Temporary problem with sending email ');
    return 2;
    when utl_smtp.permanent_error then
    dbms_output.put_line('Permanent problem with sending email ');
    return 3;
    end;

  • Acquire input data vi

    How do I capture those characters with acquire input data vi
    @ or # or $? All those chars require Shift and another key to be pressed. But with this vi, when I press shift and another key, the character of this other key will not display.
    For example for @, I have to press Shift + 2, but it doesn't work with this vi.
    Need some help please.

    Hey agyna,
    Ah I understand your problem. The two characters output by the Acquire Input Data VI will uniquely identify all two-character presses. You need to add logic to combine these presses into something meaningful (ie, Shift + 2 = @). I've modified the last VI I sent you quite heavily to account for the following cases:
    1) Only 1 key is pressed
    2) Right Shift + (0-9) are pressed
    3) Left Shift + (0-9) are pressed
    The VI has an LED that will turn on if a key combo (ie, multiple keys) are hit simultaneously. It displays symbols !@#$%^&*(). You should be able to modify this VI to handle more cases if you need to.
    Hope this helps.
    Attachments:
    KeyRead_MultipleKeys.vi ‏19 KB

Maybe you are looking for

  • Any Idea How Temperatures Of New Imacs Compare With Previous Models ?

    Has anyone had a chance to test or compare the operating temperatures of the new and old models ? In particular I would like to know how the new entry 2.4GHz compares with the old 2.0GHz.

  • Cant delete backups or sync

    I have been having some problems for some time now with not being able to sync my idevice. I have done tons of serching with no luck, I read that i should delete my back ups under edit, prefrences, devices. But when I delete them they come right back

  • Using advanced statistical functions in BO or creating your own ones

    Hello, Can someone tell me if it is possible to use more advanced statistical functions in BO (webi or deski f.i.) like the possibility to extrapolate figures. I only see a limited functions in Webi (mean, intrapolate, percentiles, ...). If not is it

  • SAP IDM 7.0/7.1 Project Plan and Architecture Landscape Diagrams

    Need help in identifying whether there is anybody that has a generic project plan along with resources needed  in implementing IDM 7.0/7.1. I am also looking for a generic landscape diagram. Any help would be appreciated.

  • Why does FCPX crash every time I use plug-in effects?

    I don't understand why FCPX crashes every time I use a plug-in effect. I install the plug-in effects in the Effects folder - User/Movies/Motion Templates/Effects - and I apply the plug-in effect to the clip in the timeline, but as soon as the clip is