An easier way to record data

Hello

I am generating some paintings I like to save in a row, and since they are inside a loop that a matrix will be created.

I have a method how to do (my example program is attached). The problem is that I have to take each value and son and it became really a pain, as the program develops.

Can someone offers an easier way, well it doesn't have to be the type that I chose, excel file is OK.

Thank you very much

Do not use the table in the cluster.  It is not scalable and you would have to create dozens to hundreds of son.

Look at the chart to a worksheet string as in the picture.  Now, your example was not clear in what order you want things wired or what format want it converted numbers in the chain.  So, you will need to rework the delimiters (default tab) and the format string.  But the image should give you the idea.

Tags: NI Software

Similar Questions

  • Is there an easy way to get a Date/time string seconds?

    I have 2 strings of the format depending on whether I would like to convert in seconds (since 1900). I need this value to set the t0 in a field.

    Date: ' 30/06/2014 '.

    "Time: '16:06 ' 08."

    Is there a CVI function that will do this conversion for me? If not, is there an easy way to do it?

    Thank you!

    This code should do what you want:



    static time_t calt;
    struct Shared tm tm;
    public static char msg [64];
    public static int AA, mm, DD, hh, mn ss;

    strcpy (msg, ' 2014/06/30 16:06:08 ');

    Extract the date/time string component
    Scan (msg, "%d [x] %d [x] %d [x] %d [x] [x] %d %d", & mm, dd, and yy, & hh, & mn, &ss);)

    Transfer to a struct tm components
    TM.tm_hour = hh;
    TM.tm_min = mn;
    TM.tm_sec = ss;
    TM.tm_year = yy - 1900;
    TM.tm_mon = mm - 1;
    TM.tm_mday = dd;

    Obrtain calendar
    CALT = 0;
    CALT = mktime (&tm);)

  • Best way to record 50 kech. / s data to the file

    I'm reading a data acquisition data at a sample rate of 50 kech. / s and save it in a file. My application must run for at least a few hours. At first, I tried a model of loop of consumer-producer with a writing on measurement file Express VI, but he wrote the data too slowly, and my queue. Now, I'm trying to use the Write to VI file spreadsheet with or without a loop of producer-consumer model (see attached screws). Both seem to write data to the file, but no written records the number of datapoints I expect (the two have a lot less datapoints).

    What is the best way to write data to the file? Seems like a basic question, so if it has already been discussed in detail in another forum, or if there are examples of what someone could point me to, that would be appreciated also.

    Thank you!

    Hvea look at "stream directly to disk with TDMS in LabVIEW".

  • Easy way to search by date in Vista?

    Just updated from XP to Vista & cannot figure out how to find my documents by date.  I liked the search function on XP that would allow you to search by date, for example, created during the month, week, year, etc.  Is there an easy way to do this in Vista?  The instructions in the help of Vista are difficult to follow.  Help!

    Start typing a file name, and then click search everywhere which appears just above the area.  Will take you to the advanced search box.  Delete what you have entered to access the advanced search box and click search.  You will see a section for the date.  Enter the date you want, whether you want files on, before or after this date and if you want date of creation or modified date and click search.  Search will find the files you want.  Don't forget to select the basis of appropriate research (only the indexed locations or drive c:\ or something else) and whether or not you want to not indexed, hidden and system files included.

    I hope this helps.

    Good luck! Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • is there an easy way to get the number of months in a year in a date range?

    Hi, experts, I am a newbie.

    are there any easy ways to get the number of months in a year in a date range?

    I would like to write a user-defined function.

    the input parameters are startdate, enddate, year

    the output is a number, not a month.

    for example, case 1

    StartDate = 01032009 (DDMMYYYY)
    end date = 28022010 (DDMMYYYY)
    If the year 2009, the output is 10
    If the year = 2010, the output is 2

    case 2:

    StartDate = 10032009 (DDMMYYYY)
    end date = 15032010 (DDMMYYYY)
    If the year 2009, the output is 10
    If the year = 2010, the output is 3

    Thank you very much!

    Hello

    You can (also) try this:

    SQL> with s as (
      2  ------------ Sample data -------------
      3  select to_date('01032009','ddmmyyyy') startdt, to_date('28022010','ddmmyyyy') enddt, 2009 yr from dual
      4  union all
      5  select to_date('01032009','ddmmyyyy') startdt, to_date('28022010','ddmmyyyy') enddt, 2010 yr from dual
      6  union all
      7  select to_date('10032009','ddmmyyyy') startdt, to_date('15032010','ddmmyyyy') enddt, 2009 yr from dual
      8  union all
      9  select to_date('10032009','ddmmyyyy') startdt, to_date('15032010','ddmmyyyy') enddt, 2010 yr from dual
     10  ------------ Sample data -------------
     11  )
     12  select startdt, enddt, yr,
     13  months_between(
     14          least(trunc(to_date(yr+1,'yyyy'),'year') , add_months(trunc(enddt,'month'),1))
     15          , greatest(trunc(to_date(yr,'yyyy'),'year') , trunc(startdt,'month'))
     16  ) nbmonths
     17  from s;
    
    STARTDT    ENDDT              YR   NBMONTHS
    ---------- ---------- ---------- ----------
    01/03/2009 28/02/2010       2009         10
    01/03/2009 28/02/2010       2010          2
    10/03/2009 15/03/2010       2009         10
    10/03/2009 15/03/2010       2010          3
    

    It's pretty simple. (no connection with, without functions SQL only integrated multicast, etc...)

  • Is there an easy way to get the previous record in the Apex?

    I'm new to APEX/Oracle, but have a lot of expierence as a mainframe programmer and some experience with SQL.

    I have been instructed by my boss to create a set of pages in an application like this.

    Page 1: Select an employee name and go to Page 2.

    Page 2: View employee biography information.
    Add a 'Next employee' button and a button "Previous employee" who picks the previous employees respectively biography info.

    Essentially, he wants a query with information biography of each employee with an employee selected on page 1, used as pointer to start.

    I built successfully "select the name of an employee on page 1" and "show its info on page 2" with a query that returns a single record.

    What I can not know is how to get a next and previous button for the next or previous record in a record multi query, using the initially selected employee as intial pointer.

    Is their an easy way to build this using functionailty of integrated APEX, or will it require programming to reach this requirement?

    Just realized that I didn't fully answer your question. According to the number of employees, you can create a collection to contain all the information and who travels with buttons. Or you could include a calculation to transmit the current employee, previous and next to your second page using the standard apex_application.gf01... GFN see the creation process to get the id of current line
    Keep smiling,
    Bob R

  • Numbering... must be an easier way?

    I am currently a little project for a farming business producing cards numbered from potatoes that are used to differentiate the stocks of pallets.

    These maps are very basic black text with a number (previously identified using a rotary machine to number morgana, post press) the problem is with these rotary dialers numbers are small and faded, so I would like to print these numbers numerically, to keep their big and clear to read. The rest of the text on sheets is printed digitally so I was hoping just to add each card number and print in a single pass.

    So... my question... is there at - it an easier way in indesign manually type each number in the required box, I have 4500 card number, so I'm looking for the most effective way to do it.

    I'm using Adobe CS4 on an imac G5 10.6.4.

    Using the data merge you implemented page tempalte with independent text blocks, not threaded and put all the labels on the page (it will be a single record by merger of the page). Each record contains the same quantity of numbers as there are labels on the sheet. It's up to you how arrange you these numbers.

    I like to set up a spreadsheet for the numbering. For example, if you need 240 labels 8 poses, this equals 30 sheets. This means that you need a matrix on the spreadsheet of 30 rows and 8 columns. INTHE first column number down from 1 to 30, in the second of 31 to 60. and so on. Excel can autofill times columns and lines, so if you type 1, 2, 3 in the fisrt one column, Excel can fill the rest of the way to 30 just by dragging them. Do the same thing for the second column, select the two columns and drag to the right to fill the rest of the table (Excel needs of sufficient data to establish the pattern, but can then do all of the table at the same time). Add a new line at the top after filling to contain the field names for the data fusion and export to .csv. Use the file .csv as source for the merge, drag a field label in each image numbers and perform the merge. Your labels will be stacked in the order after the cut.

    The key to this method is the calculation to get the correct number of lines to manage the total number.

  • transfer bookmarks of a 8 year old PowerBook G4 for a MacBook Pro - is - it an easy way?

    You just bought a MacBook Pro - used an old PowerBook G4 for 8 years. I'm setting up of my MacBook and would like to transfer my favorites in an easier way than going to each site Web and bookmarks. Can I use the article on synchronization between computers, firefox settings? If so, part 1 talks about game upward on my main computer - consider my MacBook Pro is NOW my main computer... or there at - it an easier way to do it?

    Hi milkbone,

    If you have decided to move to the new computer and don't use the old one, I'd take a glance article back up and restore the information contained in the Firefox profiles and restore bookmarks from a backup or move them to another computer .

    If you are still using the old one or if you using sync would be easier to transfer your data, you must enable Firefox Sync on your OLD computer first. Then you could sync all bookmarks to your new computer. After that, you can remove your old computer from synchronization if you do not use it.

    Hope this helps!

  • How to record data using a while loop?

    Hello

    I created a .vi I try to use to record several channels of data. I have implemented the user must be able to record data until the "STOP" button is pressed, then the data is saved in a spreadsheet file.

    Question No. 1: How to allow the user to store an indefinite amount of data?

    If you run the .vi as is, you will see that you are only able to collect 100 points, and registration takes place during Ms. I want to collect about 5 minutes worth of data and have a sampling frequency of 1 kHz.                 Any suggestions?

    Question 2: How can I change the worksheet file extension? Let's say I want than to save it as a .csv file?

    Thanks in advance for any pointers or suggestions!

    I have not looked at your code, but only based on your description I would implement a producer/consumer to save your data.  You must acquire your data in a loop (the producer) and send to your loop of logging (the consumer) using a queue.  Yes, you must save the data, then that is acquired.  In this way, you do not have to worry about storage who knows how much data in RAM.  It's just the disk as soon as he can.

    You can save the file with whatever the desired extension.  If you want it to be a CSV file, then do the extension a .csv.

  • Is there an easy way to filter a 2D table based on the values in two fields?

    Y at - it an easy way to filter a 2D table based on the values of one of the fields. In my attached VI the output array has the following format:

    Ident Frame Type bytes TimeStamp data

    10:57:07.621 3AD00016 POUVEZ 8 0000000000000000 data frame

    10:57:07.622 3AD00017 CAN data frame 8 000005E000000000

    10:57:07.624 3AD00018 POUVEZ 8 0000000003300000 data frame

    10:57:07.625 2DC00000 POUVEZ 8 0000000000000000 data frame

    10:57:07.626 3AD00019 POUVEZ 4 0000030000000000 data frame

    I would like to delete all lines that do not have an "Ident" between the values of 3AD00000 and 3AD0001E. So for the data above the fourth row would be removed. The only way I can see to do this is to form a 1 d table. Is there a better approach?

    Thank you.

    Hi chuck72352,

    After you've sorted your data, you can use the function InRange. Combined with a "search in 1 table D", you get the range you really want.

    Mike

  • Y at - it an easy way to access the "Ax Files.

    Original title: Ax files

    Is there a easy way to access the "AX FILES" or a free download that can be available?  If there is that no need of them wishes to delete their.  I am running WINDOWS 7 HOME PREMIUM.  It seems downloads, but don't know who his are sure.

    I'm sorry, I accidentally did typo and wrote that windows media player supports, I've corrected the sentence in my response. These types of files are essentially the plugin files, used to play videos on the internet, and the best player is QuickTime player.

    No, Disk Defragmenter is a tool that rearranges the data on your volume and brings together fragmented data so that your computer can run more efficiently.

  • Easy way to set up the trial and purchase

    Is there an easy way or one ti library implement a trial and buy the license model?

    Best regards

    Levion

    Have you considered to build this in your application?

    1. Setting up a digital good representative "buy" as the user can buy to unlock all the features of your application.
    2. Record a timestamp in memory when the user installs or opens the first app.
    3. If 'buy' digital has been purchasing, always check at the start of the application.  If it's not, and if the timestamp is greater than X length of time (e.g. 5 days or 1 month), then display a prompt asking you to buy access to the rest of the content.

    Something like that?

  • There must be an easier way to get these to plug and play

    I have attempted to put in place all the computers in my work so that they can take advantage of Microsoft Voice Recogbition and I use the Andrea Electronics USB USB sound card - MY and had recently several computers in my issues of experience at work with the USB - MY does not automatically installed on Windows 7 machines. When they connect, they get an error message saying: it has not been installed successfully, and it is not visible in the menu of recording devices. I have also a computer tries to use the USB adapter - MY with a motherboard ASUS Sabretooth X 79, and not only would not recognize it correctly the system, but would not start with the card installed in one of the USB ports. I know that these situations are very difficult to resolve because of the number of variables involved.

    I tried a number of things, such as uninstalling and reinstalling the driver, force to install the driver from different USB ports, hubs, etc., MS update catalog, but the only thing that seems to work is to uninstall the Generic USB hub and the hub root USB, and then restart the system.

    I might add that this issue was raised with other products as well USB, like a Bluetooth adapter and a wireless mouse. Is this something new? Everyone is having similar problems? Is there a simpler solution? Is this something that Microsoft should continue the investigation?

    No indication as to how or why this happens, or an easier way to fix it would be greatly appreciated.

    Thank you

    Joe

    Hey Joe,

    The question you posted would be better suited in the TechNet Forums; We recommend that you post your question in the TechNet Forums to get help:

    http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

  • Is there an easy way to merge the two databases?

    I would like to know if there is an easy way to merge two data from a single database?

    The two databases are generated on different machines with different data (no duplicates).


    Thank you!



    Mark

    It is possible that the db_dump and db_load utilities can be used here.   They are documented in the BDB C API reference manual.      Basic process would be to empty the database on a system, move the files to the other system can use db_load and load it into the existing db.    Since there is no duplicate, this process should work for you.

    Thank you

    Mike

  • An easy way to get the IP address of a VMware Player running?

    Hey guys, need some help to get the IP address of a VMware Player running in windows & linux. An easy way? I search on google. I saw someone said how to limit the selection of the IP address, but this isn't what I want. I want to get the IP address of a VMware Player running in windows & linux. Thank you.

    Hi Badboy,

    Welcome to the forums.

    VMware Player has no IP address, but the guest inside the VM systems have not one.

    If your virtual machines based on the internal DHCP server of the player, for example if they are bridge now or NAT network, then on Windows, you should find information useful in the %ALLUSERSPROFILE%\Application Data\VMware\vmnetdhcp.leases. There is such a file on Linux.

    Good luck.

    Concerning

    Franck

Maybe you are looking for