[HELP] problem with receiving data through rs232

    When I connect my VI with MCU (using proteus to simulate), why does it run stable in only 20 seconds? After that, it seem to be unstable. And when I stop simulation in proteus, why does my VI still run and stop after about more than 10 seconds?
   thanks!
Attachments:
anh.zip ‏5432 KB
3D Picture original.vi ‏30 KB
UART.zip ‏99 KB

linhvm wrote:
Reading and sending speed are 9600. you are right, the buffer was filled up, but I don't know the reasons. If I read 22 bytes in Labview, it will run stable for 20s, when I decrease the byte count, the stable time increase. If sending and reading speed are the same, why is the buffer filled up?
When I stop simulation in Proteus, it still run for several seconds before stop (I think, it run by the data in the buffer). But, if I connect with PL2303 module then disconnect, it will stop immediately.
It sure would be easier to read your pictures if your wires were somewhat straighter, didn't go backwards, didn't run under other wires or structures, appear to enter subVIs at the wrong terminal, or just appear or disappear at the edges of structures.
If your program stops after approximately 53,000 bytes (422,000 bits) no matter how many you read in a chunk, then I'd look at the sending end rather than the receiving end. But I don't have LV 2013, as many of us don't yet, to look at the VIs you sent in the first message.
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.
To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):
LabVIEW Unit 1 - Getting Started
Learn to Use LabVIEW with MyDAQ

