How can I save 3 of 1D arrays into excel file neatly? VI file is attached. Thanks...

I have 3 of the 1D arrays. When I combine them, I get 1 very long column in excel. Instead I want to have three columns of shorter arrays. I attached the vi. Besides, is there any way I can write on the 1st row of the same excel file.
Attachments:
Ali_PID_Control_Loop_10_formula_frontpanel.vi ‏132 KB

There's more than one way to "combine" arrays.
Look at the BUILD ARRAY function.
If you wire three arrays to three inputs, you have a choice of outputs:
You can CONCATENATE the inputs, in which case the output is a longer 1-D array.
If you DON'T concatenate them, the output is a 2-D array, which sounds like what you want.
You will probably want to TRANSPOSE the 2-D ARRAY, as this will give you three columns of N rows. Without transposing, you get three rows of N columns.
If the original arrays are not equal length, they will be padded with zeroes.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • How can i save the output array of the invoke node "commands values" into a specific file

    I must save the setup of vi commands'. I use an invoke node called "command value" wich give me an array with the name of the specific command and his value. How can i save this array into a specific file to load it later if o need. Must i change the array format?
    Thank you

    Hi,
    I have attached two VIs.
    The first one "Ecriture fichier tableau" (writer) permits to collect all control's values in an array (dbl) and to save it as .bin file. You had to convert variant type into dbl type. (You can do the same with string type if you wish. You will save datas as .txt file for example)
    The second VI "Lecture tableau fichier" (reader) permits to retrieve all the datas you saved in the file.
    I think this responds to your question.
    Regards,
    Attachments:
    Control values.zip ‏26 KB

  • How can i download dynamic alv report into excel  ?

    when i create dynamic alv report and try to download it
    to my pc ( to excel file ) the data is not set in the
    write position , also i get message in the excel
    "Dynamic List Display " .
    how can i set the data like the alv display ?

    ALV has standard download functionality to Excel. Aren't you able to use this functionality? Have you written your own custom code for DOWNLOAD?

  • How can I convert a U32 array into binary string?

    Hi
    I would like to find an efficient way to convert an array of 8192 U32 into a single binary string!!!
    the solution below  last 550 ms on an RT target to convert 8192 U32.
    The same code running on Labview (not RT) last 100ms. I don't understand why there is such a difference.
    I've tryed to replace the inner loop and convert by a format string whith U32 on entry and %032b as parameter but it lasted same time.
    Thanks a lot

    Your picture of your code didn't come through. You can't link to a picture that's on your computer, as a server on the internet cannot access your computer to display the picture for others to see. You have to upload the picture as an attachment. Then, if you want to actually display the picture in the message you have to edit your post, insert a picture, and when it asks for the URL you enter the URL of the picture. You can get the URL when viewing the message, as the link is within the message itself.
    As for your question, can you just use the TypeCast function?

  • How can I place a photo (*.jpg) into an email directly, not as an attachment?

    I want to sent a photo by placing it directly into the "text" box of an email, rather than attaching it to the email. Can I do that? How?

    Firefox does not do email, that would be another application and you didn't mention what that email application is.

  • How can I export a freeze frame into a JPG or Tiff file?

    I would like to export a freeze frame from my Final Cut Ten  timeline onto my desktop for transfer. I'm not sure how to do this. It was a lot easier to do in Final Cut Express. Any help please?

    Now it's added into the preferences. Put the playhead over the clip you want. Then go to the Share button and you'll see Save Current Frame

  • How can I extract all URL's into a list from 'mm_report' file?

    I've Googled this with no luck; I have a 'mm_report' in xml format. It contains a lot of text that also includes approx 800 URL links I need to extract these URLs into a separate list. I've tried using a regular expression: href=\"([^\"]+)  in 'Find and Replace' which successfully highlights the links but now need to know how to reverse this process so it deletes [strips] all surrounding text & only leaves me with a list of all URL's in this file.
    Any advise, much appreciated.

    Hi Hans,
    here's an edited version to show just 3 links:
    <?xml version="1.0" standalone="yes" ?>
    <mm_report>
              <mm_reportname>          ResultsReport.xml</mm_reportname>
              <mm_reportdate>12/08/11 21:29:33</mm_reportdate>
              <mm_reportlocation>E:\\bond\</mm_reportlocation>
              <mm_reportitem>
                        <mm_file>www.mywebsite.com\1.html</mm_file>
                        <mm_displaystr><![CDATA[ <A HREF="javascript:openWindow('http://www.mywebsite.com/1.jpg',630,630)"><IMG...]]></mm_displaystr>
                        <mm_data mm_rangemin="23240" mm_rangemax="23342" mm_filename="E:\mywebsite.html" mm_replaced="false" mm_matchedtextdirty="false" />
              </mm_reportitem>
              <mm_reportitem>
                        <mm_file>www.mywebsite.com\2.html</mm_file>
                        <mm_displaystr><![CDATA[ <A HREF="javascript:openWindow('http://www.mywebsite.com/2.jpg',630,630)"><IMG...]]></mm_displaystr>
                        <mm_data mm_rangemin="23240" mm_rangemax="23342" mm_filename="E:\mywebsite.html" mm_replaced="false" mm_matchedtextdirty="false" />
              </mm_reportitem>
              <mm_reportitem>
                        <mm_file>www.mywebsite.com\3.html</mm_file>
                        <mm_displaystr><![CDATA[ <A HREF="javascript:openWindow('http://www.mywebsite.com/3.jpg',630,630)"><IMG...]]></mm_displaystr>
                        <mm_data mm_rangemin="23240" mm_rangemax="23342" mm_filename="E:\mywebsite.html" mm_replaced="false" mm_matchedtextdirty="false" />
              </mm_reportitem>
              <mm_reportitem>
                        <mm_file>www.mywebsite.com\4.html</mm_file>
                        <mm_displaystr><![CDATA[ <A HREF="javascript:openWindow('http://www.mywebsite.com/4.jpg',630,630)"><IMG...]]></mm_displaystr>
                        <mm_data mm_rangemin="23240" mm_rangemax="23342" mm_filename="E:\mywebsite.html" mm_replaced="false" mm_matchedtextdirty="false" />
              </mm_reportitem>
    </mm_report>
    I would like this to return just:
    http://www.mywebsite.com/1.jpg
    http://www.mywebsite.com/2.jpg
    http://www.mywebsite.com/3.jpg
    Thanks.

  • How can i save the data's which  i have entered into the table (webdynpro)

    Hi,
    I have created one view in that username , password fields and one button are there .
    While clicking on the button how can i save that data's into the table which i have created??
    Where i want to write the code??
    please help me...
    Thanks
    Shyja

    hi,
         in component controller create a method save, on that read the node that containing the user name and password into itab using the code wizard.now write code to insert itab to the dbtable of ur choice. save the method and activate .
    now go to ur view, create  a button.. on action of that call the method in the comp_controller.
    Regards
    Sarath
    Message was edited by:
            sarath satheesan

  • How can I save my Pages brochure as a PDF?

    how can I save my Pages brochure as a PDF?

    Menu > File > Export > PDF
    or
    Menu > Print > PDF > Save as PDF…
    Like everywhere else on the Mac.
    Peter

  • How can I save my data and the date,the time into the same file when I run this VI at different times?

    I use a translation stage for the experiment.For each user in the lab the stage position (to start an experiment) is different.I defined one end of the stage as zero. I want to save the position , date and time of the stage with respect to zero.I want all these in one file, nd everytime I run it it should save to the same file, like this:
    2/12/03 16:04 13567
    2/13/03 10:15 35678
    So I will track the position from day to day.If naybody helps, I appreciate it.Thanks.

    evolution wrote in message news:<[email protected]>...
    > How can I save my data and the date,the time into the same file when
    > I run this VI at different times?
    >
    > I use a translation stage for the experiment.For each user in the lab
    > the stage position (to start an experiment) is different.I defined one
    > end of the stage as zero. I want to save the position , date and time
    > of the stage with respect to zero.I want all these in one file, nd
    > everytime I run it it should save to the same file, like this:
    > 2/12/03 16:04 13567
    > 2/13/03 10:15 35678
    >
    > So I will track the position from day to day.If naybody helps, I
    > appreciate it.Thanks.
    Hi,
    I know the function "write to spreadsheet file.vi"
    can append the data
    to file. You can use the "concatenate strings" to display the date,
    time as well as data... Hope this help.
    Regards,
    celery

  • How can I save multiple Iphones into Itunes?

    How can I save multiple Iphones into Itunes as independent devises? In the way we have it now they are sinking into each other.

    How to use multiple iPods, iPads, or iPhones with one computer

  • I imported an hour of video into iMovie HD and cut it down to a 33 sec clip, and emptied the trash.  When I save the project, the file size is 20Gb.  How can I save just the 33 sec clip?

    I imported an hour of video into iMovie HD and cut it down to a 33 sec clip, and emptied the trash.  When I save the project, the file size is 20Gb.  How can I save just the 33 sec clip?

    Non-destructive editing is an important feature of iMovie HD 6.
    iMovie preserves the entire copy of every clip you place into your movie in case you change your mind at a later stage.
    So, if you have cut out one minute from a 45 minute clip, iMovie will have stored two complete copies of that clip. This is why is helps to set import as 3-5 minute clips rather than one huge chunk. As DV runs at 13GB per hour your project files can get very big.
    One workaround is to complete the editing of a section of the movie, then export that to Quicktime: highlight the clip/s, choose Share-Quicktime, turn on Share selected clips only, and choose Full Quality from the pop-ip menu.
    Once you have saved the stand-alone clip to your hard drive, you can re-import it into your project using the File/Import command, and delete the original long clip/s from the project.

  • How can I save adobe reader file from gmail into my adobe reader app?? i would like to open one file in place where I'm not able to access internet and for that reason i would like to save it. is that even possible?

    How can i save adobe reader file from my gmail into my adobe reader application. or is there any other way i can save it into my phone so I'm able to open in any situation not just from my gmail???

    Long hold on the document in mail and it should give you the open in... option, select adobe reader and the file is now saved locally for viewing even while offline.

  • How can I save a region of an image into another image?

    How can I save a region of an image into another image? Should I use JAI?
    Java2d? Is there an example?
    Thank you.

    Here is what I try, but I find out I just get a black square for my output image, can you please tell me what am I missing?
              ImageIcon file=new ImageIcon("images/clouds.jpg"); // You can't open bmp files
                   // width, height looks correct:
                   System.out.println (" width" + file.getIconWidth());
                   System.out.println (" height" + file.getIconHeight());
                   BufferedImage bi = new BufferedImage(file.getIconWidth(), file.getIconHeight(),
                   BufferedImage.TYPE_INT_RGB);
                   int x = 0;
                   int y = 0;
                   BufferedImage subimage = bi.getSubimage(x, y, 40, 40);
                   File outputFile = new File("newimage.png");
                   ImageIO.write(subimage, "png", outputFile);

  • How can i save a pages doc from my macbook air into include

    how can i save a pages doc from my macbook air into include

    For about the 20th time, iWork for OS X, at this time, isn't iCloud aware.
    Look at :
    http://support.apple.com/kb/HT4942
    Yvan KOENIG (VALLAURIS, France)  mardi 22 janvier 2011 10:52:50
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • How can i save the values of output waveform in array ?

    hi
    how can i save the values of  output waveform in array ?

     how can i save the values of  output waveform in array ?
    the program is attachment bellow
    Attachments:
    closed loop transfer fn+fuzzy.vi ‏28 KB

Maybe you are looking for