Trouble with Data Storage VI's

I am new to LabView Data Storage, I wrote a very basic program to write data to a data base and to read the data. for some reason I am unable to read the data. I am attaching the VI's, Please can any one tell me what I am doing wrong in the VI's.
Thank you,
Mudda.
Attachments:
Read DataBase.vi ‏156 KB

Mudda,
I modified your code and I'll attach it here for you to look at. First of all, you need to tell the data storage open what function to perform (e.g. Open, creat, or replace). Then, you need to make sure the file you're writing to is a .tdm file. Finally, you need to remove the "Signals" terminal from your read and write vi's. To do this, double click on the vi and uncheck the box for "Show terminals for data channel". If this is checked and the "signals" terminal is visible, then the refnum will not pass any info on the file unless a signal is actually connected. So take a look at the code and see if you have any questions.
Tyler S.
Attachments:
write.vi ‏108 KB

Similar Messages

  • I have a Lucid 2 LG.  I have been having trouble with insuffient storage.  I have a 8G phone and have spent hours with Tier 2 tech trying to move info from the internal storage to the SD card with no luck,  When I go to storage in the settings it states t

    I have a Lucid 2 LG.  I have been having trouble with insuffient storage.  I have a 8G phone and have spent hours with Tier 2 tech trying to move info from the internal storage to the SD card with no luck,  When I go to storage in the settings it states that over 4 gigs is for Misc?  System data takes up over 4 gigs.  No one can tell me what system data consist of.  So My question is does anyone know what system data is?  I am assuming I have a 8 gigphone but can only use 4 gigs???

    System data is the OS or operating system.  That is where the recovery stays separated from the rest of the storage so that it doesn't get corrupted.  It is not accessible and non-movable.

  • Append value with Data Storage Vis

    Dear,
    I would like to use the Data Storage VIs to collect my data but I can't achieve my target.
    I'm acquiring 1000 samples at 1kHz (N samples on demand) and I make the mean value of the samples. At the end of this proces I have a scalar value and the initial time at wich I have acquired the data. With this two I build a waveform and then I use the Write Data Storage Vi (TDMS) with "append" write mode to save my data.
    When I read the Data Storage all the value have lost the time information. They start from 1.00.00,000 01/01/1904 and are equal spaced in time.
    How can I keep the time information?
    Thanks

    Sorry totaly misread what you were doing.
    You need to create ensure that waverform that is saved has the correct values for X0 and dx when you save it. Use the build waveform function to acheive this.
    edit:
    the default value for X0 is timestamp 0 (1904), use get datetimestamp at the very start of the cycle to get the correct value.
    James
    Message Edited by James W on 04-21-2010 01:06 PM

  • Trouble with date

    I have some trouble with the date system on my laptop.  Everything is correct on the System Preferences thing.  but when I watch info on a document (e.g. cmd/i) files are registered with dates like 15.6.0034 or 18.5.1119 (Norwegian calendar system dd.mm.yyyy).
    I just registered a test person in the Address book, and it showed 18.5.1120, which is  - in fact - many hundred years back in time!  Ihave done what is called PRAM, and I have run disk utility (verify and repair), but test persons and files are still registered in the year 1120. If I'm lucky I'll manage to get a screen picture here to show you.
    When I use Pages and things, dates are shown correctly, but it is quite annoying not to know when files were registered or updated.
    But I'm sure some of you clever guys will be able to help me! 

    jsa1307 wrote:
    What about this: Whenever I boot into Windows using Boot Camp the date & time is screwed up when I boot back into Leopard. I've tried trashing the localtime file and turning on/off the network time server. Nothing works as a permanent fix. Will I have to reset the time manually every time I change operating systems ??
    If you were to check into the BootCamp forum you would find your answer. It's a common question.
    http://discussions.apple.com/forum.jspa?forumID=1244
    Your issue here is unrelated to that of the original poster and should be reposted in the BootCamp forum.
    Thanks.

  • Trouble with date format

    Hello,
    i need some help with date formats. I am using JDeveloper 11g and am trying to write some SQL commands.
    When i enter the following, everything is working correctly.
    ResultSet query = st.executeQuery("select * from DB.TABLE where DATE > '01-01-2000'");
    I need to make it work so that date can be used from a jtextarea.
    String inputData =jTextArea1.getText();
    ResultSet query = st.executeQuery("select * from DB.TABLE where DATE > " +inputData);
    Query does not return anything.
    Do i need to convert the value of inputData? What other problems could there be?
    TY
    Edited by: user10956166 on Apr 1, 2009 4:08 AM

    Correct. Oracle will implicitly convert the date as shown below (see Predicate Information)
    SQL > explain plan for select * from test where modified_date > '01/01/2008 12:00:00';
    Explained.
    SQL > select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3461732445
    | Id  | Operation         | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT  |       |   677 |   105K|     6   (0)| 00:00:01 |
    |*  1 |  TABLE ACCESS FULL| TEST  |   677 |   105K|     6   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       1 - filter("MODIFIED_DATE">TO_DATE(' 2008-01-01 12:00:00',
                  'syyyy-mm-dd hh24:mi:ss'))Don't forget to use parameterized queries (a.k.a. bind variables)!
    HTH!

  • Trouble with dates

    Hello. I'm trying to do some operation with a date field. This date field normally has the actual date.
    I need to do select (sysdate-myDate)*24*60*60 from myTable where id=xxx
    The problem is that sysdate-myDate returns void instead of 0. I don't understand that. sysdate-sysdate or myDate-myDate returns 0
    I'm I missing something?

    Maybe SQL Developer is doing something funny based on a setting or something.
    This works in SQL Plus:
    SQL> select * from myTable;
    ID    MYDATE
    xxx   31-JAN-2007
    xxx   28-FEB-2007
    xxx
    xxx   31-MAR-2007
    xxx
    SQL> select id, myDate, (sysdate-myDate)*24*60*60 no_seconds
      2  from   myTable
      3  where  id = 'xxx';
    ID    MYDATE                NO_SECONDS
    xxx   31-JAN-2007              9715534
    xxx   28-FEB-2007              7296334
    xxx
    xxx   31-MAR-2007              4617934
    xxxThe calculated column is null if the mydate column is null.

  • Trouble with Date & Time

    Hi
    I've got a new MacBook running Leopard and the Date & Time seems to be stuck on Greenwich Mean Time. If I set the time zone for New York, the clock stays set to GMT and the next time I go in to the preferences the time zone setting has been removed. And the clock never changes unless I take it off the network time server and do it manually (the time zone problem persists).
    Any suggestions? Thanks in advance, Z.

    jsa1307 wrote:
    What about this: Whenever I boot into Windows using Boot Camp the date & time is screwed up when I boot back into Leopard. I've tried trashing the localtime file and turning on/off the network time server. Nothing works as a permanent fix. Will I have to reset the time manually every time I change operating systems ??
    If you were to check into the BootCamp forum you would find your answer. It's a common question.
    http://discussions.apple.com/forum.jspa?forumID=1244
    Your issue here is unrelated to that of the original poster and should be reposted in the BootCamp forum.
    Thanks.

  • Trouble with date variables

    I have an Oracle Source database and a SQL Server Target database. I need to do the following:
    1. Get Max Date from target SQL Server table and assign to a variable
    2. Get Max Date from source Oracle table and assign to a variable
    3. Create a filter on Oracle source table that includes the statement "Prod_Date >= #Target_Max_Date - #Source_Max_Date"
    Variables are Global and are of type "date". My test using one or both variables returne the error: "ORA-00911: invalid character". I know if I write a sub-query to test this in TOAD it works (ie: where Prod_Date <= (select max(Prod_Date)...."
    Prod_Date is obviously type "Date".
    Suggestions anyone?

    Where in operator do I check the format of the date?
    Also, I have tried using the following formatting:
    Prod_Date >= Prod_Date - ('#FDC_WELL_PROD_EST_Max_Date' - '#Well_Prod_Daily_Max_Date') - 45
    Result: ORA-01722: invalid number
    A date is a number, so any ideas why the variable is being considered a number?
    and
    Prod_Date >= Prod_Date - (TO_DATE('#FDC_WELL_PROD_EST_Max_Date','DDMMYYYY') - TO_DATE('#Well_Prod_Daily_Max_Date','DDMMYYYY')) - 45
    Result: ORA=-01858: a non-numeric character was found where a numeric was expected.
    In this scenario, it would seem we are trying to convert a date to a date?
    Appreciate your responses.
    Edited by: Becker on Jul 24, 2009 7:13 AM

  • Trouble with "data transfer" from old computer. Cannot open documents. Please help! Thank you.

    Apple did a "data transfer" from our old computer onto our new iMac, and we cannot open any of our old documents that were "transfered." When I open them in "TextEdit," all I get is a lot of random letters and symbols. I've tried everything, please help. Thank you!

    What old documents, you need to be much more specific. The info we are loooking for is what app created them, what the file extension is etc...

  • Probelm with data storage

    Hi all,
    I have a table called ztfin_ftpr.In this I have field called zkprs. Field type is z_dzkprs of length 11 and 4 decimals.Reference field is waers and reference table is T001.
    When I try to create an entry in the table through se16 if I specify the value or zkprs as 1.6 it is getting saved as 0.0160.
    Can any explain me what the reasonis and how to get rid of this ?
    Regads,
    Varun.

    Hi,
      alway specify 4 decimal degits.
    that write 1.6000
    i have seen many cases comma is used instead of decimal to enter numeric value.
    so try like this
    1,6
    Message was edited by: Manoj Gupta

  • I need a memory management/ data storage recomendation for my IMac 2 GH Intel Core 2 Duo

    Since giving my mid 2007 IMac a 2GB memory boost to accommodate Lion all has been well however my memory is full. I have a sizable ITunes library and 6000 photos in IPhoto, Me thinks I should store this all more effectively for the safety of the music and photos and for the well-being of the computer....but there seems to be choices. Is this where ICloud comes into play or time capsule or should I just get an external mini hard drive. Can anyone help me with some pearls of wisdom with data storage.

    Greetings John,
    There are two types of memory which you mention here.
    The 2 GB memory you refer to is RAM.  It is not used for storing information.  Rather for giving the computer a place to do much of its work.
    File storage is handled by the hard drive of the computer.
    If your available hard drive space is getting low you can move larger files to a Mac Formatted external drive:
    Faster connection (FW 800) drives:
    http://store.apple.com/us/product/H2068VC/A
    http://store.apple.com/us/product/TW315VC/A
    http://store.apple.com/us/product/H0815VC/A
    Normal speed (USB) drives:
    http://store.apple.com/us/product/H6581ZM/A
    Larger files can include entire databases like iTunes, iMovie, or iPhoto.
    Keep in mind that if you move these items to an external drive you will have to have the drive plugged in and powered on to access the data on them.  In addition, if you move important information off your internal drive to an external, you should be sure that your backup solution is backing up that external drive to keep your information safe.
    iCloud is not a file storage solution and TimeCapsule is not suited for storing databases like those mentioned above (its meant primarily as a backup solution).  I would stick with an external drive (1 to hold your big files and another one big enough to backup both your computer and the first drive).
    Here are some other general computer clean up suggestions: http://thexlab.com/faqs/freeingspace.html.
    Hope that helps.

  • Problem with date fields in where clause after changing driver

    Hi,
    We have changed the oracle driver we use to version 10
    and now we have some trouble with date-fields.
    When we run this SQL query from our Java program:
    select *
    from LA_TRANS
    where LA_TRANS.FROM_DATE>='20040101' AND LA_TRANS.FROM_DATE<='20041231'
    We get this error code:
    ORA-01861: literal does not match format string
    The query worked fine whit the previous driver.
    Is there some way I can run a SQL query with date fields
    as strings in the where clause?
    Thanks!

    Keeping the argument of standard SQL or not aside, comparing DATE columns to a constant string (which looks like a date in one of the thousands of the formats available, but not in others) is NOT one of the best programming practices and leads to heartburn and runtime errors (as you have seen yourself).
    I would rather compare a DATE to a DATE.
    Also, constants like that would be another issue to fix in your code:
    http://asktom.oracle.com/pls/ask/f?p=4950:8:6899751034602146050::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:528893984337,

  • TREX - Configuring Distributed Slave with Decentralized Data Storage

    I am creating a distributed TREX environment with decentralized data storage with 3 hosts.  The environment is running TREX 7.10 Rev 14 on Windows 2003 x64.  These are the hosts:
    Server 01p: 1st Master NameServer, Master Index Server, Master Queue Server
    Server 02p: 2nd Master NameServer, Slave Index Server
    Server 03p: Slave NameServer, Slave Index Server (GOAL; Not there yet)
    The first and second hosts are properly set up, with the first host creating the index and replicating the snapshot to the slave index server for searching.  The third host is added to the landscape.  When I attempt to change the role of the third host to be a slave for the Master IS and run a check on the landscape, I receive the following errors:
    check...
    wsaphptd03p: file error on 'wsaphptd03p:e:\usr\sap\HPT\TRX00\_test_file_wsaphptd02p_: The system cannot find the file specified'
    wsaphptd02p: file error on 'wsaphptd02p:e:\usr\sap\HPT\TRX00\_test_file_wsaphptd03p_: The system cannot find the file specified'
    slaves: select 'Use Central Storage' for shared slaves on central storage or change base path to non shared location
    The installs were all performed in the same with, with storage on the "E:" drive using a local install on the stand-alone installation as described in the TREX71InstallMultipleHosts and TREX71INstallSingleHosts guides provided.
    Does anybody know what I should try to do to resolve this issue to add the third host to my TREX distributed landscape?  There really weren't any documents that gave more information besides the install documents.
    Thanks for any help.

    A ticket was opened with SAP customer support.  The response to that ticket is below:
    Many thanks for the connection. We found out, that the error message is wrong. It can be ignored, if you press 'Shift' and button 'Deploy' (TREXAdmin tool -> Landscape Configuration).  We will fix this error in the next Revision (Revision 25) for TREX 7.1.

  • Test-OutlookConnectivity fails with '[Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sites'.

    I have a two site DAG, and the command is running from the alternate site where the databases are not currently being hosted. The following command...
    Test-OutlookConnectivity -Protocol:TCP -TrustAnySSLCert:$true -MonitoringContext:$true
    ...errors with the following output:
    An error occurred while trying to access mailbox CurrentlyHostingMBServerName.InternalDomainName, on behalf of user InternalDomainName\extest_bb13200232474
     Additional information:
     [Microsoft.Exchange.Data.Storage.WrongServerException]: The user and the mailbox are in different Active Directory sit
    es..
        + CategoryInfo          : OperationStopped: (Microsoft.Excha...onnectivityTask:TestOutlookConnectivityTask) [Test-
       OutlookConnectivity], CasHealthStorageErrorException
        + FullyQualifiedErrorId : F2F8AC0D,Microsoft.Exchange.Monitoring.TestOutlookConnectivityTask
    I thought this command would work based on the 'AllowCrossSiteRpcClientAccess: True' option on the DAG.  The command works well if run a CAS server in the active DB site.

    Hi,
    Exchange 2013 users use Outlook Anywhere to connect to CAS server. You may run the RCA to test the connectivity:
    https://www.testexchangeconnectivity.com/
    Thanks,
    Simon Wu
    TechNet Community Support

  • Hi,i need to upgrade my 13"late 2011macbook pro with an ssd drive.i have noticed there is a system hard drive for booting up and a data storage hard drive that my computer uses,are these the same hard drive i can see inside my laptop?

    hi,i use logic pro 9 and cubase to record,produce and master audio recordings and have bought a mac as recommended.have upgraded to 8gig memory (which i was told was the maximum you could upgrade a macbook pro)and still my recordin is slightley behind plauback.i need to replace my hard drive with a solid state drive to solve the problem.i have seen on youtube how to replace the hard drive but have noticed on the disk partition information that there is a 500gig harddrive for the system(booting up ect)and a 500gig harddrive for data storage,are these the same unit?i need to be sure im upgrading what the system uses to an ssd as well as the data storage or the problem wont be solved.i have an external hard drive so i have been looking at a smaller,faster ssd. hope you can help!

    DaisyMay wrote:
    Firewire 400/USB 2.0/1.1
    I would recommend not settling for less then USB 3 or hold out for Thunderbolt, if your machine is capable. Firewire 800 minimum.
    MacBook Pro, Mac OS X (10.7), 2.4GHz IntelCore i5 320 HD 8GB RAM ParallelsDesktop6.0

Maybe you are looking for

  • Flex Mobile - ViewNavigator with bottom locked menu / toolbar

    I want to create a toolbar menu on the bottom on my mobile application. Basicly I would like to align this component to be visible on every view of my application. I have several options but none of them seems like a good one: 1) TabbedViewNavigator

  • Control Framework: Fatal error - GUI cannot be reached

    Hello All,    Iam using BDC for creating a ZCR order throught VA01 - Credit Memo request. When executed in the foreground, it works fine.But when ran in background gives an error message - Control Framework: Fatal error - GUI cannot be reached  and g

  • HP c5280 won't work with airport on Snow Leopard

    I have a HP C5280 connected via USB to an airport express unit. It's worked flawlessly on Leopard, but now that I've upgraded to SL, I get a message "Unable to open printer (read failure)!". If I connect my MacBook Pro directly via USB to the printer

  • Itunes is not syncing with my Iphone

    Although my Iphone is not activated, I have a deactivated sim card in it.  I have been using it for an ipod for the past month and it had no problems.  Yesterday i plugged my phone into my computer and it said that it could not access its content, an

  • Custom Brush; saving/retrieving

    Hello Al!.  I just discovered CUSTOM BRUSHES in the newest vers. of Flash CC.  Thanks, Adobe.  Been waiting for 15 years for something like this! QUESTION: How do I save and retrieve my custom brush? (I tried sync-ing through preferences, but upon re