Similar Messages

  • TS3276 I receive a pop up from ICal saying the server does not recognize me user name and password.  This started yesterday.  I have no problems with receiving or sending emails through Mail

    I receive a pop-up from ICal saying the server does not recognize my user name and password for my me.com email address.  This started yesterday and occurs about every 5 minutes or so.  There are no problems with receiving or sending email through Mail.  I did change me email password several days ago but have no problems sending/receiving since then.

    I fixed the problem.  I opened Preferences in ICal and entered my new password.  No more pop-ups

  • I have problem with Cellular data network it is not apearing in iphone setting so help me how to bring this option in iphone

    i have problem with Cellular data network it is not apearing in iphone setting so help me how to bring this option in iphone

    What brand/model USB drive? Is it bus or AC powered?
    On Mail...
    First Quit Mail, then I'd backup these two Mail folders, by right clicking on them in the Finder, then choose Archive/Compress.
    Users/YourUserName/Library/Mail
    Users/YourUserName/Library/Mail Downloads
    (Could be a different folder here if you chose such in Mail Prefs)
    Right click on that Mail folder, choose archive, you'll get everything in the folder, and the folder itself in a file called Mail.zip, move it to a safe place, same for the Mail Downloads folder... only the plist is separate.
    /Users/YourUserName/Library/Preferences/com.apple.mail.plist

  • Problem with billing date at closed period

    Hi
    We have a problem with billing date in transaction . Previously we could set up different (earlier) billing date than the actual posting period and now it is not working. We receive an error message that the posting period is closed ) .
    I attached an example invoice which we managed to post and where you can see what Iu2019m thinking about, parking number: 1024337, BILLING DOCUMENT: 841835. In this case the billing date was at 30.11.2007, but the posting in 15.07.2008 and we managed to post.
    Pls help that issue
    yps

    hi,
    it is due to posting period closed for the month of 07/2008.
    u need to open posting during that period.
    Regards,
    Greeshma

  • Problem with loading data to Essbase

    Hi All,
    I have a problem with loading data into Essbase. I've prepared maxl script to load the data, calling rule file. The source table is located in RDBMS Oracle. The script works correctly, ie. generally loads data into Essbase.
    But the problem lies in the fact, that after deletion of data from Essbase, when I'm trying to load it again from the source table I get the message: WARNING - 1003035 - No data values modified by load of this data file - although there is no data in Essbase... I've also tried to change the mode of loading data from 'overwrite' to 'add to existing values' (in rule file) but it does'nt help ... Any ideas what can I do?

    Below few lines from EPM_ORACLE_INSTANCE/diagnostics/logs/essbase/dataload_ODL.err:
    [2013-09-24T12:01:40.480-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received Validate Login Session request
    [2013-09-24T12:01:40.482-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received client request: Get App and Database Status (from user [admin@Native Directory])
    [2013-09-24T12:01:54.488-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: MaxL: Execute (from user [admin@Native Directory])
    [2013-09-24T12:01:54.492-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Received client request: MaxL: Describe (from user [admin@Native Directory])
    [2013-09-24T12:01:54.492-10:01] [ESSBASE0] [MLEXEC-2] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1115777344] Output columns described
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Define (from user [admin@Native Directory])
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Received client request: MaxL: Fetch (from user [admin@Native Directory])
    [2013-09-24T12:01:54.494-10:01] [ESSBASE0] [MLEXEC-3] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1102616896] Record(s) fetched
    [2013-09-24T12:01:54.496-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1116830016] Received client request: MaxL: Fetch (from user [admin@Native Directory])
    [2013-09-24T12:01:54.498-10:01] [ESSBASE0] [AGENT-1160] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1114724672] Received Validate Login Session request
    [2013-09-24T12:01:54.499-10:01] [ESSBASE0] [AGENT-1001] [NOTIFICATION] [16][] [ecid:1379989900303,0] [tid:1101564224] Received client request: Get Application State (from user [admin@Native Directory])

  • Problem with input data format - not "only" XML

    Hi Experts,
    I have problem with input data format.
    I get some data from JMS ( MQSeries) , but input format is not clear XML. 
    This is some like flat file with content of XMLu2026.
    Example:
    0000084202008-11-0511:37<?xml version="1.0" encoding="UTF-8"?>
    <Document xmlns="urn:xsd:test.01" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance Sndr="0001" Rcvr="SP">
    ...content....
    </Document>000016750
    Problems in this file is :
    1. data before parser <? xml version="1.0"> -> 0000084202008-11-0511:37 
    2. data after last parser </Document> -> 000016750
    This data destroy XML format.
    Unfortunately XI is not one receiver of this files and we canu2019t change this file format in queue MQSeries ( before go to XI) .
    My goal is to get XML from this file:
    <?xml version="1.0" encoding="UTF-8"?>
    <Document xmlns="urn:xsd:test.01" xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance Sndr="0001" Rcvr="SP">
    ...content....
    </Document>
    My questions:
    1. Is any way or technique to delete this data 0000084202008-11-0511:37  in XI from this file ?
    2. Is any way to get only XML from this file ?
    Thanx .
    Regards,
    Seo

    Hi Buddy
    What is the XI adapter using?
    If you use inbound File adapter content conversion you could replace these values with none and then pass it to the scenario.
    Does that help?
    Regards
    cK

  • Problems with receiving

    hello again! : ( I have problems with receiving mails, my
    installation is local, therefore I am using telnet but it marks errors
    to me you have some idea?
    bash-2.03# telnet pegaso.qoslabs.com 25
    Trying 192.168.20.20...
    Connected to hostname.com.
    Escape character is '^]'.
    220 pegaso.qoslabs.com -- Server ESMTP (Sun ONE Messaging Server 6.0 Patch 1 (built Jan 28 2004))
    MAIL FROM: [email protected]
    250-2.5.0 No HELO/EHLO seen; continuing anyway, [192.168.20.20].
    250 2.5.0 Address Ok.
    RCPT TO: [email protected]
    550 5.1.1 unknown or illegal alias: [email protected]
    RCPT TO: katiuskac
    550 5.1.1 unknown or illegal alias: user
    DATA
    554 5.5.0 No recipients have been specified.
    QUIT
    221 2.3.0 Bye received. Goodbye.
    Connection closed by foreign host.
    what is the solution?
    do you have any idea?

    If the MTA believes that you have an error, it will give you the 5.5.1 error.
    The error may be any of several provisioning problems. Since you haven't sent me the ldap entry for the user, I really can't tell which error you may have made.
    A common error is the value you placed in "mailhost".
    This needs to be the Fully qualified name of your mail server, not an alias. If you desire to use an alias for the system, you need to make additional configurations.
    Please believe me, I'm trying to help you, but when there are dozens of possible errors, and I have no data to examine, I can't tell which error you may have made.
    I do know that if you correctly provision a user, that user will work.

  • Problem with Java Dates and UPDATE for SQL2000

    I am having problems with the date formats for Java. I am trying to put the current date time into a SQL table, here it the code I am using:
    var Today = new Date()
    var conn = Server.CreateObject( "ADODB.Connection" )
    conn.Open( "Provider=SQLOLEDB;Server=(local);Database=BillTracking;UID=sa;PWD=;")
    var sql = "UPDATE BillAssignments SET DatePosted = " + Today + " WHERE AssignmentID = '" + Request.QueryString("AssignmentID") + "'"
    var rs = conn.execute(sql)
    I keep getting different errors and I have been unable to find a solution yet. I know that I need to change the date format from the Java standard to the one that SQL likes.
    Help....
    Norm...

    Please tell us where the Java part of this comes in. I see that you are using JavaScript to load up data via an ADO connection (presumably on an IIS platform) - but I do not see where you are using Java
    Lee

  • Problem with a date... expecting what i am not offering

    lol. I thot that would grab your attention...
    now that your here...
    can you help me with my date?
    When i compile GameTest.java, i receive these 2 errors:
    C:\jDevl\Lot649\GameTest.java:18: integer number too large: 02121982
              lotto[0] = new Ticket1(0001,02121982, 03, 11, 12, 14, 41, 43, 13);
    .\Ticket1.java:20: incompatible types
    found : int
    required: Lot649.Date
              drawDate = dDay.getDate();
    here is my code for GameTest
    import Lot649.*;
    public class GameTest{
         public static void main( String args[]){
              String result = "";
              //fill the lottery array with 5 ticket objects
              Ticket1[] lotto = new Ticket1();
                                  //recNo,mmddyr, n1, n2, n3, n4, n5, n6, n7}
              lotto[0] = new Ticket1(0001,02121982, 03, 11, 12, 14, 41, 43, 13);
              lotto[1] = new Ticket1(0002,02191982, 08, 33, 36, 37, 39, 41, 09);
              lotto[2] = new Ticket1(0003,02261982, 01, 06, 23, 24, 27, 39, 34);
              lotto[3] = new Ticket1(0004,03031982, 03, 09, 10, 13, 20, 43, 34);
              lotto[4] = new Ticket1(0005,03031982, 03, 11, 12, 14, 41, 43, 14);
              //print out information about all ticket objects
              for (int i=0; i < lotto.length; i++)
                   Ticket1 t = lotto;
                   result += t.getRecNo+" "+t.getDate+" "+t.getArray() + "/n";
    and here is my code from the Ticket class
    import Lot649.Date;
    public class Ticket1{
         private int recNum;
         private Date drawDate;
         private int nArray[] = new int[7];
         public Ticket1( int rec, Date dDay, int n1, int n2, int n3, int n4,
                         int n5, int n6, int n7){
              recNum = rec;
              //drawDate = dDay.getDate();
              //Date dD = new Date();
              drawDate = dDay.getDate();
              nArray[0] = checkNum(n1);
              nArray[1] = checkNum(n2);
              nArray[2] = checkNum(n3);
              nArray[3] = checkNum(n4);
              nArray[4] = checkNum(n5);
              nArray[5] = checkNum(n6);
              nArray[6] = checkNum(n7);
         }//end of ticket constructor
         public Ticket1( int recA, Date DateA, int arrayName[] ){
              recNum = recA;
              drawDate = DateA;
              nArray[0] = arrayName[0];
              nArray[1] = arrayName[1];
              nArray[2] = arrayName[2];
              nArray[3] = arrayName[3];
              nArray[4] = arrayName[4];
              nArray[5] = arrayName[5];
              nArray[6] = arrayName[6];
         }//end of Ticket1 constructor...and this is the code from my Date class
    package Lot649;
    public class Date extends Object {
       private int month;  // 1-12
       private int day;    // 1-31 based on month
       private int year;   // any year
       // Constructor: Confirm proper value for month;
       // call method checkDay to confirm proper
       // value for day.
       public Date( int mn, int dy, int yr )
          if ( mn > 0 && mn <= 12 )       // validate the month
             month = mn;
          else {
             month = 1;
             System.out.println( "Month " + mn +
                                 " invalid. Set to month 1." );
          year = yr;                      // could also check
          day = checkDay( dy );           // validate the day
          System.out.println(
             "Date object constructor for date " + toString() );
       public Date( Date dateObj){
              month = dateObj.month;
              day = dateObj.day;
              year = dateObj.year;
       // Utility method to confirm proper day value
       // based on month and year.
       private int checkDay( int testDay )
          int daysPerMonth[] = { 0, 31, 28, 31, 30,
                                 31, 30, 31, 31, 30,
                                 31, 30, 31 };
          if ( testDay > 0 && testDay <= daysPerMonth[ month ] )
             return testDay;
          if ( month == 2 &&   // February: Check for leap year
               testDay == 29 &&
               ( year % 400 == 0 ||
                 ( year % 4 == 0 && year % 100 != 0 ) ) )
             return testDay;
          System.out.println( "Day " + testDay +
                              " invalid. Set to day 1." );
          return 1;  // leave object in consistent state
       // Create a String of the form month/day/year
       public String toString()
          { return month + "/" + day + "/" + year; }
       public int getDate()
            { return month + day + year;}
    //     public Date getDate()
    //          { return Date;}
    }//end of Date Classwhen i do
    drawDate = dDay.getDate();getDate returns an int
    how do i getDate to return an object that i can stuff into drawDate?
    you can see that i have monkeyed around with it...
    but my brain is gettin kinda frustrated...
    your help appreciated.

    lotto[0] = new Ticket1(0001,02121982, 03, 11, 12, 14, 41, 43, 13);
    You can't do that. The second parameter for the constructor is Date, >not int. You have to pass a Date Object. ...02122982 is the date in my data file,i thot bcz i identified that field in my Ticket constructor it would know that i wanted 02122982 to be interpreted as a date....
    ...brain is toast.
    i tried to create
    public Date getDate(){ return date }//but i commented this out bcz
    no matter how i tried it still gave me errors...
    or is it
    public Date getDate(){ return this.date }//
    or is it
    in TestGame
    drawDay = new Date(Date xxx);
    so your saying i can keep 02122982 as an arguement
    & that the constructors parameter is expecting an object... how do i make it look like an object?

  • Error while posting GR from EWM in ECC. "Problem with receiver finding"

    Hi
    I have completed putaway of inbound delivery in EWM. This has triggered PPF to ECC for GR posting. This is stuck in ECC SMQ2 with error "Problem with receiver finding".
    I have checked ECC>EWM interface configuration. Handling unit management setup in ECC and EWM. Do not see any issues there. Also tested GR account postings with IM storage location for Po in ECC. This is also working fine...so no issue with account determination.
    Unable to figure out what is causing issue. Please help. Thank you.
    Best Regards
    phani sai MN

    Hi All
    Thanks for your responses. Issue was with distrubution model fiter parameters. for message type InboundDelivery.Deliverychange there was additional filter parameter for logical system. Removed values for logical system and only retained warehouse number.
    With this issue is resolved. GR is posted succesfully in ECC.
    Best Regards
    Phani sai MN

  • Facing problem with a date column in select query

    Hi,
    I am facing problem with a date column. Below is my query and its fainling with " invalid number format model" .
    Query: SELECT *
    FROM EMP
    WHERE trunc(LAST_UPDATED) >= to_date(to_char(22-05-2009,'dd-mm-yyyy'),'dd-mm-yyyy')
    LAST_UPDATED column is "DATE" data type.
    Please help me Thanks

    Radhakrishna Sarma wrote:
    SeánMacGC wrote:
    WHERE LAST_UPDATED >= to_date('22-05-2009','dd-mm-yyyy');
    You do not need the TRUNC here in any case.
    I don't think so. What if the user wants only data for 22nd May and the table has records with date later than 22nd also? In that case your query willl not work. In order for the Index to work, I think the query can be written like this I think Sean is right though. Use of TRUNC Function is quiet useless based on the condition given here, since the to_date Function used by OP will always point to midnight of the specified date, in this case 22-05-2009 00:00:00.
    Regards,
    Jo
    Edit: I think Sean proved his point... ;)

  • Problem with the date conversion

    Hi Friends,
    i am facing the problem with the date conversion,  Actuall my requirement is to pass the date to the screen based on the user setting roles(SU01).
    I have fetched the user setting date format by using the funciton module SUSR_GET_USER_DEFAULTS, The function module picks the exact user date setting (Like as MM/DD/YYYY, MM.DD.YYYY, DD.MM.YY).
    After that i have implemented the FORMAT_DATE_4_OUTPUT funciton module for converting of the user role setting date format into system  date format.
    for the english language case the funciton module FORMAT_DATE_4_OUTPUT works fine but the funciton module not supported for other languages
    Can you please provide the Function Moudle for user setting date conversion.
    The funciton module is most important for us,
    Thanks
    Charan
    Moderator message: date conversion questions = FAQ, please search before posting.
    Edited by: Thomas Zloch on Dec 21, 2010 2:19 PM

    Hope this logic helps you.
    DATA LF_DATE    TYPE DATS VALUE '21122010'. " 21-dec-2010
    DATA LF_DATE_BI(10).
    WRITE LF_DATE TO LF_DATE_BI.  "Now LF_DATE_BI contains the date in user format
    "Now populate the value LF_DATE_BI to the screen field

  • Problems with retrieving data from tables with 240 and more records

    Hi,
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.
    I installed Oracle 11.2.0 Client and I started to have problems with retrieving data from tables.
    First I used the same connection string, driver and so on (O10 Oracle 10g) then I tried ORA Oracle but with no luck. The result is like this:
    I'm able to connect to database. I'm able to retrieve data but from small tables (e.g. with 110 records it works perfectly using both O10 and ORA drivers). When I try to retrieve data from tables with like 240 and more records retrieval simply hangs (nothing happens at all - no error, no timeout). Application seems to hang forever.
    I'm using Powerbuilder to connect to Database (either PB10.5 using O10 driver or PB12 using ORA driver). I used DBTrace, so I see that query hangs on the first FETCH.
    So for the retrievals that hang I have something like:
    (3260008): BIND SELECT OUTPUT BUFFER (DataWindow):(DBI_SELBIND) (0.186 MS / 18978.709 MS)
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=1
    (3260008): ,len=160,type=DECIMAL,pbt=4,dbt=0,ct=0,prec=0,scale=0
    (3260008): EXECUTE:(DBI_DW_EXECUTE) (192.982 MS / 19171.691 MS)
    (3260008): FETCH NEXT:(DBI_FETCHNEXT)
    and this is the last line,
    while for retrievals that end, I have FETCH producing time, data in buffer and moving to the next Fetch until all data is retrieved
    On the side note, I have no problems with retrieving data either by SQL Developer or DbVisualizer.
    Problems started when I installed 11.2.0 Client. Even if I want to use 10.0.1 Client, the same problem occurs. So I guess something from 11.2.0 overrides 10.0.1 settings.
    I will appreciate any comments/hints/help.
    Thank you very much.

    pgoel wrote:
    I've been connecting to Oracle 11g Server (not sure exact version) using Oracle 10.1.0 Client and O10 Oracle 10g driver. Everything was ok.Earlier (before installing new stuff) did you ever try retrieving data from big tables (like 240 and more records), if yes, was it working?Yes, with Oracle 10g client (before installing 11g) I was able to retrieve any data, either it was 10k+ records or 100 records. Installing 11g client changed something that even using old 10g client (which I still have installed) fails to work. The same problem occur no matter I'm using 10g or 11g client now. Powerbuilder hangs on retrieving tables with more than like 240 records.
    Thanks.

  • Problem with universal data cleanse

    I have problem with universal data cleanse.
    I am using DS 3.2.x (12.2.2).
    I created:
    Dictionary: TEST
    Classification: TEST_CL
    Custom outputs: category: TEST_CAT
    Dictionary Entry:
    Primary: BO
    Classification: TEST_CL
    Gender: Unassigned
    Secondary information:
    When used as: TEST_CAT
    Standard: Business Objects
    Rule file:
    DataCleanse Rule File v2.0;
    TEST_CAT = TEST_CL;
    action = TEST_CAT;
    TEST_CAT = 1 : TEST_CAT : 1;
    end_action
    Data Cleanse:
    Input: Multiline1
    Options:
    Parsing Dictionary: TEST
    Rule file: .../test_rules.dat
    Break On Whitespace Only: Yes
    Parser Sequences Multiline1: TEST_CAT
    Output:
    Parent_component: TEST_CAT1
    Generated_field_name: TEST_CAT and RULE_LABEL
    Generated_field_class: parsed/standardized
    Contenet_type: none
    and EXTRA field
    I wanted to replace word u201CBOu201D with the standard words u201CBusiness Objectu201D, but I have result: there is "BO" in the extra field,
    there are "null" in others fields.
    What am I doing wrong?
    Thanks for all help!
    P.S. I don't have cleansing packages installer.

    There seem to be a couple of things going on here:
    1. If you are using your custom dictionaries, then you have to map your input to MULTILINE1 and enable the custom parsers - just something to be aware of
    2. You mentioned that you made some changes to the existing dictionary and you are not seeing any changes. To be clear, do you have different TEST and PRODUCTION environments? Or is it the same environment except that you have a local DS repository and for the dictionary you are pointing to another repository (using Dictionary --> Manage Connections)?
    Having the dictionaries on a different repository should not make any difference as long as you point to them in your designer using the Dictionary --> Manage Connection option.
    So I think there may be some issue with your job setup and/or dictionary values need to be looked at. You can start by adding another output field named "EXTRA" to see whether or not your data is getting parsed at all. Also, make sure the entry "CLEANME" is classified as FIRM_NAME_ALONE in the dictionary and that you are selecting the correct dictionary name in the Datacleanse Transform options.

  • Spotify and facebook problem with the date

    Hi, everyone.My spotify account have a problem with the date. I changed the date on facebook and nothing happens with that, the spotify account has a wrong date, is not the same as facebook account

    Hi ,
    By default , RFC accept date format of SQL date (yyyy-mm-dd) . If you are using a date picker from WD, it directly set the date in SQL date format. Incase if you are trying to pass date to RFC in some other way you have to convert that into SQL date format before passing.
    if you are passing String date of format dd-mm-yyyy , you try this method to convert that to SQL date and pass to your RFC.
    public java.sql.Date sqlDateConvert( String date)  {
        //@@begin sqlDateConvert()
         java.sql.Date dateObj=null;
         try{     
              StringTokenizer tempStringTokenizer = new StringTokenizer(""+date,"-");          int dd=Integer.parseInt(tempStringTokenizer.nextToken().trim());
                                    int mm=Integer.parseInt(tempStringTokenizer.nextToken().trim());
              mm=mm-1;
              int yyyy=Integer.parseInt(tempStringTokenizer.nextToken().trim());
              Calendar cal =Calendar.getInstance();   
              cal.set(yyyy,mm,dd);                         
              dateObj = new java.sql.Date( cal.getTime().getTime());
         }catch(Exception e)
              return dateObj;
    Hope this will help you.

Maybe you are looking for

  • Ipod touch will only charge in docking station after 3.0 upgrade

    Prior to my recent (this week) upgrade to 3.0, my ipod touch could charge off of my desktop computer, my laptop, and my Apple USB wall charger adapter. That adapter is not the current version, but the prior model. Since I've done the upgrade, the ipo

  • Which hard-drive modules should I load for the mkinitcpio.conf file?

    Hey all, I've always been confused by all the weird module names in the image files, anyway, here goes, since I have a laptop, I won't be upgrading my harddrive to a new interface. but.. that's not the problem, the problem is I don't know which modul

  • I just downloaded the 6.02 version and clicked on "save the file" in the box that popped up. Was this correct?

    Usually there's a "run" option for a new file. I didn't see one and wonder if the new version will now run on my computer, or if I've just saved it to my save files. I'm a real novice at this.

  • RDWeb icons missing

    I have more problems with my Server 2012 R2 RDS deployment.  After setting up RDS and creating a new collection, I am not able to see icons of applications that I publish for the Collection.  I have checked the WMI authority according to a couple of

  • Getting a New Machine, Help Me Migrate

    So, my new MacBook will be arriving at some point today. It's a 13", 2.0 Core2, 1 Gig/80 Gig HD, Combo Drive. Currently, I'm using a Mac Mini 1.25 G4 with an 80GB HD running 10.4.11 with a 160GB LaCie mini HD attached. I keep all of my media (iPhoto