Creating an 3D array and exporting it to excel

I'm trying to create a spreadsheet file that will have three columns of data. So far, I've been only successful in getting two columns. I tried to look for examples but I could only find examples that had single-floating point numbers, not strings.
I've been sucessful in writing strings to an Excel worksheet, now I just need to find a way to take every other data point in the second column and give it it's own column.
To aid in solving the problem, I've attached the excel file that the VI wrote to as well as the VI itself.
Attachments:
temp ‏1 KB
DAC_and_53131_Analysis3.vi ‏92 KB

UPDATE: I have found another problem with my code. Seems like that the frequency string I'm writing is sorted by a column while the 1/2 voltage increments are in a row. I'm trying to fix it so that the frequencies would be in a row of their own. Any input would be greatly appreciated.
Attached is a sample output file of the problem.
Attachments:
Frequency_Problem.txt ‏1 KB

Similar Messages

  • Unable to create any files under '/' and /export/home as root user

    Dear Forum,
    Please help me on this problem.
    In my server I cant create any files under / and /export/home . But I can save files under /var, /tmp ,/opt
    #cd /
    #touch tempfile
    touch: tempfile cannot create
    #cd /export/
    # ls -lp
    total 2
    drwxr-xr-x   9 root     root         512 Oct 20 11:09 home/
    # cd home
    # touch testfile
    touch: testfile cannot create
    # id
    uid=0(root) gid=0(root)
    # df -kh
    Filesystem             size   used  avail capacity  Mounted on
    /dev/md/dsk/d0         9.9G   5.5G   4.2G    57%    /
    /devices                 0K     0K     0K     0%    /devices
    ctfs                     0K     0K     0K     0%    /system/contract
    proc                     0K     0K     0K     0%    /proc
    mnttab                   0K     0K     0K     0%    /etc/mnttab
    swap                    22G   1.2M    22G     1%    /etc/svc/volatile
    objfs                    0K     0K     0K     0%    /system/object
    /dev/md/dsk/d3         9.9G   6.8G   3.0G    70%    /usr
    /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1
                           9.9G   5.5G   4.2G    57%    /platform/sun4u-us3/lib/libc_psr.so.1
    /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1
                           9.9G   5.5G   4.2G    57%    /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1
    fd                       0K     0K     0K     0%    /dev/fd
    /dev/md/dsk/d5         7.9G   2.5G   5.3G    33%    /var
    swap                    22G   400K    22G     1%    /tmp
    swap                    22G    48K    22G     1%    /var/run
    /dev/md/dsk/d4          20G   4.7G    15G    25%    /opt
    /dev/md/dsk/d6          63G    36G    26G    58%    /data
    # more /etc/vfstab
    #device         device          mount           FS      fsck    mount   mount
    #to mount       to fsck         point           type    pass    at boot options
    fd      -       /dev/fd fd      -       no      -
    /proc   -       /proc   proc    -       no      -
    /dev/md/dsk/d1  -       -       swap    -       no      -
    /dev/md/dsk/d0  /dev/md/rdsk/d0 /       ufs     1       no      -
    /dev/md/dsk/d3  /dev/md/rdsk/d3 /usr    ufs     1       no      -
    /dev/md/dsk/d5  /dev/md/rdsk/d5 /var    ufs     1       no      -
    /dev/md/dsk/d6  /dev/md/rdsk/d6 /data   ufs     2       yes     -
    /dev/md/dsk/d4  /dev/md/rdsk/d4 /opt    ufs     2       yes     -
    #10.183.103.11:/backup  -       /backup nfs     -       yes     rw
    /devices        -       /devices        devfs   -       no      -
    ctfs    -       /system/contract        ctfs    -       no      -
    objfs   -       /system/object  objfs   -       no      -
    swap    -       /tmp    tmpfs   -       yes     -
    10.183.103.11:/nfs_backup/NCMDB1 - /rman_backup nfs 0 yes rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768
    Regards,

    Please have the output of /etc/mnttab
    /dev/md/dsk/d0  / ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540000 1382602314
    /devices /devices        devfs dev=5400000     1382602306
    ctfs /system/contract ctfs    dev=5440001     1382602306
    proc    /proc proc    dev=5480000     1382602306
    mnttab  /etc/mnttab mntfs   dev=54c0001     1382602306
    swap /etc/svc/volatile       tmpfs xattr,dev=5500001       1382602306
    objfs   /system/object  objfs dev=5540001     1382602306
    /dev/md/dsk/d3  /usr ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540003 1382602315
    /platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap2.so.1 /platform/sun4u-us3/lib/libc_psr.so.1   lofs dev=1540000     1382602313
    /platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap2.so.1 /platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 lofs    dev=1540000     1382602313
    fd      /dev/fd fd      rw,dev=5700001  1382602315
    /dev/md/dsk/d5  /var ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540005 1382602315
    swap    /tmp tmpfs   xattr,dev=5500002 1382602315
    swap /var/run        tmpfs xattr,dev=5500003       1382602315
    /dev/md/dsk/d4  /opt ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540004 1382602318
    /dev/md/dsk/d6  /data ufs rw,intr,largefiles,logging,xattr,onerror=panic,dev=1540006 1382602318
    -hosts  /net    autofs nosuid,indirect,ignore,nobrowse,dev=57c0001     1382602321
    auto_home /home   autofs  indirect,ignore,nobrowse,dev=57c0002 1382602321
    NCM1:vold(pid393) /vol    nfs ignore,noquota,dev=5780001      1382602322

  • Creating dynamic sized arrays and filling them automatically on speedy 33

    hi all,
    I am trying to create dynamic sized arrays on Speedy-33. Specifically, depending on the user input, I want to be able to create
    arrays with 128 or 256 elements and fill them automatically. However,
    array constant element is fixed for Speedy 33; thus I have to manually set the
    size of the array with the mouse and enter the values in to the array by
    myself. I want to make this tedious process automatic. Would this be possible? thanks so much for comments!
    ~casiopea

    Casiopea,
    There is a really great article on using arrays with LabVIEW DSC which can be found here:
    How Can I Be Successful With Arrays In the LabVIEW DSP Module?
    One of the biggest things that should be noted about DSP is that there is no dynamic memory allocation.  Your array size must be fixed, and thus, your array needs to be initialized by using a constant. 
    An easy way to initialize an array constant that has many elements that are all the same is to simply create a numeric constant that has the value that you want.  Then, create a new blank array constant and drag the numeric into it.  In the index input for the array constant, type in the index of the last element that you want to be initialized.  Then type in the value in the element that is displayed and all of the elements before it will be initialized to the default value of the numeric constant that you dropped into the array constant.  I hope this helps.  I would really recommend reading through that article, as it has a lot of great information about using arrays with DSC.
    Brian Coalson
    Software Engineer
    National Instruments

  • Error message using SQL import and Export Wizard with Excel spread sheet

    I am trying to import an Excel spreadsheet using the Import export wizard that is provided with SQL 2014.  
    Everything seems to set up OK but then when I go to do the transfer "error message" comes up saying:
    External Table is not in the expected format.(Microsoft Jet Database Engine).   
    This is a spreadsheet and there is no database, that is why I want to import it into a database!!  So the reference to JET is a tad disappointing.
    So why the error and how do I fix the problem?
    As there are over 100 variables in the spread sheet rows, it would be great to have this automatically create the database and populate the fields.
    I am using SQL 2014  Express and Office Excel 2013.
    Thank you in  advance for taking the time to read this, and hopefully sheading some light on the issue.

    Hi AWlcurrent,
    When import a .xlsx file to SQL Server using SQL Server Import and Export Wizard, you see a “External Table is not in the expected format.(Microsoft Jet Database Engine).” error message. This error message seems that the Microsoft JET Database Engine is
    unable to handle something that is contained in the file.
    So please make sure there is no unsupported content in the Excel file. Alternatively, we can use ‘Microsoft Excel’ as the Data Source, then Select ‘Microsoft Excel 2007’ as the Excel version to import the excel file.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    If you have any feedback on our support, please click
    here.
    Katherine Xiong
    TechNet Community Support

  • Insert an image in header and export to PDF/Excel WAD

    Hi experts!
    I'm trying to create a Web template for one of my queries with the WAD.
    I've added a table at the top, containing a logo and One custom text. Below that table, I've added a CONTAINER_LAYOUT_ITEM, and in this element, I've added different item, like BUTTON_GROUP_ITEM, INFO_FIELD_ITEM, NAVIGATION_PANE_ITEM and ANALISYS_ITEM, related with one query.
    One of the buttons I've created one with the action EXPORT but in the Data Binding secction, only the items (BUTTON_GROUP_ITEM, INFO_FIELD_ITEM, NAVIGATION_PANE_ITEM and ANALISYS_ITEM) are shown. So I can't select the table I've created for the export.
    I've tried to put the table in one CONTAINER_ITEM, and the select it in the export command, but it doesn't work.
    Does anybody any idea about how to inlcude the logo and the Title in the PDF or Excel export??
    Thanks in advance for your help
    Best regards,

    When you post code, please use[code] and [/code] tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    I'm confused, you are returning a GIF, not a PDF in the code below, but you are telling the client you are returning a JPEG.
    Graphics2D.drawImage
    ImageIO.read

  • How to i write a script that makes multiple selections in a pdf and exports them to excel?

    I have a large number of PDFs
    Not all the PDFs contain information we need. We want to be able to automate a script that extracts certain info from the PDFs and opens them in a certain format in excel.
    Acrobat allows me to make a single selection and export as excel.
    How do i export multiple parts to excel from the pdfs and ensure that the resulting excel is in a format that i can use without much fixing needed (e.g. merged cells)?

    This type of process can't really be done using JavaScript. You would need to read the contents of the file, word by word, decide (based on some logic) what data to extract, and then collect it and at the end export to a plain-text file. Not a simple process...

  • I'm using LR 4.4.  How do I extract the metadata from my images and export it into Excel?

    I want to extract the metadata I have added to my images and export it into an Excel spreadsheet.  Can this be done within LR4.4?  If the software doesn't have a function for this is there another way to do it?
    Thanks for any help you can offer.

    JB's ListView is the most straight-forward solution, but
    ConfidentialInformant
    allows for full customization (e.g. if you want to pick and choose custom metadata fields, or export more fields than ListView supports (10), or tweak data formats, or add intelligence...).
    Rob

  • Using an array within an array, and exporting to CSV

    I am gathering data about an AD user, including group membership and I want to output that to a CSV. Easy enough right? Not so much :) I am successfully generating 2 arrays, one has user data and the 2nd has group membership, but it's not exporting properly
    to CSV. I've tried the -notypeinformation but it's still showing up.
    My code is below, followed by contents of CSV file in text format.
    cls
    #declare array to use
    $user_main = @()
    $arrGroups = @()
    $user = Get-ADUser -Filter {samaccountname -eq "MyUserName"} -Properties *
    $temp_user.Name = $user.Name
    $temp_user.SAMname = $user.SamAccountName
    $temp_user.lastpwchange = $user.PasswordLastSet
    $temp_user.lastlogon = $user.LastLogonDate
    #get group membership
    $groups = $user.memberof
    foreach ($group in $groups)
    $temp1 = $group.Split(",")
    $group_name = $temp1[0].Substring(3, $temp1[0].Length -3)
    #$arrGroups += New-Object -TypeName psobject -Property $temp
    $arrGroups += $group_name
    $user_main += New-Object -TypeName psobject -Property $temp_user
    #$user_main | select * | Format-Table
    #$arrGroups
    $new = $user_main + $arrGroups
    Export-Csv -InputObject $new -Path c:\test\test.txt -NoTypeInformation -Encoding "utf8"
    Write-Host ""
    Write-Host "Done"
    The resulting text file contains:
    "Count","Length","LongLength","Rank","SyncRoot","IsReadOnly","IsFixedSize","IsSynchronized"
    "45","45","45","1","System.Object[]","False","True","False"
    So I have 2 issues. One is the "export-csv -notype" isn't working quite right, not sure why. And secondly, you can see the System.Object[] entry, which I believe is my array of groups. I need that to display the names of the groups the user belongs
    to.
    Any help is greatly appreciated!

    Hi Robert,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help,
    please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards
    Anna
    TechNet Community Support

  • Create dll with arrays and call it

    I am trying to create dll with labview in order to pass a 2d array to the main program. The problem is that I don't really know how to create the function to call it (I don't know much about pointers)
    The function I have created to call the dll is void Untitled1(TD1Hdl *Array1) which is suposse to return the array created on it.
    For example, in the program attached, how should I do to pass the array to another program using dlls?
    Thanks a lot,
    Juanlu
    Attachments:
    Untitled 1.vi ‏7 KB

    The code you've provided doesn't do anything (just a control wired to an indicator) so I'm not sure what you're asking here.
    If I understand correctly, you want to build a DLL from your LabVIEW VI.  From what language will you call that DLL?  There is no standard way to pass a 2-D array.  If you can convert to a 1-D array, you can use a simple pointer.  With a 2-D array, you're stuck with LabVIEW's array representation (the TD1Hdl type), which means that whatever code calls that function will need to understand the LabVIEW data type and how to manipulate it.

  • Need help creating custom .swf skin and exporting for use

    Please, can anyone help...
    I am currently working on a projects that needs to have a custom flash skin player.
    I have tried copying and editing excisting skins, but when I export the swf and fla into the crrect folders, I am able to select it from the skin list- however it doesn;t show in the player.
    Am I exporting/publishing this in the correct way and to the right folders?
    If anyone can give me a tip of how to achieve this that would be great, or a link to somewhere that may have the infor I'd be happy,
    Cheers
    Cliff

    Hi,
    Do you mean skinning FLVPlayback palyer?
    Warm Regards
    Deepanjan Das
    http://deepanjandas.wordpress.com/

  • Creating websites in photoshop and export to dreamweaver

    Ok. I NEED HELP!!! I tend to create complex designs in
    photoshop, and I can never get my images to line up correctly in
    Dreamweaver. I had sliced each image in photoshop, and saved them
    as HTML and Images, I open it up in dreamweaver, and none of my
    buttons work. I have also tried creating tables in a layout, but it
    never lays out the way I want it to. If anyone knows how to do this
    and create complex designs as well, please give me a hint on how to
    do it. I been having a hard time for a while and I am about to go
    to this program that does all of that for me while in photoshop.
    Also, if anyone heard of Site Grinder 2 (a site builder that
    works with photoshop and helps you create webpages)? It seems
    interesting, but I want to make sure I do not spend unecessary
    money.
    PLEASE HELP!!!

    > Also, if anyone heard of Site Grinder 2 (a site builder
    that works with
    > photoshop and helps you create webpages)? It seems
    interesting, but I want
    > to
    > make sure I do not spend unecessary money.
    I think it's worth your time. It's a nice product. If you
    have no
    intention or interest in learning HTML and CSS, it's about
    the only way to
    create stable webpages....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "creativ_mind" <[email protected]> wrote in
    message
    news:fsg66v$hna$[email protected]..
    > Ok. I NEED HELP!!! I tend to create complex designs in
    photoshop, and I
    > can
    > never get my images to line up correctly in Dreamweaver.
    I had sliced each
    > image in photoshop, and saved them as HTML and Images, I
    open it up in
    > dreamweaver, and none of my buttons work. I have also
    tried creating
    > tables in
    > a layout, but it never lays out the way I want it to. If
    anyone knows how
    > to do
    > this and create complex designs as well, please give me
    a hint on how to
    > do it.
    > I been having a hard time for a while and I am about to
    go to this program
    > that
    > does all of that for me while in photoshop.
    >
    > Also, if anyone heard of Site Grinder 2 (a site builder
    that works with
    > photoshop and helps you create webpages)? It seems
    interesting, but I want
    > to
    > make sure I do not spend unecessary money.
    >
    > PLEASE HELP!!!
    >

  • Overprint issue with file created in ID CS2 and exported to PDF

    I created some banners in ID CS2. Sent them out to get printed. They came back today. One of them is all screwed up. Out of 6 banners which are all very similar, only one is messed up. I called today and the printer said that that one file has overprint turned on. I dont see any over print turned on in InDesign or when I open the PDF in Acrobat and turn Overprint Preview on and off, it shows no difference. They said they opened the PDF in Illustrator to do this and that it's showing overprint turned on in there... WTF? They are reprinting the banner but making us pay for shipping... any thoughts?
    Chris

    Never trust a printer that is opening PDF's in Illustrator. I'm always amazed when I hear of printers that do this.
    With the file that stuffed up you did have overprinting turned on for the coloured text at the bottom as well. This wouldn't have caused a problem though because there is nothing underneath it.
    The rest of the file is fine. Overprinting was only turned on for the black stroke around the "demonstrations" text as it should be not the inside fill.
    I can tell you the file goes through my rips fine, but then again I'm not doing anything stupid like opening it in Illustrator first.

  • Creating a transparent background and exporting as flash

    I have been reading about the "Green Screen" and "Blue Screen" functions on my TRIAL version of Adobe Elements 8 and am not sure whether I am able to do what I want to do with the program and thus, am not convinced I should buy it.
    I want to record a video of myself in front of a green screen, clear the background, save the recording as a flash that can be incorporated in my home page.  The goal being to have the flash media load up a second or two after someone comes into my websight.  It would play for a predetermined length (15 seconds) and then you would have the option to click on "me" to be linked to more recorded sequences, charts, pictures, statistics etc..
    Is it possible to do this in  Premiere Elements?

    In PrE 4, there was no Flash w/ Alpha Channel, like there is in PrPro. Check with your version and the Advanced Settings. You want Alpha Channel.
    Good luck,
    Hunt
    PS - welcome to the forum.

  • How to run SQL and export results to Excel

    My task is to run a custom SQL script and create Excel file via running SQL Developer from command line (invoked by a scheduled script). Is this possible using SQL Developer?
    The thing I'm trying first is to run a user-defined report in SQL Developer and save the results to an Excel file. Only 16000 result rows, but took 10 minutes to do the export and still cannot finish. Is there another way to do it?
    Many thanks.

    Thanks K for the update.
    I have done csv files before using pl/sql, no problem at all. It's just that in current work environment, we're using a 3rd party tool to make the Excels and I was asked to study the feasibility of using SQL Developer instead of our current commercial tool to do the job.

  • NaN and Export Issue in Excel

    Hi
    I have an Issue that I need to calculate value on below condition 
    ((ReportItems!txtPayaClick.Value/ReportItems!txtPayExpLH.Value)-1)*100.
    But Above give me errorthat is showing  "NaN" as an Result.
    Then I used;=IIF(ReportItems!txtPayExpLH.Value=0,0,((ReportItems!txtPayaClick.Value/ReportItems!txtPayExpLH.Value)-1)*100)
    This Time when I Export the report in excel Format It gives me same error (NaN) .
    Kindly help me .
    Thanks

    Hello,
    The issue is due to the IIF function always evaluates both the true part and the false part, even though it returns only one of them. This means both the true part and the false part need to be evaluated.
    In order to resolve the issue, please refer to the following expression:
    =IIF(ReportItems!txtPayExpLH.Value=0,0,
    ((ReportItems!txtPayaClick.Value/IIF(ReportItems!txtPayExpLH.Value=0,1, ReportItems!txtPayExpLH.Value))-1)*100)
    Alternatively, we can use following custom code to work around the issue:
    Public Function Divider (ByVal Dividend As Double, ByVal Divisor As Double)
    If IsNothing(Divisor) Or Divisor = 0
    Return 0
    Else
    Return Dividend/Divisor
    End If
    End Function
    Then, use following expression:
    =Code.Divider(ReportItems!txtPayaClick.Value, ReportItems!txtPayExpLH.Value)
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

Maybe you are looking for

  • Creating Stakeholder in SRM

    Hi All, I have 2 questions regarding to SRM: 1. I tried to create a stakeholder in the system. Everything looks fine until I tried to change the data. The system always gives me an error message: “Stakeholder does not exist” even though the date is s

  • F110 and F-53

    I m using FB60 for invoicing vendor. We have F-53 and f110 to pay vendors. I want to know what is the difference between these two and if i have to give some amount as an advance then which t code i should use. Replies will be appreciated.

  • Networking with Windows Security Issues

    Hey guys. I'm new to the Mac world so please consider me Mactarded when you reply. I'm pretty competent with windows and have successfully shared files between my PC and my mac. The issue is this. When I attempt to connect to the shared files on my P

  • Why does Adobe Flash Player 11.9 keep installing over and over on Windows Internet Explorer?

    I am having a problem with Adobe Flash Player 11.9. When I visit a site that uses Adobe Flash Player (i.e. NBC News.com) the system keeps asking me to install Adobe Flash Player 11.9. However, Adobe Flash Player 11.9 is ALREADY installed on my system

  • Business place in fast entry screen

    hi, how to include business place in fast entry screen? Can any one suggest me on this. govind.