How to convert termianl log to human readable log in ADF mobile

When I debug my ADF mobile application, I write command tail -f /var/log/system.log in terminal. And I get following output.
May 6 11:32:42 evosys-iMacs-iMac.local manager[507]: Obj-C [CH-1, State=created ableToSend=Yes]: Message arrived - VMMessage [
     type: Plain[0x00]
     prinorty: 2
     channelID: -1
     messageID: 3
     length: 137
     body: {41, 44, 46, 4D, 53, 47, 20, 31, 30, 30, 30, 30, 20, 20, 20, 35, 31, 31, 20, 20, 20, 35, 31, 31, 20, 20, 20, 20, 20, 30, 20, 20, 20, 31, 30, 31, 7B, 22, 72, 65, 73, 75, 6C, 74, 22, 3A, 5B, 5D, 2C, 22, 64, 61, 74, 61, 43, 68, 61, 6E, 67, 65, 45, 76, 65, 6E, 74, 22, 3A, 7B, 22, 76, 61, 72, 69, 61, 62, 6C, 65, 43, 68, 61, 6E, 67, 65, 73, 22, 3A, 7B, 22, 76, 69, 65, 77, 53, 63, 6F, 70, 65, 22, 3A, 7B, 22, 2E, 6E, 75, 6C, 6C, 22, 3A, 74, 72, 75, 65, 7D, 7D, 2C, 22, 70, 72, 6F, 76, 69, 64, 65, 72, 43, 68, 61, 6E, 67, 65, 73, 22, 3A, 7B, 7D, 7D, 7D}
But I have no idea that how to convert body into string,
Thanks in Advance.

Dennis Knutson wrote:
Are you refering to the front panel logging option? The actual binary format is going to depend on what controls and indicators you have on the front panel and their data types. There is an example of using the file i/o functions to read one of these files in chapter 14 of the user manual. The problem you'll have if you write a program to read a log file is that every time you add or delete a control/indicator, you'll have to rewrite your program and then you'll be unable to read older log files. You'd be better off writing your own log routines. Then you would control the binary format. There are shipping examples that you can look at for fbinary file storage.
Yes, I am referring the front panel logging option and I will read the maual first. Thank you very much for your help.

Similar Messages

  • How to convert file to pdf text readable?

    How to convert file to PDF text readable?

    Hey,
    Please let me know what type of file are you trying to convert.
    You might use Adobe PDF Maker or Adobe PDF printer option and export the file to PDF.
    Regards,
    Anubha

  • How to call java function with parameter from javascript in adf mobile?

    how to call java function with parameter from javascript in adf mobile?

    The ADF Mobile Container Utilities API may be used from JavaScript or Java.
    Application Container APIs - 11g Release 2 (11.1.2.4.0)

  • Converting CLLocation to a human-readable place name string

    In a text-based application I want to enable a simple geotagging feature. Is there a way to convert a CLLocation latitude-longitude information into an actual place name, like "New York, NY", "Vancouver, B.C., Canada", "Birmingham, England" etc.? It doesn't need to be terribly precise, if it can recognize all towns/cities of more than 100-200K people I will be happy. On the same subject, since I'm new to the whole geotagging/GPS thing (I'm developing on a Touch and have never used a GPS device), what are some other developers doing with regards to presenting location information in a human-readable format? Just knowing the longitude/lattitude seems rather uninspiring to me.
    Thanks,
    DonutMan

    You can use Google Maps Reverse Geocoding service.
    http://code.google.com/apis/maps/documentation/services.html#ReverseGeocoding
    It should be easy to wrap these js functions into Objective-C with -stringByEvaluatingJavaScriptFromString:
    I know there is also a pure OBJC Google API framework but I don't know if it includes this.

  • How to edit size of Panel Splitter in portrait mode (ADF Mobile)

    ADF Mobile have attribute for "position" to setting size of navigation plane on left size only for landscape mode rather than portrait
    After I figure out in ADF's javascript "amx-panelSplitter.js" and found Oracle using "hard-code" in sizing in portrait mode
    _getPosition: function(amxNodeSplitter)
    var positionLandscape = this._getAttribute(amxNodeSplitter.getAttribute("position"), "31.25%");
    var positionPortrait = "41.67%"; // TODO we ought to expose an API for this
    return {
    landscape: positionLandscape,
    portrait: positionPortrait
    How to overriding 41.67% that hardcode in predefined js from ADF mobile, and when Oracle will adding API to configure sizing for portrait as good approach to design framework ?

    As far as I know, the drop-down resizes to hold the content.
    (there is a "view page source" button available to you on the top of the page you linked where you can see how it is done)
                <af:inputComboboxListOfValues label="Ename" id="idInputComboboxListOfValues"
                                              binding="#{editor.component}"
                                              value="#{demoComboboxLOV.ename}" autoSubmit="true"
                                              popupTitle="Search and Select: Ename"
                                              searchDesc="Choose a name"
                                              validator="#{demoComboboxLOV.validate}"
                                              createPopupId="popupId"
                                              model="#{demoComboboxLOV.listOfValuesModel}"/>Is all that is in there for the first inputComboBoxListOfValues
    John

  • Converting Time Difference to Human-Readable Time

    Hello everyone,
    I just posted a thread about an hour ago on how to get the difference between the current time and two tables. My results are as follows:
    Call Moddate Modtime Age
    Open     2009-04-09     13:47:08     2.57
    The age is this command:
    round((sysdate - to_date ( moddate | | modtime, 'YYYY-MM-DDHH24:MI:SS'))*1440, 2)
    Is there a way to convert the result (2.57) to a HH24:MI:SS format?

    Hi,
    Solomon Yakobson posted a solution in that other thread that does exactly that.
    with t as (
               select '2009-04-09' ModDate,'13:48:30'  ModTime from dual
    select  numtodsinterval(sysdate - to_date(ModDate || ' ' ||  ModTime,'yyyy-mm-dd hh24:mi:ss'),'day') duration
      from  tIf it produces more output than you'll ever need, use SUBSTR (or some similar function) to get only the part you're interested in.

  • Unix timestamp conversion to human readable representation ...

    Hi,
    I map unix timestamps from MaxDB to the controller context of Web Dynpro and display the results in a table. Is there a smart way to convert the timestamps to human readable date and time? Maybe some way to manipulate the table values with a function before they are written ..?
    For now, I create a new node in the context and manually set each value with the according date/time representation ... but thats pretty cumbersome.
    Thank you very much for your help!
    Cheers,
    boris

    Hi Boris,
    Check http://java.sun.com/j2se/1.3/docs/api/java/text/SimpleDateFormat.html
    Date currentTime_1 = new Date(longUnixTimestamp);
    String dateString = formatter.format(currentTime_1);
    I would suggest you to create a calculated attribute under the same node as initial timestamp value and return a result of SimpleDateFormat.format().
    Best regards, Maksim Rashchynski.

  • How to convert Banshee playlists to mpd?

    Does anyone know how to convert Banshee playlists into mpd-readable ones?  mpd doesn't seem to like .m3u playlists exported from Banshee, not much info on this on the web either.  Wondering if this is a solved problem but just not written about much?
    Last edited by kurtosis (2012-03-09 17:27:13)

    Having a look at my mpd playlists (which are .m3u files), they are just a text list of paths to all the tracks in the playlist.
    Perhaps posting a sample .m3u file exported from banshee will help, as we can compare the differences.
    Cheers.
    Last edited by Padfoot (2012-03-14 07:14:17)

  • Does anyone know how to convert an XML file to a readable file?

    All,
    I have been using an APP called "SMS Backup & Restore" to backup my message conversations to my Laptop PC.  It works fine BUT the backup file, once in my PC, has an XML extent such as "filename.XML"
    I would like to read and/or print and/or save the text message file so does anyone know how to convert the XML file to something else so it shows all the messages without all the formatting instructions.   
    When I try to see the XML file it shows all the formatting.  If I replace the .XML with .TXT that too shows all the formatting mixed in with the text message narrative.
    When I look at the XML file in SMS Backup & Restore in the Charge phone it looks great showing all the messages just as they were on the phones display.  The problem with this is that there is no way to print or read or save the messages as they appear in the file from the phone itself.  I tried screen capture but if you have, let's say, a 28 message conversation you have to do 7 or 8 screen captures to get them all.
    If only I could convert the XML in my PC to something that is printable or savable or readable that would be the "cats meow."
    Anyone know how???
    JerryF
    PS, You might take a look at my related post.
    https://community.verizonwireless.com/message/809832#809832

    Ann154,
    You were correct again.  I deleted everything I had done to date and re-did the entire SMS backup of my 28 message conversation again and YES I was able to open it using IE-8.  It looks great and it prints great and life is good!  I am going to go make a donation.
    Thanks again for the help.  I marked this thread as answered by you.
    JerryF

  • Convert from epoch timestamp to human readable date

    Hi everybody,
         I want to retrieve a human readable date from an fpga target of a sbRIO9636 ,so what is the function which can convert an epoch timestamp to a human readable date ? 
    (Noting that i need to retrieve the second,minute,hour,day,month,year... from the fpga target of this device)
    Thanks

    I have a program which retrieve the current time of windows (with the Get Date/Time in Seconds and Seconds to Date/time functions) and calculate the julian day parameter by using the second,minute,hour,day,month and year wich are displayed on the elements of the Unbundle By Name function (connected in the output of Seconds to Date/time function).
    This program works within windows and real time but I can't run it in the chassis of the sbRIO (errors displayed that these functions above aren't supported in the current target)
    Can i use another method to solve this problem.
    (See the front panel of this program in the following attached file)
    Attachments:
    julian day.PNG ‏110 KB

  • How to convert BLOB data into string format.

    Hi,
    I have problem while converting blob data into string format.
    for example,
    Select dbms_lob.substr(c.shape.Get_wkb(),4000,1) from geotable c
    will get me the first 4000 byte of BLOB .
    When i using SQL as i did above,the max length is 4000, but i can get 32K using plsql as below:
    declare
    my_var CLOB;
    BEGIN
    for x in (Select X from T)
    loop
    my_var:=dbms_lob.substr(x.X,32767,1)
    end loop
    return my_var;
    I comfortably convert 32k BLOB field to string.
    My problem is how to convert blob to varchar having size more than 32K.
    Please help me to resolve this,
    Thanx in advance for the support,
    Nilesh

    Nilesh,
    . . . .The result of get_wkb() will not be human readable (all values are encoded into some binary format).
    SELECT utl_raw.cast_to_varchar2(tbl.geometry.get_wkt()) from FeatureTable tbl;
    -- resulting string:
        ☺AW(⌂özßHAA
    Å\(÷. . . .You may also want to have a look at { dbms_lob | http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_lob.htm#i1015792 } "The DBMS_LOB package provides subprograms to operate on BLOBs, CLOBs, NCLOBs, BFILEs, and temporary LOBs."
    Regards,
    Noel

  • NW RFC SDK: No more human-readable RFC error messages?

    I'm converting my program from the classic RFC SDK to the NetWeaver one.
    Apparently, the RFC_ERROR_INFO.message value is no longer filled with the proper human-readable error message as it used to be.
    Eaxmple: trying to create a function description for a non-existant function
    Classic SDK: "Function module "Z_MYFUNC" not found."
    NetWeaver SDK: "ID:FL Type:E Number:046 Z_MYFUNC"
    I don't see how to get the old message back. Can anyone help? Thanks!

    I am using nwrfcsdk in c directly, I have encountered some other issues, you may
    check the nwrfcsdk init release blog by Ulrich via
    /people/ulrich.schmidt/blog/2007/05/10/sap-netweaver-rfc-sdk
    May be the patch 1 have solved this issue already.
    sapnote 1056472 SAP NW RFC SDK 7.10 -- Patch level 1

  • WD(ABAP) - How to convert PDF object to XML

    I know there is a way available to converting PDF object to XML in JAVA. However how to achieve this goal in ABAP?
    In Web Dynpro ABAP, I can bind a context attribute to the pdfSource property of interactive form element. There also should be method to able to convert the binary content of this attribute to XML format, right? Does anyone know it?
    Your help would be greatly appreciated.

    Hi all,
    As an extension to Fred's question, is it possible to later use the generated XML data and present it in a PDF template?  It used to be possible using the FDF format, but Adobe seem to have discontinued that. 
    My basic requirement is to send the form data to a third party in XML format and for them to be able to view it in human-readable format, preferably using a PDF as a template. 
    Is this possible?
    Thanks,
    Jonathan

  • How to convert keystore (from native android project) to .p12 to use with AIR project?

    Due to the advancements with adobe AIR, I'm really excited to be finishing up a HUGE update of an old project that was originally made with native android.
    But, i've hit a brick wall with 2 issues, and it would be terrible if all the work i've done in AIR was for nothing...
    First, how do I convert the keystore I previously used (from native android project) to .p12 to use with AIR project? (on a mac)
    Second, how do I remove the "air." that gets automatically appended onto the front my android package name? I plan to use a captive runtime, so it's not really needed at all, and I can't upload it like this as an update because it will think it's a different app.
    Please help so I can continue using air for all my projects from now on!

    Thanks for the reply!
    So I'm going through this guide..
    http://helpx.adobe.com/air/kb/opt-out-air-application-analytics.html
    I followed all the steps, made all the adjustments to the androidmanifest.xml like it asks.
    But when i get to the stap that says
    "Run the following command to create the resource file for the updated AndroidManifest.xml:"
    I run this..
        "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platform-tools/aapt" package -f -M AndroidManifest.xml -F resources.arsc -I "/Users/brybam/Documents/eclipse/android-sdk-mac_x86/platforms/android-8/android.jar" -S ./res
    But I keep getting the same error
        ./res/layout/expandable_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/expandable_multiple_chooser_row.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/main.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/multiple_file_selection_panel.xml:1: error: Error parsing XML: not well-formed (invalid token)
        ./res/layout/ssl_certificate_warning.xml:1: error: Error parsing XML: not well-formed (invalid token)
    The guide doesn't say anything about these xml files, and im not sure what to do with these ore how to handle them.
    If i go into the res/layout folder, and just delete these (i know theyre for my layout and i need them, but im just saying i deleted them for the sake of a test)
    I was able to get through the rest of the steps in the guide fine, make an apk, and put it on my phone...only to find out the app will crash the moment you try to run it.
    So my question is, does anyone with any experience re-packaging an android application know how I might get around this or take care of the errors with the xml files in the layout folder?
    Thanks!!
    EDIT to note something i've tried:
    So, earlier in the guide they have me use thing thing called the "AXMLPrinter2.jar" to make the AndroidManifest.xml readable so i can edit it.
    I run something like this:
        java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" AndroidManifest.xml > AndroidManifest.xml.bk
    This makes a new file "AndroidManifest.xml.bk" and i can edit that.
    So, I was thinking with all of these layout xml files, maybe I could run this "AXMLPrinter2.jar" on them and then edit them. Because right now if you open them they're not human readable, and its hard for me to work on them if they're not...
    But when i do the same command I did on the AndroidManifest.xml i just get blank files...
    I tried
        java -jar "/Users/brybam/Desktop/repackage/AXMLPrinter2.jar" main.xml > main.xml.bk
    Just get a blank file.
    So, i think the issue might be with these just not being re-formatted to human readable.

  • How to convert epoch time to datetime in sql*loader Oracle

    Hello,
    I wan't to question how to convert epoch time to datetime in sql*loader Oracle. I try this script for convert epoch time to datetime in sql*loader, but error:
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    This is my loader:
    LOAD DATA INFILE 'C:\Documents and Settings\Administrator\My Documents\XL_EXTRACT_211\load.csv'
    into table TEMP_TEST_LANGY append
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
    DATADATA CHAR "TO_DATE('01-JAN-1970','DD-MON-YYYY')+:datadata/86400"
    This is my csv file:
    79314313.7066667
    79314336.2933333
    79314214.3466667
    This is my table:
    CREATE TABLE TEMP_TEST_LANGY
    DATADATA DATE
    Thanks
    Edited by: xoops on Sep 21, 2011 8:56 AM
    Edited by: xoops on Sep 21, 2011 8:58 AM

    thanks for your answer, but I asked to use sql loader instead of the external table, which so my question is why can not the epochtime converted to datetime, if there is no way to convert a datetime epochtime using sql loader, so I'm required to use the external table. thank you.
    This is my error log:
    Column Name Position Len Term Encl Datatype
    DATADATA FIRST * , CHARACTER
    SQL string for column : "TO_DATE('1-Jan-1970 00:00:00','dd-MM-YYYY hh24:mi:ss') + (:DATADATA/60/60/24)"
    Record 1: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 2: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Record 3: Rejected - Error on table TEMP_TEST_LANGY, column DATADATA.
    ORA-01722: invalid number
    Edited by: xoops on Sep 21, 2011 12:33 PM

Maybe you are looking for

  • Mac OS 10.7 printer problem with 6500 all-in-one wireless

    HP 6500 all-in-one wirelss: After configuring (and reconfiguring) the printer and exhausting all the troubleshooting steps suggested by HP, I still have the problem of prints stalling in the queue or, alternately, printing very very slowly. Wireless

  • Hp p7 1226s and 750 ti sc

    http://www.amazon.com/MSI-Computer-Corp-N750TI-2GD5/dp/B00I6DLIB8/ref=sr_1_cc_1?s=aps&ie=UTF8&qid=14... and  hp p7 1226s will work or no?

  • To find the processing Func. module

    hi, can anyone tell me how to find the processing Func. module(outbound) if i know the message type, basic type and extension. i tried with we57 but coudnt find the one(outbound) needed.

  • Purchase info record with same values

    Hi, I want to create purchase info records with the same material vendor purchasing org. plant ,how can it be done. This is required because it is possible for the same vendor to deliver material for the same plant and purchasing organisation.Is ther

  • How to ditch the mysterious bowling scene that appears in outgoing emails

    Does anyone know how to ditch the bowling picture that mysteriously appears on the top right hand corner of all my outgoing emails ? I can't find the option to turn it off or choose another picture. I hate bowling (nothing personal to anyone and all