Sending commands via SPML to Portals UME...

I am attempting to find a way (ideally without using XI) to send Indentity management information/commands to the Portals UME.
SAP's Security and Identity Management .pdf document mentions that I can use the following URL address for servicing the SPML:
<server>:<port>/spml/spmlservice.
I guess I just wanted to ask whether anyone has used this method and whether there are any surprises in store. Also, I'm not entirely sure, yet, how I can fire off this SPML to this address so any advice would be most welcome. One source has informed me that I need to use the Class/interface CL_HTTP_CLIENT, but another was talking another language to me mentioned in SAAJ and SOAP messages. As you can see I do need advice. 
Regards
Gary King

I don't suppose you know of an example of this that may exist in a demo program, do you.
I am aware of the method CL_HTP_CLIENT=>CREATE_BY_URL  but I'm entirely sure this can be used for this purpose.
Regards
Gary

Similar Messages

  • Can not send command via VISA test panel in MAX

    Hello all,
    I am having a small issue using the VISA test panel in MAX.  I am trying to send a simple command to a device and then retrieve the response data.  I am able to do this successfully via Labview, but for whatever reason I can not get a good response in MAX.  The command that I am sending is simply a letter (address of the device) followed by an end of line character (\r\n in ascii).  In MAX, I simply append the \r\n onto the string sent in the buffer (Send End on Writes == FALSE).  All serial settings are the same as what I have in LV (19.2, 8-n-1).  Does anyone have any thoughts?  This is kind of frustrating as I just want to do something simple and don't want to have to build a whole routine in LV to do this.
    Cheers, Matt
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC
    Solved!
    Go to Solution.

    Thanks, Broken.  I am getting a time out error.  Clearing the buffers doesn't seem to be making a difference. This is baffling to me.  I must be missing something fundamental.
    Something that I didn't add before is that I seem to be able to send the command via labview without a read, and then read it via MAX.  This must have something to do with way it is sending the command.  Arrrrgh!
    Matt
    Matt Richardson
    Certified LabVIEW Developer
    MSR Consulting, LLC

  • Sending commands via usb port?

    i'm looking to send commands over a usb cable to a device via xcode or cocoa. i know leopard did away with rs232 commands, so i'm looking for some sample code that sends a command via objective-c over a usb cable.

    From Cameron Forbes of US FTDI tech support:
    Ed:
    After you install the FTDI D2XX drivers for Mac OS X (Intel Macs):
    http://www.ftdichip.com/Drivers/D2XX/MacOSX/UniBin/Universal%20D2XX0.1.4.dmg
    Add the following links (from Mac OS X Installation Guide):
    · Start a Terminal session (Go > Applications > Utilities > Terminal)
    · Copy libftd2xx.0.1.0.dylib to the /usr/local/lib directory (cp Desktop/D2XX/bin/libftd2xx.0.1.0
    /usr/local/lib)
    · Change directory to the /usr/local/lib (cd /usr/local/lib)
    · Create a symbolic link to the library (ln -sf libftd2xx.0.1.0.dylib libftd2xx.dylib)
    The example code is located at:
    /desktop/d2xx/Samples
    Best Regards,
    Cameron Forbes
    Field Applications Engineer - Americas
    [email protected]
    Future Technology Devices International Ltd.
    7235 NW Evergreen Parkway
    Suite 600
    Hillsboro, OR 97124-5803
    Tel: 503.547.0988 xt 315
    Fax: 503.547.0987
    Practical USB Interface Solutions

  • How to send command to device via HTTP

    Hy everyone,
    i have installed olite on a number of wince device.
    If i try to send command to the device when connected with the desktop computer on wich the mobile server is installed everything goes well.
    My devices are connected by wifi to the lan of my company and i would like to send command via HTTP.
    I tried to change the settings on the mobile server setting the Network Protocol to HTTP and setting the ip of the device but it does not work.
    Does anyone know how to solve the problem?
    David.

    Hi Ravi,
    yes the command is queued but anything happens.
    I tried to wait for long time but the command never succeed to execute.
    If i try to send again the command from the Command History windows the command fails.
    David.

  • Need example commands to control an SX6000. Need to send them via a Win7 batch file.

    We need to turn our project on in the morning and off in the afternoon.  We have done this in the past for other projectors by sending commands via a Win7 batch file.  The documentation has no examples, just a rather cryptic syntax.

    The only way to get that data is either via the Outlook com object or using EWS. None of the commands in the Exchange shell look inside of a folder, the most you can get with those is email addresses for mail-enabled Public folders. Here is a link that can
    get you started with how to connect to public folders via EWS, then its just enumerating the folders and looping through the items in the folders for the details of the items. 
    http://gsexdev.blogspot.com/2013/08/public-folder-ews-how-to-rollup-part-1.html
    DJ Grijalva | MCITP: EMA 2007/2010 SPA 2010 | www.persistentcerebro.com

  • Updating J2EE engine (Portals UME) via ABAP/Java

    I need to update the 'Identity management' details of the Portals UME using SPML. I believe this will need to be done using Java in some way. I was wondering whether anyone has ever achieved this via ABAP->Java->UME?.
    If so, I would be pleased if anyone could supply sample code (ABAP), or perhaps let me know how you achived the same goal.
    Regards
    Gary

    Have a look at:
    Using the ABAP stack to perform Java stack UME group activities
    Paul

  • Sending eMails via Portal

    Hi all,
    I have a problem with sending eMails out of the portal.
    If I choose "Send To ... " out of the context menu of a document the regular pop up comes around. I choose the user from the ldap source. Everything´s fine as long as he has the eMail adress "...(at)plant.com".
    But we also have one plant that has another email adress "...(at)another-plant.com". If I choose an user from this plant, the error message comes up "...could not send to recipient".
    Is anybody aware of this problem? Needs another Host to be definied?
    Thx and Rgds,
    Andreas
    Edited by: Andreas Bauer on Feb 22, 2010 3:20 PM

    Hi Andreas,
    within the portal itself everything is configured properly.
    You have assigned a SMTP server to the portal which sends the emails.
    This SMTP server allows only to send emails to the domain (at)plant.com.
    The SMTP server blocks mails which should send to other domains.
    You can configure within the SMTP server who is able to send mails (domaine name of the from address) and to who you can send mails (domaine name of the to address).
    You have to change this within the SMTP server.
    Best regards
    Frank

  • How to Send Appointment via mail adapter

    Hi Guys,
         I need to send the appointment and vTodo via mail adapter, any way i need to develop a mail adapter module. Till now i have finished this part,and i can send normal mail even normal mail with attachment. But i don't know how to send appointment via mail adapter.
    This is payload content of appointment which got from Exchange server to gmail:
    _=_NextPart_001_01C71EC0.97A011C6
    Content-Type: text/plain;
        charset="GB2312"
    Content-Transfer-Encoding: quoted-printable
    When: 2007=C4=EA6=D4=C227=C8=D5=D0=C7=C6=DA=C8=FD 3:30 =CF=C2=CE=E7-4:00 = =CF=C2=CE=E7 (GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi.
    Where: China
    ~*~*~**
    This is calendar content
    _=_NextPart_001_01C71EC0.97A011C6
    Content-class: urn:content-classes:calendarmessage
    Content-Type: text/calendar;
        method=REQUEST;
        name="meeting.ics"
    Content-Transfer-Encoding: 8bit
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+01.00) Sarajevo/Warsaw/Zagreb
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0100
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20070112T140000
    TZOFFSETFROM:+0100
    TZOFFSETTO:+0200
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20061213T141132Z
    DTSTART;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T140000
    SUMMARY:This is calendar test
    UID:040000008200E00074C5B7101A82E0080000000030D51864C81EC701000000000000000
    010000000CA9F127EA8947844BC4DD47F269BDEA9
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky":MAILTO:rocky@***.com
    ORGANIZER;CN="Xu":MAILTO:rocky@**.com;roc*@gmail.com
    LOCATION:Shanghai
    DTEND;TZID="(GMT+01.00) Sarajevo/Warsaw/Zagreb":20070112T160000
    DESCRIPTION:This is calendar content\N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20061213T141132Z
    LAST-MODIFIED:20061213T141133Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    X-MICROSOFT-CDO-OWNERAPPTID:367904726
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20061213T141132Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20061213T141132Z
    END:VEVENT
    END:VCALENDAR
    _=_NextPart_001_01C71EC0.97A011C6--
    My question is
      1. How to generate this kind of payload in mail adapter module?
      2. It is possible to send appointment via mail adapter?
    Following i can get from other system, even using mail package check or not using mail package check.
    BEGIN:VCALENDAR
    METHOD:REQUEST
    PRODID:Microsoft CDO for Microsoft Exchange
    VERSION:2.0
    BEGIN:VTIMEZONE
    TZID:(GMT+08.00) Kuala Lumpur/Singapore
    X-MICROSOFT-CDO-TZID:21
    BEGIN:STANDARD
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:16010101T000000
    TZOFFSETFROM:+0800
    TZOFFSETTO:+0800
    END:DAYLIGHT
    END:VTIMEZONE
    BEGIN:VEVENT
    DTSTAMP:20070608T025852Z
    DTSTART;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T110000
    SUMMARY:This is meeting request with attachment
    UID:040000008200E00074C5B7101A82E0080000000000A9BD0BA7A9C701000000000000000
    010000000C5E16D144D1612498C0EF7E2115EFEC4
    ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE;CN="Xu, Rocky
    ":MAILTO:roc*@**
    ORGANIZER;CN="Xu,y":MAILTO:roc*@**
    LOCATION:India labs
    DTEND;TZID="(GMT+08.00) Kuala Lumpur/Singapore":20070608T113000
    DESCRIPTION:This is content!  &#60;&#60;shanghai.txt&#62;&#62; \N
    SEQUENCE:0
    PRIORITY:5
    CLASS:
    CREATED:20070608T025925Z
    LAST-MODIFIED:20070618T033505Z
    STATUS:CONFIRMED
    TRANSP:OPAQUE
    X-MICROSOFT-CDO-BUSYSTATUS:BUSY
    X-MICROSOFT-CDO-INSTTYPE:0
    X-MICROSOFT-CDO-INTENDEDSTATUS:BUSY
    X-MICROSOFT-CDO-ALLDAYEVENT:FALSE
    X-MICROSOFT-CDO-IMPORTANCE:1
    ATTACH:CID:008501c7b159$a9d41d3b$_CDOEX
    X-MICROSOFT-CDO-OWNERAPPTID:1468557271
    X-MICROSOFT-CDO-APPT-SEQUENCE:0
    X-MICROSOFT-CDO-ATTENDEE-CRITICAL-CHANGE:20070608T025852Z
    X-MICROSOFT-CDO-OWNER-CRITICAL-CHANGE:20070608T025852Z
    END:VEVENT
    END:VCALENDAR
    Thanks & regards
    Rocky

    Hi
    have a look at this
    You can use Java/ABAP proxies to do this job for you..
    Java Proxy >> will read the mail(with the attachments) with the help of Java APIs and send the message into XI ABAP Proxy >> for this you will have to first convert the attachment into a message and then you can proceed in the regular fashion.
    Not all adapters can process attachments, I'm not sure why you are having trouble with using module processor in the mail adapter. Just check if the service pack that you are using supports this feature.
    If you are on WAS 6.10 and above you can achieve this and there is an excellent weblog by Thomas Jung on this topic at
    /people/thomas.jung3/blog/2004/09/09/receiving-e-mail-and-processing-it-with-abap--version-610-and-higher
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
    reading Pdf Through mail easly done with Java Proxy, which will read the mail(with the attachments) with Java APIs and send the message into XI and then map with the Target ABAP proxy structure .
    Thanks

  • Sending mail via forms no longer working

    Recently, on one of our servers (XServe G4 - 10.3.9) was running both web and mail. Mail was moved off of the server 2 days ago onto a newer server (10.4.7)
    The web server has: php4.3.11 and is ONLY running AFP/OD/Web
    Since the transfer of the mail server to the new machine, all web sites can no longer send mail via their scripts (either by sendmail, php's mail(), or by connecting to SMTP server via php).
    The web logs do not show errors when it attempts to send the mail...
    A look at mail.log shows
    "relay=cyrus, delay=2558, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmtpd_)
    As far as I'm aware, the web server/sendmail shouldn't be attempting to use cyrus at all. For the record, Cyrus master is not running.
    All users can access the mail server without any difficulty. DNS entries have been checked and double checked.
    Does anyone know why sendmail and php mail functions stopped working? I really need to get these web forms functioning again. Is the problem with apache, php, sendmail or something else?

    Hi Camelot,
    Thanks for the quick reply and useful suggestion. I did as you mentioned and fired up the mail server.
    The mail "delivered" however, I notice a couple issues in the logs (mail.log)
    issue #1: I have to start cyrus master manually via > sudo /usr/bin/cyrus/bin/master SA and command line start/stop of mail does not start master. Also, when starting master from command line as mentioned, terminal hangs.
    issue #2 (from mail.log) - still getting the same lmtpd error (but messages do finally get delivered):
    Jan 14 03:58:24 www postfix/pipe[2914]: 3503858502D: to=<[email protected]>, relay=cyrus, delay=5327, status=deferred (temporary failure. Command output: couldn't connect to lmtpd: Connection refused_ 421 4.3.0 deliver: couldn't connect to lmptd_ )
    Jan 14 03:59:39 www postfix/cleanup[2906]: B60AE58572B: to=<[email protected]>, relay 123.123.123.123[123.123.123.123], delay=0, status=sent (250 Ok: queued as 9FBF41BCBCA)
    Do you think these are "issues" to contend with or are they "normal" occurances?

  • Can't send mail via mail

    Greetings O Wise Ones,
    The smtp setting are correct. I can receive mail. The mail app was working fine one minute and the next I couldn't send mail. Tried a new smtp and it didn't work either, Created a new login user and new mail. The smtp work with the new user but not with the old one. Any ideas that don't delete the com.apple.mail.plist? If that's the only way. How do I save my mail boxes?

    This is happening to my wife's Leopard 10.5.8 upgraded machine right now.
    We've been using Apple Mail for years and it works, but suddenly stopped working
    and refuses to send mail via any SMTP server at all. It just spins forever and eventually
    complains it can't.
    The account is configured to send via comcast (smtp.comcast.net), DSL (smtp.sbcglobal.yahoo.com), and gmail, as choices. Two of them require authentication, Comcast doesn't require authentication, only that the e-mail be sent via the Comcast cable router, which it is.
    I've tried removing the SMTP accounts and carefully re-adding, removing the Gmail IMAP mail account itself in Apple Mail and re-adding, and even moving aside the /Users/<user/Library/Mail folder so it can be re-added. I've even used the sqlite3 index vacuum command.
    On my own Mac Pro, 10.5.8, I'm able to send e-mail, but on the notebook mail is wedged up for good and it seems to be associated with the upgrade. I am now re-installing 10.5.8 from the 'combined' download, and I'll see if it fixes it. What a hassle.

  • Sending Mail via BSP

    hi all,
    i have a problem in sending mail via bsp.
    the case is i want to send reminder from e-portal. in order to do that i made a new bsp page and a new function modul.
    the bsp page is used for user interface and the function modul is used for the process for sending mail.
    in the function modul i send the mail via api.
    the bsp page and function modul is already finish. but when i testing them, the mail is not sent into mail inbox.
    if i checked in sap outbox, the mail sent via bsp is exists.
    i try to debug it the code for bsp page and function modul is already ok, no error occured.
    is there any clue why this happened ?
    is there any thing else that need to be config or set ?
    please help
    regards
    eddhie

    hi Raja,
    i have solved the problem sending mail via bsp.
    many thanks for your help, i rewards point for your answer.
    about the sap notes that you told me before, is it the way for setting how to send mail / messages via web application server right ?
    could please you give little explaination for the notes, because i think 80% of the notes is for basis configuration and i don't have authorization.
    beside that, what i have to do if in transaction SCOT there is a lot document still waiting for transmitted ?
    please help
    regards
    eddhie

  • Send command from my own application

    Hi,
    I have some problem to send commands to �Instrument�, which connect to computer via GPIB card.
    I use my own application with advanced script language and 16-bit GPIB ISA card, OS � Windows 2000. I have send to �Instrument� command as string.
    Here is fragment of code :

    LoadLib(�gpib-32.dll�) <-- Loading DLL
    RunLibFunc(handler, , ) <-- Running function from DLL

    - the name of function from DLL � should be something like �Send�
    - array of arguments for the function : GPIB card ID, GPIB address of �Instrument�, my string, and something else �
    Please Help me to find exactly commands syntax and the way to use it.
    Thanks in advance

    Dennis is correct, you can find information about the functions in the help file.
    You can also find a list of functions in the "NI 488.2 Function Reference":
    http://digital.ni.com/manuals.nsf/websearch/35cd6168125e0ebd86256789006e84d4
    The 488.2 user's manual may also be helpful:
    http://digital.ni.com/manuals.nsf/websearch/2c9c18cf53d69f678625678d005075e9
    Salvador Santolucito
    Applications Engineering
    National Instruments

  • Sending command to a mobile phone blugged into a pc to send an sms

    hi.
    i am new to this field, but i heard of "at command" that are helpful to control the mobile phone from a pc. And Java supports this...
    this is the case:
    1- a mobile with a valid sim card is connected via USB with the pc.
    2- an application is running at the pc (java application)
    on this application we need to add a module/class that sends command "at command" to our connected mobie with 2 parameters:
    1- the phone number
    2- the message
    MyClass.sendViaMobile("+962795940824", "we want to inform you that u got the help :-)");what i need is how to start this, what do i need to know,and what api's i need to use
    regards,
    bilal
    Message was edited by:
    bilal_RD

    hi mlk
    i found the rxtx api, but i got now a question,
    how to connect to a usb port?
    it seems that it is easy to deal with com port or serial port, but until this moment usb didnt work,
    in my case, the mobile is connected via usb port.
    this a code that uses the RXTX API, whaere do i need to modify to connect using usb?
    *note, the following code is written by someone else, it works via com port...
    //     SendMessage.java - Sample application.
    //          This application shows you the basic procedure needed for sending
    //          an SMS message from your GSM device.
    //     Include the necessary package.;c:\classpath\smslib.jar;c:\classpath\comm.jar
    package examples;
    import org.smslib.*;
    class SendMessage
         public static void main(String[] args)
              // Define the CService object. The parameters show the Comm Port used, the Baudrate,
              // the Manufacturer and Model strings. Manufacturer and Model strings define which of
              // the available AT Handlers will be used.
              CService srv = new CService("COM1", 19200, "Nokia", "6630");
              System.out.println();
              System.out.println("SendMessage(): Send a message.");
              System.out.println("  Using " + srv._name + " " + srv._version);
              System.out.println();
              try
                   // If the GSM device is PIN protected, enter the PIN here.
                   // PIN information will be used only when the GSM device reports that it needs
                   // a PIN in order to continue.
                   srv.setSimPin("0000");
                   // Normally, you would want to set the SMSC number to blank. GSM devices
                   // get the SMSC number information from their SIM card.
                   srv.setSmscNumber("");
                   // OK, let connect and see what happens... Exceptions may be thrown here!
                   srv.connect();
                   // Lets get info about the GSM device...
                   System.out.println("Mobile Device Information: ");
                   System.out.println("     Manufacturer  : " + srv.getDeviceInfo().getManufacturer());
                   System.out.println("     Model         : " + srv.getDeviceInfo().getModel());
                   System.out.println("     Serial No     : " + srv.getDeviceInfo().getSerialNo());
                   System.out.println("     IMSI          : " + srv.getDeviceInfo().getImsi());
                   System.out.println("     S/W Version   : " + srv.getDeviceInfo().getSwVersion());
                   System.out.println("     Battery Level : " + srv.getDeviceInfo().getBatteryLevel() + "%");
                   System.out.println("     Signal Level  : " + srv.getDeviceInfo().getSignalLevel() + "%");
                   // Lets create a message for dispatch.
                   // A message needs the recipient's number and the text. Recipient's number should always
                   // be defined in international format.
                   IOutgoingMessage msg = new COutgoingMessage("+5550000", "Message from SMSLib for Java.");
                   // Set the message encoding.
                   // We can use 7bit, 8bit and Unicode. 7bit should be enough for most cases. Unicode
                   // is necessary for Far-East countries.
                   msg.setMessageEncoding(IMessage.MESSAGE_ENCODING_7BIT);
                   // Do we require a Delivery Status Report?
                   msg.setStatusReport(true);
                   // We can also define the validity period.
                   // Validity period is always defined in hours.
                   // The following statement sets the validity period to 8 hours.
                   msg.setValidityPeriod(8);
                   // Do we require a flash SMS? A flash SMS appears immediately on recipient's phone.
                   // Sometimes its called a forced SMS. Its kind of rude, so be careful!
                   // Keep in mind that flash messages are not supported by all handsets.
                   // msg.setFlashSms(true);
                   // Some special applications are "listening" for messages on specific ports.
                   // The following statements set the Source and Destination port.
                   // They should always be used in pairs!!!
                   // Source and Destination ports are defined as 16bit ints in the message
                   // header.
                    msg.setSourcePort(10000);
                    msg.setDestinationPort(50000);
                   // Ok, finished with the message parameters, now send it!
                   // If we have many messages to send, we could also construct a LinkedList with
                   // many COutgoingMessage objects and pass it to srv.sendMessage().
                   srv.sendMessage(msg);
                   // Disconnect - Don't forget to disconnect!
                   srv.disconnect();
              catch (Exception e)
                   e.printStackTrace();
              System.exit(0);
    }

  • LDAP user details not showing in Portal UME

    We have implemented kerberos single sign on using the kerberos xml datasource file and have the corporate LDAP as our UME source.
    However certain user details that are maintained in LDAP (such as department, street etc) are not being pulled through to the portal UME.
    We know the connection to the LDAP is OK as we can create new users and they appear in portal UME - its just that it seems to be missing several user attributes.
    Is this related to the settings in the xml file?
    And if so, what needs changing??
    thanks
    Simon.

    Hi Simon,
    all the attributes that are available in your LDAP can be made available in the UME via the dataSourceConfiguration. The default files does not include every attribute since these may vary from directory to directory. Please take a look at http://help.sap.com/saphelp_nw70/helpdata/en/b7/14d43f2dd44821e10000000a1550b0/frameset.htm
    and especially at: http://help.sap.com/saphelp_nw70/helpdata/en/44/7d188751626fb5e10000000a155369/content.htm and http://help.sap.com/saphelp_nw70/helpdata/en/1a/2bee408a63732ae10000000a155106/frameset.htm
    Hope this helps,
    Holger.

  • Transmitting a byte command via UDP

    I hope you'll forgive the newbie question, but my education is in aerospace engineering and not computer science...
    I have a verified specification document which tells me that in order to command a data source to begin transmitting data, I need to send it the following command via UDP:
    1 byte        1 byte               2 bytes                              n bytes
    COMMAND
    01
    00
    Command Code =
    8016
    Data  
    Where the data field is ignored for this command.
    My best understanding of this situation would be to use the Byte Array to String function on an array of U8s which looks like this:
    where the network order is big endian.  However, I have some functioning, inherited code which interfaces with the same data source and issues a start data command using an array which looks like this:
    In classic style, the author of this code has retired and I'm the only other LabVIEW programmer.  I'm not savvy enough to tell whether this array accomplishes the same task and it's my limited understanding of bytes which is causing the confustion or if this command is combined with another command or what.
    Any insight, leading questions, or valuable commentary is appreciated.
    Solved!
    Go to Solution.

    I think I'm starting to understand how bits, bytes, and such behave with LabVIEW.  Kind of confusing without a solid background in computing...
    According to the documentation-when using the startup command--there is no data payload required; it is ignored by the data source.  My only guess for those elements remaining after the 4th element are that they are simply placeholders so that the data source know this is a completed command or that the original programmer copied the array from one of the other commands (which required the data payload) and those are just residual values he knew were ignored and never bothered to delete.  It would be in keeping with the just-get-it-done approach this programmer favored.
    Thanks for the assistance.  I think I can interpret the other commands for this data source now.
    Cheers.

Maybe you are looking for

  • Warning message in Transaction VF31

    Hi, I want a warning message in transaction VF31 and my system is ECC 5.0. I couldnt locate any billing exit. Is it possible to throw a warning message in this case?

  • How do i change the name of my macbook

    For a while now ive been using used mabook ( os x 10.6.8) and it always refers the computer as "kyles macbook". (kyle of course being the old owner) and ive searched all over settings and i have no clue how to change it. does anyone else know?

  • OLAP Services and Infobus -- can they work to interface with 3rd party tools?

    I would like to link 9i OLAP data to 3rd party tools like Formula One or other Java Report Writers. Can this be done using infobus or other technologies? Does 9i OLAP services act as an infobus data provider? Has anyone done this? If so can an exampl

  • Making storage location mandatory for one plant.

    Hi All ,        I want to make storage location field mandatory in ME21N for only one plant .Like in our organisation structure two comp codes 1000 and 3000 are there .Under each comp code one plant like under 1000 1000plant is there and under 3000 3

  • Oracle report features

    Hello, I hope I am posting on the right forum section. I am now getting into Oracle Reports. I have read several documents about it in order to get familiar with its features. I have a list of requirements that I am trying to find. I found informatio