Tdms vs cluster where when speed doesn't matter

hello,
The question is in the title: in case speed doesn't matter wich could be advantage using one or other of methode.
I 'm working on calibration bench at low speed ( T° of water , humidity, barometer) so hdd access is not a parameter.
i have to store , author, date  ~20 data information like that an then test data ( ~10 * 2Darray(~10*10) ).
I'm new to this kind of programming . I think both are possibles , but i would like to start knowing what can be the 
best before involving to much in one method before realizing the other was better adapted.
What are avantage disavantages like  easy of coding,  scalability,  ...
Best regards
Tinnitus
CLAD / Labview 2011, Win Xp
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail
Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte

For scalability and future expansion, I would strongly recommend you save your data as discrete units, not clusters.  Be sure to include a file format version number.  This will allow you to change the format in the future and still read old files.  More importantly, it will allow old code to fail gracefully (if necessary) when attempting to read newer, different format, files.  Make sure you take this into account in your design.  Some options in LabVIEW:
 TDMS - would be perfect for you, except it does not support 2D arrays.  In your case, the workaround (storing multiple 1D arrays) is not very onerous.  This is probably your first choice.  It can be easily converted to ASCII and/or read by Excel if needed.
Config File - this API set would also work fairly well for you.  It is text based, so be careful of your formatting for any numbers you save.  It is easy to lose resolution and get into problems.  Once, again, arrays are not natively handled.  You can work around this easily enough by converting the arrays to strings before writing.  Again, you will probably want to create a key for each line of the array, since extra CR/LFs will cause problems when reading.
HDF5 - this is a far more difficult method, but avoids the issues of the previous two.  You can get the API here (a Google search will give you more LabVIEW APIs, this one is rather old). HDF5 is difficult to learn but highly flexible and can be read by most commercial analysis packages.
Good luck.  Let us know if you need more information.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Handle Query when he doesn't return value

    hello,
    I have this code in a WBP
    begin
    go_block('xxx');
    execute_query;
    end;
    and in my 'xxx' block i have a pre-query that makes a set_block_property('xxx',defaut_where,value);
    but when my query doesnt find any record he still continues to run untill he returns me somes wrong records. how i know? I checked in backend with the condition values and there are no records for these condition values. so i think it's may be because i didn't handle my query for when he doesn't find records that match with the condition.
    if some cn tell me what to do and where to do it to resolve this problem, it will be nice to him.
    thanks
    Charly

    user10131488 wrote:
    Hello,
    Sorry to ask you that, but i tried to retrieve the last query in the system variable, but i can't. first i create an item and create a WMC trigger and i put this code in it:
    DECLARE
         tempv VARCHAR2(500);
    BEGIN
    tempv:=:SYSTEM.LAST_QUERY;
    :GPV_OBJECTIF.TEXT_ITEM326:=temp;
    END;
    i received an error that there is an exception that not handle. when i click on this item nothing happened.
    may be i placed the code in the wrong trigger.
    also i checked my query carefully, it seems everything is all rigth.
    CharlyMouse triggers are intentionally ignored in WebForms, they will not fire.
    you need to use some other trigger or a button or a message. What is the error you got?? you probably need to use a variable greater than VARCHAR2(500), try using VARCHAR2(4000) just to be on the safe side.
    Tony

  • Odd scenario where type inference doesn't work

    I've come across an odd scenario where type inference doesn't work and instead I'm greeted with a message:
    incompatible types
    found : java.lang.Object
    required: java.util.Set
    Here's the scenario (built with JDK6, javac):
    public class GenericTest {
         public static void test() {
              Set testList = GenericTest.method1(new Class[] { ArrayList.class });
         public static <I> I method1(Class<List>[] params) {
              return null;
    }Yet when I remove the type information from the method1 params, the class builds.
    public class GenericTest {
         public static void test() {
              Set testList = GenericTest.method1(new Class[] { ArrayList.class });
         public static <I> I method1(Class[] params) {
              return null;
    }Why would removing the type information from the parameter have any effect whatsoever on the return type?

    ilmaestro wrote:
    Though casting the parameter as you mentioned resolves the error (because it eliminates the generic), it still doesn't explain why changes to the parameter effect an error message having to do with the return type.It is due the call to the method with the "erased" type Class[] (not a Class<?>[], for example) and a return type resolution. Unchecked conversion (from the raw type to the parametrized type) is applied to the method argument and the return type of the method is determined as an erasure of the declared return type (JLS 3rd edition, [Method Result and Throws Types|http://java.sun.com/docs/books/jls/third_edition/html/expressions.html#15.12.2.6], first bullet, second sub-bullet). Erasure of the return type is a java.lang.Object, which is incompatible with the java.util.Set.
    In the second example, method parameter is already a raw type, and unchecked conversion is not required. The return type of the method is I and is correctly inferred to the java.util.Set.
    If the method is called with a non-raw type, then return types are inferred correclty. For example, following code compiles fine.
    public class GenericTest {
      public static void test() {
        Set testList = GenericTest.method1((Class<List>[]) (new Class[] { ArrayList.class }));
      public static <I> I method1(Class<List>[] params) {
        return null;
    }This example is not "correct" due to the cast to Class<List>[], because such array can't contain Class<ArrayList> as an element (Class<ArrayList> is not a child of Class<List>). And this makes definition Class<List>[] almost useless, because such array should contain only List.class values.

  • HT1933 How are you supposed to do this when it DOESN'T EVEN WORK!!!! you press report problem and it comes up saying " too many http redirects". Total useless !

    How are you supposed to REPORT THE PROBLEM when it DOESN'T EVEN WORK!!
    I clicked it as I got a receipt for something that HAS NOT EVEN BEEN BOUGHT ! (It's funny how apple try to charge me twice for something when I work nightshift and my phones switched off!)
    and all that happened was it came up saying "too many HTTP redirects" .
    And it won't let me report it ! X

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report your issue to the iTunes Store.
    Regards.

  • I am setting up a new iMac and need help syncing files to Dropbox.  On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox.  I can't remember how I set this up.  Any help?

    I am setting up a new iMac and need help syncing files to Dropbox.  On my old computer I had it set where when I saved a document, it was saved on my hard drive, as well as to a folder in Dropbox.  I can't remember how I set this up.  Any help?

    The way that Dropbox works is that it keeps a copy of all your files in your local Dropbox folder on your hard drive (which is, by default, directly under your home folder). Adding files to that folder will sync them to the Dropbox server.
    You do of course have to download the Dropbox application to enable this (download link at the top right of http://dropbox.com ).
    Matt

  • IPod classic hard drive needle sometimes skips (Red X).  When it doesn't and seems to power on normally, I start to restore it in Itunes and then it starts to skip again with the Red X on the screen.

    iPod classic hard drive needle sometimes skips (Red X). When it doesn't and seems to power on normally, I start to restore it in Itunes and then it starts to skip again with the Red X on the screen.  One time I was able to run the disk utility in time and reformat the hard drive, but the red x ended up appearing again and the hard drive started skipping again.
    Is there anything I can do besides get a new hard drive?
    P.S. I have also tried the banging on palm/floor trick and it hasn't worked yet for me.

    There nothing we can suggest to save a bad iPod hardisk, except to try some 3rd Party software to try repair the Hardisk.
    The Super Fix for Most iPod Problems
    See this earlier post on partition repair using 3rd Party EaseUS Partitipon Master software.

  • MAC OS Yosemite - CS6 - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one

    - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one window without having to be in full screen mode? I've managed to go some time like this, but right now it's just really annoying me. HELP!!!

    Just drag the small window to the top right below the toolbar, you'll see the area highlighted and when you drop it the file should dock.

  • I am having issues with streaming music from iTunes on my MacBook Pro to my audio system through AirPlay.  Works perfectly with my iPod Touch.  The AirPlay icon appears irregularly in iTunes and when selected doesn't connect.  Running latest IOS software.

    I am having issues with streaming music from iTunes on my MacBook Pro to my audio system through AirPlay.  Works perfectly with my iPod Touch.  The AirPlay icon appears irregularly in iTunes and when selected doesn't connect.  Running latest IOS software.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync all music and resync
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          
    You said:
    No, I do not want to "factory reset" my iPod. No I do not wish to do anything crazy long or hard to fix this. 
    That may be necessary, It is not what you want to do/not do but what is required to resolve your problem.

  • How do I delete items in my calendar when it doesn't work when I hover them over the trash can?

    How do I delete items in my calendar when it doesn't work when I hover them over the trash can?

    There are several ways
         - Selecting the event and hitting the "delete" key on your keyboard (as Wayne Contello said)
         - Selecting the event and opening the "edit" dropdown menubar item, and then selecting "delete"
         - Selecting the event and right clicking, then selecting "cut" (this option puts the event on your clipboard)

  • TS3899 When I send an email I get an error message that the receiver does not allow "relaying" it doesn't matter who the recipient si

    When I send/forward an email I get an error message that the recipient does not allow "relaying". It doesn't matter who the recipient is.

    Go into Settings>Mail, Contacts, Calendars>your account>Outgoing mail Server>SMTP>Primary Server then turn Server ON and fill in both User Name & Password>under Outgoing Mail Server.

  • Planned orders appears in RRP3 but when published doesn't appear in ECC?

    Planned orders appears in RRP3 but when published doesn't appear in ECC ?
    Help me with CIF procedures to bring it to ECC. (without using C5) because i need to convert to production order.?
    Thanks
    Ohio

    Hello Rahul,
    Please check the publication setting for location in-house production in /SAPAPO/CP1.
    Check active integration model in CMF5, if missing create the integration model by CFM1 and CFM2.
    Also you can run the delta report /SAPAPO/CCR  or post processing report /SAPAPO/CPP1 for planned order to transfer.
    Also check the CIF application log SLG1.
    Best Regards,
    R.Brahmankar

  • How do change my phone to where when i get a message the whole message doesnt come up on my screen?

    How do i change my phone to where when i get a message the whole message does not come up on my screen?

    Settings-Notifications-Messages-Turn "show preview" off...

  • How do you save your artwork in Photoshop CC 2014 as an PNG or JPEG file when it doesn't give the option?

    How do you save your artwork in Photoshop CC 2014 as an PNG or JPEG file when it doesn't give the option?
    Thanks for your time and help in advance.

    Thanks for replying. I actually got it to work. I had my work set to 32 Bits/Channel in stead of 16 or 8. Once I changed it to 16bit/Channel, it gave me the option to save as either file. Thanks again.

  • How do I load on Office:Mac onto my new MacBook Pro when it doesn't have a disk drive?

    How do I load on Office: Mac onto my new MacBook Pro when it doesn't have a disk drive - I don't want to have to purchase another copy.

    Glad you were able to solve your problem. For the benefit of others who may find this discussion later, allow me to suggest another possibility.
    If you have access to another Mac running Lion or Mountain Lion with an optical drive, you should be able to use the Remote Disc feature to access the optical drive on that other Mac.

  • Nested Skip Logic: How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?

    How do I create a form where when a top-level option has changed, that its related sub-fields will retract (disappear)?
    (This question was asked also in 2012 and 2013, but no answer has been provided.)
    THANKS
    Deborah

    Hi qwerty,
    Dun tink that creative customer support sucks cos I had been dealing with them in the past and I can say that their service are quite gd and fast. If you wanted a refund, I tink you need to contact the store that sells you the product. Dun tink creative will refund you though.

Maybe you are looking for

  • Daily metrics report of Exchange usage

    Hello Everyone,    I was delegated the task to find a way to perform an daily metrics report of our new exchange system and am at a loss of how to begin. We have recently rolled out an Exchange 2013 on premise deployment to serve 6000 accounts. Our e

  • Sending web link in hotmail

    If I cut and paste a web link into an email, it does not become a hyperlink. The recipent cannot simply click on the link, it appears just as regular text. I use Hotmail. Please advise.

  • My Library folder is missing-where did it go?

    My mail app has stopped working. It was suggested in another thread that I go to the mail folder in the Library folder and delete some items from the V2 file or folder. Problem is, I have no Library folder. Not there. Missing. Utterly confused. Searc

  • Problems downloading Trial Version of AE

    I'm trying to download AE CS3 right from the adobe.com website, and everything runs smoothly until i actually try to run the program. I download everything and then I click on the AE icon, and I get a dialog box asking if I want to: A) Type in a seri

  • Process Order BOM Explosion

    Hi Experts, We are creating Rework Order for a Material, and before saving, the BOM is not exploded and no production version was read.  However, when I open again the Rework Order, the order now has the BOM exploded, and prodution version was read (