Saving Arrays to one Array, Arrays zusammenfassen

Hallo,
I have two arrays, f.e. "1 2 3 4 5" and "6 7 8 9 0", an I want to save them in one array like:
1 6
2 7
3 8
4 9
5 0
(two values in one line seperated by tab)
The "Build array" vi gives the following output:
" 1 2 3 4 5 6 7 8 9 0"
inkluding the strange Symbol "[]" (a square) and no linebreak. How can I handle this? I attached my original output.
Arno
PS: LabVIEW 7, answers in german, english or dutch
Attachments:
substract_ausgabe.txt ‏15 KB

OK, try this. It will only work if you are using numerics. Modify the %15e as required for your type of numbers.
Dave.
==============================================
David Kaufman
LabVIEW Certified Developer
==============================================
Attachments:
Tab_Array.vi ‏28 KB

Similar Messages

  • Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Hi, I have answered no to the question about saving password for one spesific site. I have changed my mind and would like Firefox to save the password. How do I reactivate the password saver for one spesific site?

    Check exception list of your Firefox password Manager and check if your site is there or not?
    * http://kb.mozillazine.org/User_name_and_password_not_remembered#Password_Manager_settings

  • HT1473 I was loading the new operating system to my 4s iphone I had to remove my music to have enough space I clicked on the box that said sync music to computer and remove from phone. The only music saved was the ones bought on itunes where did the other

    I was loading the new operating system to my 4s iphone
    I had to remove my music to have enough space
    I clicked on the box that said sync music to computer and remove from phone.
    The only music saved was the ones bought on itunes where did the others go
    This is a new imac

    For music that you've purchased from Apple that are on your iPhone you should be able to copy to your computer's iTunes via File > Transfer Purchases. Also if you are in the US then you should be able to re-download past music purchases for free : http://support.apple.com/kb/HT2519
    For your own music that you've copied, then if you haven't got a backup on, for example, external drives or CDs/DVDs then you could see if any of the utilities mentioned in this old post still exist and work

  • Saving array data from a waveform chart

    I am using a CRIO 9004 and a 9237 bridge module to measure some strains from strain gauges. I've got one timed loop that reads the DMA FIFO and puts the arrays of values (16 data points, 4 per channel) into a queue. In the consumer timed  loop a For loop scales the binary data, auto indexes it into arrays, then the arrays are merged into a 2D array for the four channels  displayed on a waveform chart . Everytime the consumer loop runs it indexes 4 data points (per channel) yet the waveform chart plots them in a consecutive manner and doesn't overwrite the previous four. If I convert the arrays to waveform arrays I don't see anything on the waveform chart.
    If I pass the 2D array of data to a array indicator inside or outside the consumer loop I get only 16 data points. I want to save the information that appears on the waveform chart  after the consumer loop but because I'm not using waveform data type I can't use the write waveforms to file vi. The waveform chart history buffer has been set to 195360.
    Idealy we will run the four channels for 120 seconds charting the data and saving the data. The minimum data rate is 1613kS/s (403 per channel) The data can be saved after the loops have finished gathering and processing or while they are running. I noticed when I tried to write to TDMS it slowed the consumer down. Same thing if I use a shift register with the volume of data.
    I suspect I'm not sending data to the chart in the correct manner ( usualy takes two attempts to "clear chart" using shortcut menu).  I'm not too familiar with timed loops /producer consumer loops  and just tried to put something together based on examples.
    I've attached my host vi and front panel screenshot.

    Hope they appear attached this time.
    Attachments:
    Basic DMA (Host).vi ‏444 KB
    screenshot2.jpg ‏113 KB

  • Possible bug: Saving array with extended and double precision to spreadshee​t

    If one concatenates a double precision array and an extended precision array with the "build array" vi and then saves using "Write to Spreadsheet File" vi any digits to the right of the decimal place are set to zero in the saved file. This happens regardless of the format signifier input (e.g. %.10f) to the  "Write to Spreadsheet File" vi.
    I am on Vista Ultimate 32 bit and labview 9.0
    This is a possible bug that is easily circumvented by converting to one type before combining arrar to a spreadsheet. Nonetheless, it is a bug and it cost me some time.
    Solved!
    Go to Solution.
    Attachments:
    Spreadsheet save bug.vi ‏9 KB

    Hi JL,
    no, it's not a bug - it's a feature
    Well, if you would look more closely you would recognize the "Save to Spreadsheet" as polymorphic VI. As this polymorphic VI doesn't support EXT numbers internally (it only supports DBL, I64 and String) LabVIEW chooses the instance with most accuracy: I64 (I64 has 64 bits precision, DBL only 53...). So your options are:
    - set the instance to use as DBL (by right-click and "Select type...")
    - make a copy of this VI, save it with a different name and make it support EXT numbers (don't rework the polymorphic VI as you would break compatibility with other LV installations or future revisions)
    And yes, those coercion dots always signal some conversions - you should atleast check what's going on there...
    Message Edited by GerdW on 05-21-2010 10:01 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Saving Arrays to database???

    Hi! I'am new on Jsp and I want to save values that the user add into a combobox. I Have a Save_action.jsp that executes when the user click on the submit button. So I want the array values to be saved into the database + be updated. Here is the problem area in Sava_action.jsp
    <%
         String update="";
         Long aCustomerId = aCustomerSession.getCustomer().getCustomerId();
         String[] aIPAddressAllow = request.getParameterValues("IPAddressAllow");
         String[] aEmailAllow = request.getParameterValues("emailAllow");
         String atruncuationMode = request.getParameter("truncuationMode");
         String aoriginatorTemplate = request.getParameter("originatorTemplate");
         String amessageTemplate = request.getParameter("messageTemplate");
         String areceiptActive = request.getParameter("receiptActive");
         String arecipientInMailSubject = request.getParameter("recipientInMailSubject");
         ResultSet aResultSet;
         ICDatabase aDatabase = new ICDatabase();
         //Here is my problem??? What shell I write??
         for (int i = 0; i < aIPAddressAllow.length; i++) {
              if (aIPAddressAllow != null)
    for (int l = 0; l < aEmailAllow.length; l++) {
              if (aEmailAllow != null)
         update = "UPDATE tM2SMSSettings Set IPAddressAllow='" + aIPAddressAllow[0] +"', emailAllow='" + aEmailAllow[0] +"', truncuationMode='" + atruncuationMode +"', originatorTemplate='" + aoriginatorTemplate +"' ,messageTemplate='" + amessageTemplate +"' , receiptActive=" + areceiptActive +", recipientInMailSubject=" + arecipientInMailSubject +" WHERE customerId=" + aCustomerSession.getCustomer().getCustomerId();
         aResultSet = aDatabase.sql(update);
    response.sendRedirect(response.encodeRedirectURL("customerm2sms.jsp"));
    %>

    this is a way but if i see it correctly for each ip adress you'll be adding the emailadresses...
    if that is what you need, then just put the for integer in th array (i for ip and l for email).
    greetings

  • Saving Arrays

    I am trying to create an two data arrays and display them on my front panel as I aquire them over time. I do not know why, but neither array appears to be saving the values that I expect and neither are displaying correctly....
    The first array is simply an index of stage positions and the second is the data aquired at each position. For the "Last Scan" display, it shows my data once and then does not update, and for my averaged array for the averaged data over time, it never shows anything.
    Additionally, my array that is saved at the end is all zeros for my data, despite the fact that I know that the program is reading non-zero data points.
    Any advice would be greatly appreciated.
    Solved!
    Go to Solution.

    I cannot test without your gear, but there are a couple of simple beginners mistakes:
    Realtime monitoring:
    Dataflow problem. The loop conditions will never change once the loop runs. The control terminal needs to be in the innermost loop.
    Saving problem:
    You have an uninitialized shift register, meaning it starts out as an empty array. Adding an array to an empty array will always result in an empty array, because the shorter array "wins". LAter building the 2D array will pad with zeroes. You need to initialize the shift register with an aray of the proper size. You could multiply the array output from the preceeding loop by zero and wire from the outside of the shift regsiter.
    There are probably other problems, I have not studied the code in detail. For example the larger sequence structure has no purpose. The innermost while loop should be a FOR loop, etc.
    LabVIEW Champion . Do more with less code and in less time .

  • Saving arrays in file and read it back

    I am planning to save some data that been insert by user and save it . Then try read it back using data from the user... I' m still having problem to save the array of data...
    Attachments:
    gui1.3.vi ‏331 KB

    Hi,
    Take a look at the example I have attached. I think you are trying to continuously write out waveform data to a spreadsheet and append a column header information related to that waveform information.
    Note that in this example, opening and closing the file is occuring outside of the loop where the data acquisition is occuring. This allows for a HUGE performance gain as opening/closing a file will take >80% of your computer's resources. The Write/Read LabVIEW Measurement File is doing just this: opening/closing a file every time you call it inside the loop. Try tweaking the example attached and hopefully it will work much better in your application.
    Thanks and have a great day!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    Continuous_Write_to_Speadsheet_File_with_Row_and_Column_Headers.zip ‏22 KB

  • Saving array of images to gif animation

    Hi, i have a program that generates x images and i want to save these images into one gif file, and then show the file to the user as an animation. I know how to save individual files, but i'm not sure how to do this.
    i appreciate any hints, tips, or you could even show me a plugin that i can figure out...
    thanks

    You won't write gif images into a single animated file with any of the core java libraries. If you do a google on 'java gif animation' you can get a few links to some free and some trial+pay libraries to help you out.
    If all you want to do is show an animation to the user you don't have to create a gif to do that, make animations in java is easy...
    If a file is what you want though make sure you research LZW, the patents may still hold up in some areas.. most places they don't.

  • Apple PLEASE Read This!  When using Grab, why does Saving only allow ONE Format...Tiff?

    It would be nice for Apple's Grab program to offer multiple formats for saving.  I understand why they offer only Tiff but when I have a problem and I need to grab part of the screen or even the whole window, most Discussions require jpg or png formats.  It takes too much time to save in Tiff, go to the save file location and open the file using Preview, and then saving the file in another format that I need for my own purpose.  WHAT A WASTE OF MY TIME!
    I could use the Print option and first I may need to use Scale  to fit the image on one sheet in stead of 4-6 pages (can be 25% scale for a one page screen save), and then open the PDF drop down button, choose "Open PDF in Preview", preview the image, and if it looks ok, I save as a PDF file.  I could then open the PDF file in Preview and save the image in another format depending on my need.  WHAT A WASTE OF MY TIME!
    I am surprised that, in a Search of the forums, no one has brought this up.
    Apple save us a bunch of time and give us other save formats!  PLEASE!
    Others please chime in and maybe Apple will get the message.
    Remember, "The squeaky wheel, gets the grease"
    Andy

    Keep in mind that many (if not most) non-techies will never memorize (let alone use) a 3-key sequence when they have a handy-dandy utility that makes so much sense to them.  Grab does fill a very useful gap for the vast majority of Mac users - why make it so unfriendly in this regard?
    Wow, you should re-think that one. I think the opposite to be true.
    And, if you use a free 3rd party app, i.e. TinkerTool, you can not only change the file format for screen capture, but also the default location for the files.
    I think that most people think of Grab as dinosaur software.

  • Saving data in one file instead of many

    Hi. I'm trying to save cursor values so that I can plot them on a graph later on. I've managed to do this, but instead of saving just one file I seem to be saving the same number of files as there are cursors. All the files are exactly the same and contain the data exactly how I want it, but I just want one of them. I'm automatically saving the data when the stop button is pressed in my program and I don't really want to create another button to save the values if I don't have to. Does anyone know how I can solve this?
    Thanks in advance.
    Attachments:
    Labview help.JPG ‏67 KB

    Click on the Write To Measurement File vi.  I believe (without seeing your settings) that in the Action Box you have "Save To series of files (multiple files)" selected rather that "Save to one file".
    -Matt
    -Matt Bradley
    ************ kudos always appreciated, but only when deserved **************************

  • Complete record is saving just in one (1st / A) cell of XL!

    Hello
    I have created a upload program, where in some custom master data will be uploaded from a input spread sheet into a custom table in SAP, pls. note this upload prog. is scheduled as back ground prog.
    Here the input XL file saved in app server (one system is UNIX and another is Windows), from where my upload prog reads the data by using OPEN DATASET FOR INPUT sysmtax, well
    Well, now I am trying to write error log,
    1) into user's H drive (bcz user don't hv authorization to write any thing to C drive), by using FM of 'SAP_CONVERT_TO_XLS_FORMAT' but am getting CONVERSION_ERROR, pls. let me know is it bcz of that as am running the prog as back ground prog. and trying to save error log user's in H drive ? or any other reason?
    2) Then, I switched to writing the error log in XL file back again in to another file in the same app server, by using OPEN DATASET FOR OUTPUT, but when we opened this XL file in APP server, we are seeing all the record in 'A' cell, I mean, all the text/record is saving in one cell i.e. 1st cell of XL
    Pls. let me know does the OPEN DATASET FOR OUTPUT saves the record in 1st cell of XL? if so, how fix my issue?
    Thank you

    Please share your code.
    Regards

  • Premiere Elements -Saving part of one hour video

    Imported from only VHS home movies into Premiere Elements 8 a one hour video. I would like to just flag a specific segments, such as minutes 4-8 and export that to a new avi file. After that I might want to export minutes 12-20, etc.
    To date I have been cutting and deleting everyting except what I want to save, saving that file, then importing the original file back into premiere and cutting and deleting everything except for what I want on the next file.
    Seems like way back when, I was able to save various segments of an open file, but not sure.
    Any help would be appreciated. Tried to ask adobe when searching for answers about Premiere 8 crashing so much, no problems with 7, but they refered me to Adobe.TV, where I did not find any answers. Maybe in tutorial, but not able to find it.
    Thanks in advance for any help

    Here's a look at the WAB (Work Area Bar), and how it's set. Note: this is from PrE 4, but should be the same in all recent versions.
    Hope that this helps,
    Hunt

  • Saved Passwords disappearing one-by-one, FF 5.0

    Since upgrading to Firefox 5.0, '''some''' of my stored passwords are disappearing. Earlier this morning I logged into a webmail site where I have more than one account (with saved password). Later, I went to log on to another account on the site, and I noticed the username/password used earlier, were no longer in the list. I checked in 'Tools - Options - Saved Passwords', and that entry was gone. This has happened to multiple passwords to multiple sites. How can I prevent my passwords disappearing?

    -> go to Tools Menu -> Options -> Privacy -> History section -> '''Firefox will: select "Use Custom Settings for History"''' -> REMOVE Checkmark from '''"Permanent Private Browsing mode"''' -> place CHECKMARKS on:
    1) Remember my Browsing History 2) Remember Download History 3) Remember Search History 4) Accept Cookies from sites -> click '''Exceptions...''' button -> click '''Remove All Sites''' at the bottom of "Exception - Cookies" window
    4a) Accept Third-party Cookies -> under "Keep Until" select "They Expire" -> click '''Show Cookies''' button -> select the Cookies you want to Delete and click '''Remove Cookies''' -> click '''Close''' button
    -> REMOVE CHECKMARK from CLEAR HISTORY WHEN FIREFOX CLOSES
    -> '''When using the Location Bar, suggest: select History and Bookmarks'''
    -> Click OK on Options window
    Check and tell if its working.

  • HT4859 I have 2 phones saved on iCloud, one is old phone and other is new. How do I restore my old phone data from iCloud to my new one?

    I have 2 phones saved on iCloud storage, one is old phone and other is my new one. How do I restore my old phone data from iCloud storage to my new one?
    It shows like 4.3GB is stored on my old and 105.9MB on my new. I want to restore the 4.3 to my new, how do I do that please?

    Welcome to the Apple community.
    You will need to restore your phone and when prompted use the backup that you made yesterday.
    Before you do so, you may wish to change your wife's iCloud login details, otherwise you may find that you then overwrite her data. She should have her own iCloud account to avoid this.

