Time Issue When Transferin​g Data

I am trying to transfer data from LabView into Excel but when I do I am getting a value of 12/31/1905 8:00 PM for the time instead of the time elapsed since the start of the experiment.  I have changed the time manually in Excel and my data was correct.  I tried to change the time in the diagram window but it has yet to make a change in the Excel file that results. 
Amelia House
University of Delaware

Ok, so the reason that you are getting the type of t0 that I was mentioning is because the subVIs that you are calling to get data from your TDS1k/2k returns an artificial timestamp since the hardware doesn't seem to return any.
The image i'm including is what I was trying to say.
If that is still no good, you may want to post an additional message either on the LabVIEW forum or a hardware forum, given that this is the SignalExpress forum. On that note, there is a SignalExpress Tektronix Edition which will work with a TDS1k/2k and easily export data to Excel.
I hope that was still a little helpful.
Phil
Attachments:
waveformT0.gif ‏2 KB

Similar Messages

  • Issue when uploading Sales data from DSO to Cube.

    Dear All,
    I have an issue when I am uploading Sales data from DSO to Cube.  I am using BI 7.0 and I have uploaded all sales document level data to my DSO.  Then I use a transformation rule to calculate the Sales Value when I am doing DTP to cube.  Cube has customer wise aggregation data.
    In DSO I have NetPrice(KF) and Delivered_QTY(KF).  I do a simple multiplication routine in the transformation from DSO to Cube.
    RESULT =   SOURCE_FIELDS-NET_PRICE * SOURCE_FIELDS-DLV_QTY .
    At the moment I use Active Table(With out Archive) on the DSO to get the data since this is my first load.
    Issue is that the figure (Sales Value) in the cube is incorrect. I am getting a very large values which is impossible.
    Can someone please help me.
    Shanka

    Hi,
    are you sure that cube has customer wise aggregated data..since it will always aggregate the values of the key figures for the same set of characters...
    did you checked the values for the key figures as well and if even they are inflated or is the problem with this key figure only.
    During the data load the records may aggregates first for the same values of characters and then multiplication will be happening....if that is the case then you may have to multiply the values before storing it in the data package and then let it aggregate....can be achived through start routine...
    but first verify if other key figures are also having the same issue.
    Thanks
    Ajeet

  • Password change issue when updating user data in SAP ABAP system

    Hi Guru's,
    One of my reconciliation tasks part of the reconciliation job I've created is doing some strange password updates.
    As you can see below the task selects all users part of my identity store that are part of the account attribute of the particular ABAP system.
    Once these users are selected the task updates different data like username, validto, ... but the task is updating a lot of other things that are not part of the destination tab. What is causing the biggest issue is the password fields that are updated in the ABAP system like, password, productive password, ...
    Can you please advise if I missed something and how to solve?
    Thanks a lot,
    Laurent

    Hello Steffi,
    Yes in the ABAP systems they have the same timestamp. No other jobs are running at the same time.
    It is only happening to a few users depending on the ABAP system. On some ABAP systems there are only a few users for which the PW is reset and other systems 300.
    Example below of a system where I updated all user. In my pass only the following attributes should have been pushed thru to the ABAP system.
    However the valid from, accounting number and password have been updated as well.
    Thx,
    Laurent

  • Authorization issue when I display data from ODS, Infocube, Multirprovider

    Hi Experts,
    When I'm trying to display data for ODS, Infocube, Multiprovider, Infoset in production system, facing aurhorization issue.
    Can anybody have idea what is authorization objects to display data from Infoproviders.
    SIRI

    Check for below authoriztions in your role:
    S_RS_ICUBE
    ACTVT          03
    RSICUBEOBJ     AGGREGATE, CHAVLREL, DATA, DATASLICE,   DEFINITION, EXPORTISRC, UPDATERULE
    RSINFOAREA     *
    RSINFOCUBE     <your cubes>
    S_RS_ODSO
    ACTVT          03
    RSINFOAREA     *
    RSODSOBJ     <your DSOs>
    RSODSPART     DATA, DEFINITION

  • XML Parse issues when using Network Data Model LOD with Springframework 3

    Hello,
    I am having issues with using using NDM in conjuction with Spring 3. The problem is that there is a dependency on the ConfigManager class in that it has to use Oracle's xml parser from xmlparserv2.jar, and this parser seems to have a history of problems with parsing Spring schemas.
    My setup is as follows:
    Spring Version: 3.0.1
    Oracle: 11GR2 and corresponding spatial libraries
    Note that when using the xerces parser, there is no issue here. It only while using Oracle's specific parser which appears to be hard-coded into the ConfigManager. Spring fortunately offers a workaround, where I can force it to use a specific parser when loading the spring configuration as follows:
    -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl But this is an extra deployment task we'd rather not have. Note that this issue has been brought up before in relation to OC4J. See the following link:
    How to change the defaut xmlparser on OC4J Standalone 10.1.3.4 for Spring 3
    My question is, is there any other way to configure LOD where it won't have the dependency on the oracle parser?
    Also, fyi, here is the exception that is occurring as well as the header for my spring file.
    org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
    Line 11 in XML document from URL [file:/C:/projects/lrs_network_domain/service/target/classes/META-INF/spring.xml] is invalid;
    nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:396)
         [snip]
         ... 31 more
    Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'
         at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:425)
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:287)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:331)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:222)
         at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
         at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:75)
         at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:388)Here is my the header for my spring configuration file:
    <?xml version="1.0" encoding="UTF-8"?>
    <beans xmlns="http://www.springframework.org/schema/beans"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:aop="http://www.springframework.org/schema/aop"
           xmlns:tx="http://www.springframework.org/schema/tx"
           xmlns:context="http://www.springframework.org/schema/context"
           xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd
           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd
           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd">Thanks, Tom

    I ran into this exact issue while trying to get hibernate and spring working with an oracle XMLType column, and found a better solution than to use JVM arguments as you mentioned.
    Why is it happening?
    The xmlparserv2.jar uses the JAR Services API (Service Provider Mechanism) to change the default javax.xml classes used for the SAXParserFactory, DocumentBuilderFactory and TransformerFactory.
    How did it happen?
    The javax.xml.parsers.FactoryFinder looks for custom implementations by checking for, in this order, environment variables, %JAVA_HOME%/lib/jaxp.properties, then for config files under META-INF/services on the classpath, before using the default implementations included with the JDK (com.sun.org.*).
    Inside xmlparserv2.jar exists a META-INF/services directory, which the javax.xml.parsers.FactoryFinder class picks up and uses:
    META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines oracle.xml.jaxp.JXDocumentBuilderFactory as the default)
    META-INF/services/javax.xml.parsers.SAXParserFactory (which defines oracle.xml.jaxp.JXSAXParserFactory as the default)
    META-INF/services/javax.xml.transform.TransformerFactory (which defines oracle.xml.jaxp.JXSAXTransformerFactory as the default)
    Solution?
    Switch all 3 back, otherwise you'll see weird errors.  javax.xml.parsers.* fix the visible errors, while the javax.xml.transform.* fixes more subtle XML parsing (in my case, with apache commons configuration reading/writing).
    QUICK SOLUTION to solve the application server startup errors:
    JVM Arguments (not great)
    To override the changes made by xmlparserv2.jar, add the following JVM properties to your application server startup arguments.  The java.xml.parsers.FactoryFinder logic will check environment variables first.
    -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
    However, if you run test cases using @RunWith(SpringJUnit4ClassRunner.class) or similar, you will still experience the error.
    BETTER SOLUTION to the application server startup errors AND test case errors:
    Option 1: Use JVM arguments for the app server and @BeforeClass statements for your test cases.
    System.setProperty("javax.xml.parsers.DocumentBuilderFactory","com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
    System.setProperty("javax.xml.parsers.SAXParserFactory","com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl");
    System.setProperty("javax.xml.transform.TransformerFactory","com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
    If you have a lot of test cases, this becomes painful.
    Option 2: Create your own Service Provider definition files in the compile/runtime classpath for your project, which will override those included in xmlparserv2.jar.
    In a maven spring project, override the xmlparserv2.jar settings by creating the following files in the %PROJECT_HOME%/src/main/resources directory:
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.DocumentBuilderFactory (which defines com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.parsers.SAXParserFactory (which defines com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl as the default)
    %PROJECT_HOME%/src/main/resources/META-INF/services/javax.xml.transform.TransformerFactory (which defines com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl as the default)
    These files are referenced by both the application server (no JVM arguments required), and solves any unit test issues without requiring any code changes.
    This is a snippet of my longer solution for how to get hibernate and spring to work with an oracle XMLType column, found on stackoverflow.

  • Any one noticed issues when UCM contributor data files indexing in GSA

    Hi Guys,
    We are using Google search appliance to crawl UCM content (native documents).
    We don't have any issues with search results in this way. We are using dynamic converters to convert these documents into HTML in site studio web sites.
    But we have plans to move to site studio contributor data files (XML format).
    From your experience, any one noticed any issues in search results with UCM site studio contributor data files indexed by GSA.
    Thank you in advance.
    Edited by: 958795 on Oct 8, 2012 10:50 AM

    Hi Don,
    Thanks for the reply. I would discard the first one, because
    I already built the whole site using XML Data Sets, and the idea
    from the start was to use my own Atom feed to update the site. But
    the second one seems like a good choice, but I'm a bit puzzled. I
    was already using Spry:content for the pages that don't index
    correctly, putting them on an empty <span> tag so that they
    hid unloaded references... could you elaborate on that second
    choice, then, please?
    Here's a sample of the code:
    <!--start main content-->
    <div id="secondary-content" spry:detailregion="dsBase"
    class="wrapper">
    <div id="leftnav" class="frontpage">
    <div spry:state="loading">Loading content. Please
    wait...</div>
    <ul spry:repeatchildren="dsBase">
    <li class="Frontpage"><span
    spry:content="{title}"></span></li>
    <li class="subtitleFront">Posted on <span
    spry:content="{simpleDate}"></span></li>
    <li class="post"><span
    spry:content="{content}"></span></li>
    </ul>
    <p align="left"><br />
    Click <a href="archive.html">here</a> to see
    older posts.</p>
    </div>
    <div id="content-right" class="frontpage">
    <div class="wrapper">
    <h4 align="center">Featured art :</h4>
    <p align="center"> </p>
    <p align="center"><a
    href="gallery.html?row=4"><img
    src="images/tns/tn-AgainstAllOdds.gif" alt="Against All Odds"
    width="81" height="160"/></a></p>
    <p align="center">&quot;Against All
    Odds&quot;<br />
    Tobías Bartolomé</p>
    <p align="center"><a
    href="gallery.html?row=4">See more art at the
    gallery!</a></p>
    </div>
    </div>
    <div style="clear: both"></div>
    </div>
    And here's the link for the main page and Google's index for
    the site:
    http://www.cosmicollective.org/
    http://www.google.com/search?q=site:www.cosmicollective.org&hl=en
    Thanks again!
    Tomas

  • Issue when maintain master data in BW 740

    Hi guy ,
    When I want to maintain master data by right clicking info object  in DEV system, It pop an IE application ,
    http://bwqas.baicmotor.com:8000/sap/bc/webdynpro/sap/rsdmdm_md_maintenance_app?IOBJNM=ZFIIC005&sap-language=EN  
    It want me to login QAS system.I check  my host configuration parameters ,i think it's no problem.

    Hi
    Please check this
    From BW 7.40 SP5 Master data maintenance is moved from SAP GUI to WEBDynpro application. When I was trying to do the same it gives below error. I think It requires some settings to configure web services in BD7. Please check and activate the same. Please find the relevant links and SAP Notes which might help you.
    http://wiki.scn.sap.com/wiki/display/BI/BW+7.4+Master+data+Maintenance+via+WebDynpro 
    Note: 1997402 
    Note: 1969105 
    Note: 1088717
    Thanks
    Ajay Daggubati

  • Langauage issue -when loading master data text

    I have a customer master data attribute and text .
    This is master data is customized one. With in function module based on sy-langu it will extract the English,German,French.... customer data
    R/3 side -Rsa3 transaction when i logon each logon language it is extracting the correct information with text values based on the logon language.
    When I am loading the data for each language it is not loading.It is updating only the english.
    I logged on as french ,German  loaded data  attribute and text also. Still it is not updating in the master data text values with french ,german.
    Infopackage selection also I set DE and  French.
    Master data Infoobject - Text language dependent is marked also.
    Advance thanks

    Hello smartone,
    I'm facing the same problem right now (only getting EN). So maybe we can share some experience.
    On help.sap.com I found the following link:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a659be07211d2acb80000e829fbfe/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/80/1a659be07211d2acb80000e829fbfe/frameset.htm</a>
    Almost at the bottom of the page there is the description about the language vector. The settings made in this vector control the extracted languages. As a standard all installed languages in the system are marked here.
    In the following link describes how to change the settings.
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/1e6df8bf2a11d2b437006094b9ea64/frameset.htm">http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/1e6df8bf2a11d2b437006094b9ea64/frameset.htm</a>
    But to be honest, I do not know how to get to the parameters. Otherwise I would have tried to check/change them. Does anyone have an idea?
    Regards,
    Martin

  • Pacman sync time issues when behind router

    It didn't used to be so, but now whenever try a "pacman -Syu", it takes two or three minutes to complete(it used to take less than 10 seconds). I'm not sure if it's related, but I recently began using a router(Ativa54G) to connect to the internet, so maybe there's something I need to change in/etc/hosts to reflect this?

    It's the actual syncing of the lists that's taking a while(which I'm assuming an accelerator won't help).
    EDIT: Okay, apparently the issue was that the ArchLinux ftp site was listed first in /etc/pacman.d/mirrorlist. Also, I've narrowed down the rest of the problem to the US kdemod4 repos...

  • Issues while generating Schema DAT files

    We are facing two type of issues when generating Schema ".dat" files from Informix Database on Solaris OS using the
    "IDS9_DSML_SCRIPT.sh " file.
    We are executing the command on SOLARIS pormpt as follows..
    "IDS9_DSML_SCRIPT.sh <DBName> <DB Server Name> ".
    The first issue is ,after the command is excuted ,while generating the ".dat" files the following error is occuring .This error is occuring for many tables
    19834: Error in unload due to invalid data : row number 1.
    Error in line 1
    Near character position 54
    Database closed.
    This happens randomly for some schemas .So we again shift the script to a different folder in Unix and execute it.
    Can we get the solution for avoiding this error.
    2. The second issue is as follows..
    When the ".dat" files are generated without any errors using the script ,these .dat files are provided to the OMWB tool to load the Source Model.
    The issue here is sometimes OMWB is not able to complete the process of creating the Source Model from the .dat files and gets stuck.
    Sometimes the tables are loaded ,but with wrong names.
    For example the Dat files is having the table name as s/ysmenus for the sysmenus table name.
    and when loaded to oracle the table is created with the name s_ysmenus.
    Based on the analysis and understanding this error is occuring due to the "Delimiter".
    For example this is the snippet from a .dat file generated from the IDS9_DSML_SCRIPT.sh script.The table name sysprocauthy is generated as s\ysprocauthy.
    In Oracle this table is created with the name s_ysprocauthy.
    s\ysprocauthy║yinformixy║y4194387y║y19y║y69y║y4y║y2y║y0y║y2005-03-31y║y65537y║yT
    y║yRy║yy║y16y║y16y║y0y║yy║yy║y╤y
    Thanks & Regards
    Ramanathan KrishnaMurthy

    Hello Rajesh,
    Thanks for your prompt reply. Please find my findings below:
    *) Have there been any changes in the extractor logic causing it to fail before the write out to file, since the last time you executed it successfully? - I am executing only the standard extractors out of the extractor kit so assumbly this shouldnt be a issue.
    *) Can this be an issue with changed authorizations? - I will check this today, bt again this does not seem to be possible as the same object for a different test project i created executed fine and a file was created.
    *) Has the export folder been locked or write protected at the OS level? Have the network settings (if its a virtual directory) changed? - Does not seem so because of the above reason.
    I will do some analysis today and revert back for your help.
    Regards
    Gundeep

  • Date/time stamp issue when transferring vids/pics to computer. Help please.

    Hi, i am having an issue when transferring my vids/pics from my Z2 to my PC.
    On all my previous phones when transferring media to my PC it would be copied and labelled with a date stamp followed by a picture number- an example being 2014-01-13- 0123. This has always made organising and finding my pics/vids in there relavent folders an eay task.
    The problem i am now faced with is when i transfer pics/vids from my Z2.  The pictures are stamped with DSC_0001 for example and the videos with MOV_0001. This means when on my PC i have to examine each file individually to find out its date and time of origin.
    Even more of an headache is everytime i have transferred files from my Z2 and then take more pics/vids and then try to transfer them to my PC the computer will not allow transfer as the stamp on the file i am transferring from my Z2 eg - DSC_0001 is already present on the PC from a previous transfer. This means i have to rename all the PC files first.
    I hope this makes sense and hopefully there is an easy fix.
    I am new to Android and overall i am very happy with the operating system, being a massive improvement generally over my previous phones. Fingers crossed this is down to my lack of knowledge and just involves a settings change somewhere.
    Thanks in advance for any help.

    Hi.
    The case you described is right. But it´s not a bug.
    Why don´t you organise your pics/vids on your desktop with picasa for example. There you have many tools, also to rename your files, so that the filename contains the creation date.
    Or you use a cloud solution like dropbox, google+ or amazon clouddrive to sync pics/vids from your phone automatically.
    But never use the built-in sony playmemories. It´s really slow, pics are down-scaled to 1280x720 and vids are not synced. It´s the worst cloud-service for pics I´ve seen.
    Best
    arni

  • Tell me what is ******* going on!!!????! The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!

    The time and date issues!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Every times I went to Apple store, the phone automatically works good time, but when I came back, my phone is working very slow with wrong time!
    I want to get a new iPhone to replace this defective phone. I am gonna be crazzzzzzzyyyyyyyy with anger,!!!,!,,,!  I takes2 hours to go to Regent street apple stores for three times!!!!!. It is a lot of transport fees !
    PLz tell me why! How to deal with it !

    Unless it's confirmed officially that your phone is defective, then you can ask for a replacement. Or you have to live with you. However you can trade it for a new one if you don't care the price drop.

  • When on mobile data, my phone incorrectly thinks it's on eastern time instead of mountain time.

    Hi all,
    I have an HTC One running 4.4.2 and noticed while driving around today that my phone was two hours ahead of the actual time. When I checked my settings, the phone was set to Automatic date & time and Automatic time zone. When I looked at the Select time zone field, it said Eastern time zone. However, I'm in the Mountain time zone. The time remained off by 2 hours for the entirety of my hour-long drive home. However, as soon as I got home and the phone connected to my wi-fi network, the time and time zone, went back to the correct time and zone. Any ideas what causes the problem?
    John

        MackDog,
    Help has arrived! Thanks for providing those very helpful details to help us determine the root cause of this concern.
    The time zone located on the device is dependant on the GPS and data connection. It is possible it may have been a software glitch or it may have been misread by the GPS. The great news is, that is has since returned back to the correct time. Please continue to keep an eye out and let us know if this issue persists or was just a one time thing. If it happens again, try rebooting the phone immediately and see if it helps resolve the concern.
    EfrainM_VZW
    Follow us on Twitter @VZWSupport

  • Date/Time issue on Galaxy S3

    Just got my Galaxy two days ago to replace a HTC Rezond that had this same issue. The phone randomly goes back a day or two in time. Or just goes back 12 hours. It is causing my alarms to go off repeatedly for events that have expired, as well as missing current alarms for the actual day. In addition it messes with text, because of the date when you send a message it places it far up in the conversation history to match the date, so at times your not sure if the message was sent because you cant see it.
    Ex: My phone chimes to let me know i have a reminder. I check it and it is a reminder for Thursdays garbage running. Problem is its now Saturday, and my phone is traveling back in time. It does this randomly through out the day. 6 times yesterday. Is there any fix for this? Or is this a network issue?

        Hey Kayte2626,
    This sure is a bizzare occurance. I agree with demmo86rt that this is not a device issue. If you had the exact same issue with the Rezound and now with the Galaxy, there must be another issue.
    More than likely it is an application that you either have installed or have previously installed. I would try and master reset the phone (Settings>Backup and Reset>Factory Data Reset) and possibly even save what you can on the memory card and clean that up as well. There may have been a file on there that is causing the error (you can even try using the phone without the card to see if it works better).
    I have seen issues with Google Calendar as well that depending on how you enter the event (you choose the time zone when you are entering it) it may come up incorrectly. The reminder may have been set incorrectly with the time zone. Check to make sure. Please go into your calendar, press the menu button and select Settings. There should be Lock Time Zone. If that is checked your reminders may be coming up incorrectly.
    The only other connecting factor would be the SIM card between the two phones. So you can visit a local store and get that replaced to see if it will make a better connection with the network. Please let us know if you need anything further!
    Thanks!
    MichelleG_VZW
    Please follow us on Twitter @vzwsupport

  • Date/Time erros when working with Database Connectivity toolkit

    Hi!,
    We are observing errors with date/time when working with LV. The error occurs when the system datetime format is set such that day precedes month (e.g. dd/mm/yyyy). Our VI uses LV 7.1, Database Connectivity 1.0 and SQL Server 2000 on a Win2000 machine.
    Problem details
    Our database in SQL server has a table having columns with data type "datetime"
    If the system date format (as set in control panel) is "mm/dd/yyyy", the 'insert into database' vi works fine. This function inserts the date and time (among other things) into the above mentioned table.
    However, when the system datetime is set to dd/mm/yyyy we start receiving error that date and time is beyond range for dates in which the date had the day field greater than 12 (e.g. 23/10/2005). With the same settings, if the date is such that day field is equal or less than 12 (e.g. 03/10/2005), we do not receive an error but the date is interpreted as 10 March 2005 rather than 03 September 2005.
    Clearly LV (or is it SQL) is mistaking the day field as month.
    We have taken care that when sending and receiving date, the format date and time string is set as per system settings.
    Thus, if system setting is "dd/mm/yyyy" our format string is "%d/%m/%Y"
    And if the setting is "mm/dd/yyyy" our format string is"%m/%d/%Y"
    Any help on problem cause and cure is welcome.
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

    Hi Xu,
    You answer led me to some very interesting fact finding on how SQL server handles date and time. I have attached a zip file which contains webpages that throw more light on this issue.
    The attached pages tell me that SQL has an inbuilt date/time reference format. The default in mm/dd/yyyy. Which explains why my VI worked when I used that format to write to SQL.
    However there is a catch:
    SQL expects the date/time to be in its inbuilt reference format when you WRITE data to SQL. If the date/time is in a different format, better tell SQL about it by using say the SET command you mentioned.
    BUT what about the date/time format when you are reading data from SQL?
    Our finding is that SQL sends date/time string in the system date format when you READ from SQL !!! That is very surprising behaviour (why differentiate between write and read?).
    Is our finding correct?
    So, we adopted the following simple strategy (yet to be fully tested):
    1) Whenever we write date/time to SQL, the string is formatted as mm/dd/yyyy. Presently, the user's SQL server is in the default state. Caveat is that if the user changes SQL date/time from default (which is mm/dd/yyyy) to anything else, our software will give errors. But then he changed it  ;-)
    2) When we read date/time from SQL we format the string as per system date/time format.
    I know this is not very robust coding. But assuming the user keeps his SQL in the current setting, should we expect smooth working?
    In other words, are there any errors and/or flaws in our strategy?
    Thanks,
    Gurdas
    Gurdas Singh
    PhD. Candidate | Civil Engineering | NCSU.edu