Maybe you are looking for

  • Archived LOG data  - SLG1

    Hi All, I have one issue on LOG data. I have to fetch archived log data with external id By SLG1, we can get log data. But i need to develop this scenario in logically in program. We can find the records (EXTERNAL ID) is archived or not with FM  BAL_

  • Registering a 65w power supply? Where? How?

    Just had not one but TWO G4 17'" powerbook power supplies go dead on me within the span of two weeks. The first one shorted out totally and left charred plastic and burn marks right where the cord the plugs into the computer meets the power brick. Ho

  • N80 firmware upgrade product code

    I HAVE READ YOU BOARD RE PRODUCT CODE VARIANTS. VODAFONE ASSURE ME THAT THEY HAVE PROVIDED NOKIA WITH THEIR VARIANT?? MY N80 PRODUCT CODE IS 0535066 CAN YOU HELP MANY THANKS AGAIN FOR YOUR ASSISTANCE

  • Inconsistent display of tracks per artwork item?

    I imported two songs from an album into iTunes. I gave them both the same artwork, marked their track numbers (like 10/25) correctly, and marked them both as 'part of a compilation'. When I browse music with the artwork column expanded, each track is

  • Upload Failed error while uploading Role

    Hello Everyone, I am uploading a role using the following data in the Identity management Import file. I have also checked the "Override Existing data" file checkbox. [Role] rid=pcd:portal_content/uk.bc.BGSM_BUSINESS_CONTINUITY/uk.bc.BGSM_CSA rdesc=B