Maybe you are looking for

  • Sending email using SO_NEW_DOCUMENT_SEND_API1 & SO_NEW_DOCUMENT_ATT_SEND_AP

    Hi All, I am trying to send a message using the above function modules .. however .. from the beginning of the second line onwards I can see a lot of "SPACES" (leading SPACES from the second line onwards). I am concatenating the fields from an intern

  • After updating iTunes, my wishlist and list of purchases is no longer visible in the Store.

    Like the title says, after the most recent update of iTunes (11.1.2) on my MacBookPro (OS X 10.6.8) when I go to the store My Wish List is no longer populated with selections that I have made to consider purchasing, and under Purchased it shows that

  • Lost audio files

    I have saved a song into another hard drive and hit save while I was working.Now when I open the project all the audio files are blank but the MIDI ones are there. I hit get info and the audio files were listed but I can't find them. Anyone have any

  • Language in Ipod

    Im from isreal and i have some songs in hebrew but i cant see anything written in hebrew. I just dee a bunch of X instead of the thing that is written. is ther any thing i can download to fix it?

  • How can I make my question slide look and act like the rest of the project?

    Hi, I have created my project without using a template. Each time I needed to create a new screen I simply duplicated the slide and then inserted new text. This worked quite well. However, when I tried to do this for a question slide, it wouldn't let